检测主力动向
2016-3-24 22:47:09点击:
A=ZIG(2,5);
fxdd=A>REF(A,1) AND REF(A,2)>REF(A,1);
gddz=IF(fxdd,REF(LOW,1),0);
支撑位:IF(gddz=0,REF(LOW,BARSLAST(fxdd)+1),REF(LOW,1));
zcw:IF(支撑位=REF(支撑位,1),支撑位,DRAWNULL);
B=ZIG(1,5);
fxgd=B<REF(B,1) AND REF(B,2)<REF(B,1);
ggdz=IF(fxgd,REF(HIGH,1),0);
压力位:IF(ggdz=0,REF(HIGH,BARSLAST(fxgd)+1),REF(HIGH,1));
ylw:IF(压力位=REF(压力位,1),压力位,DRAWNULL);
D=ZIG(3,5);
fxcd=D<REF(D,1) AND REF(D,2)<REF(D,1);
gcdz=IF(fxcd,REF(CLOSE,1),0);
止盈位:IF(gcdz=0,REF(CLOSE,BARSLAST(fxcd)+1),REF(CLOSE,1));
zyw:IF(止盈位=REF(止盈位,1),止盈位,DRAWNULL);
fxdd1=D>REF(D,1) AND REF(D,2)>REF(D,1);
gddz1=IF(fxdd1,REF(CLOSE,1),0);
止损位:IF(gddz1=0,REF(CLOSE,BARSLAST(fxdd1)+1),REF(CLOSE,1));
zsw:IF(止损位=REF(止损位,1),止损位,DRAWNULL);
VAR1:=MA(CLOSE,21);
FF:=VAR1>REF(VAR1,1);///www.88gs.com
PARTLINE(Var1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK2;
VAR1:MA(C,55),colorred;
上升:IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL),colorred,LINETHICK2;
下降:IF(VAR1<=REF(VAR1,1),VAR1,DRAWNULL),colorgreen,LINETHICK2;
- 上一篇:神奇抄底 (源码 副图 通达信 贴图) 2016/3/25
- 下一篇:趋势顶底先知 2016/3/24