云梯选股指标 (源码)
2012-11-16 09:05:00来源:本站整理浏览:281
P1:=20;P:=1.088;P2:=5;
VAR1D:=REF(INDEXC,1);
VAR2D:=SMA(MAX(INDEXC-VAR1D,0),6,1)/SMA(ABS(INDEXC-VAR1D),6,1)*100;
VAR3D:=COUNT(VAR2D<20,20)>=3 OR VAR2D<=1.088;
VAR4D:=VAR2D>=75 AND VAR2D<=90;
VAR5D:=VAR3D OR VAR4D;
VAR6D:=SUM(VOL/CAPITAL,0)/BARSCOUNT(CLOSE);
VAR7D:=VOL/(CAPITAL*VAR6D);
VAR8D:=MA(VAR7D,5);
VAR9D:=100*VAR6D;
VARA1:=VAR8D-VAR9D;
VARB1:=(HIGH+LOW)/2;
VARC1:=VOL/CAPITAL/SMA(VOL/CAPITAL,25,2);
VARD1:=MA(VARB1*VARC1,25);
云梯:IF(VAR3D AND CLOSE>=REF(CLOSE,1) AND INDEXC>=0.98*REF(INDEXC,1) AND CLOSE<=1.45*LLV(CLOSE,55) AND VARA1>0 AND VARD1>0,30,0),STICK,COLOR00FF00;
DRAWTEXT(云梯,25,'云梯'),COLORWHITE;
- 上一篇公式:炮弹选股指标 (源码)
- 下一篇公式:冲灵剑法选股指标 (源码)