通达信波段,顶底,背离,顶底背离主图做波段佳品
2017-05-10 09:14:00来源:本站整理浏览:424
TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND
CLOSE>REF(HIGH,3),1,0)));
突破:=TJ2=1;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(立桩量)),REF(HIGH,BARSLAST(立桩量)),1,0),COLORCYAN;
STICKLINE(CLOSE,REF(LOW,BARSLAST(立桩量)),REF(LOW,BARSLAST(立桩量)),1,0),COLORYELLOW;
TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND
CLOSE>REF(LOW,3),1,0)));
三天法则:=TJ3=1;
成立:=三天法则 AND 突破;
条件成立:=FILTER(成立,3);
DRAWTEXT(条件成立,L*0.99,'成立'),COLORYELLOW;
VAR21:=EMA(CLOSE,5);
VAR22:=EMA(CLOSE,5);
VAR23:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
DRAWTEXT(CROSS(VAR22,VAR23),LOW*0.96,'B');
- 上一篇公式:通达信成交量,不错的成交量指标公式
- 下一篇公式:通达信最牛分时图(分时主图 副图源码贴图)