波段王指标 (源码)
2011-07-21 09:08:00来源:本站整理浏览:665
aa:=(2*C+H+L)/4;
bb:=REF(aa,1);
cc:=SMA(MAX(aa-bb,0),5,1)/SMA(ABS(aa-bb),5,1)*100;
dd:=SMA(MAX(aa-bb,0),30,1)/SMA(ABS(aa-bb),30,1)*100;
天气预报:=cc-dd;
A:=IF(天气预报>0,天气预报,0);
B:=IF(天气预报<0,天气预报,0);
A1:=EMA(A,15);
B1:=EMA(B,15);
v1:=CROSS(a,a1);
v2:=CROSS(a1,a);
v3:=CROSS(b,b1);
v4:=CROSS(b1,b);
艳阳照:IF(a>=a1,100,0),COLORSTICK;
雨初歇:IF(CROSS(b,b1) OR(b>=b1 AND BARSLAST(v3)<=BARSLAST(v1)
AND BARSLAST(v3)<=BARSLAST(v2) AND BARSLAST(v3)<=BARSLAST(v4) AND a<=a1),-50,0),COLORSTICK;
晴转云:IF(CROSS(a1,a) OR(a1>=a AND BARSLAST(v2)<=BARSLAST(v4)
AND BARSLAST(v2)<=BARSLAST(v1) AND BARSLAST(v2)<=BARSLAST(v3)AND b>=b1),50,0),colormagenta;
雨绵绵:IF(b<=b1 ,-100,0),STICK;
- 上一篇公式:红绿灯指标 (源码)
- 下一篇公式:福林先知指标 (源码)