通达信指标缠论的中枢提示指标主图同花顺贴图

2015-12-24 15:19:00来源:本站整理浏览:557

走强1:=BARSLAST(PL5<REF(PL5,1));
走弱1:=BARSLAST(PL5>REF(PL5,1));
走强2:=BARSLAST(PL10<REF(PL10,1));
走弱2:=BARSLAST(PL10>REF(PL10,1));
走强3:=BARSLAST(PL20<REF(PL20,1));
走弱3:=BARSLAST(PL20>REF(PL20,1));
 ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
 ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
 DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);
 DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);
 ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
 ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
 DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
 DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);
 DRAWTEXT(EN2 AND DTJZ10=1,L*0.93,"[类二买]"),COLORFFFFFF;
 DRAWTEXT(EN3 AND ZTJZ10=1,L*0.95,"[一买]"),COLORFF00FF;
 DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.05,"[二卖]"),LINETHICK2,COLORFFFF00;
 DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.95,"[二买]"),LINETHICK2,COLORFFFF00;
 DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.04,"[一卖]"),LINETHICK3,COLOR00FF00;
 {DRAWTEXTABS(620,-55,"历史最高价:"+HHV(HIGH,0)),COLORFF00FF;
 DRAWTEXTABS(620,-37,"历史最低价:"+LLV(LOW,0)),COLORAFFF00;
 DRAWTEXTABS(750,-55,"20日最高价:"+HHV(HIGH,20)),COLORRED;
 DRAWTEXTABS(750,-37,"20日最低价:"+LLV(LOW,20)),COLORAFFF00;};
MA5:MA(CLOSE,5),COLORWHITE,LINETHICK1;
MA10:MA(CLOSE,10),COLORLIMAGENTA,LINETHICK1;

上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式