短线胜率超过70% 涨停过峰 通达信指标 源码 贴图
2018-07-09 09:39:00来源:本站整理浏览:497
短线胜率超过70% 涨停过峰 通达信指标 源码 贴图
XA_1:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_2:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND XA_1>=4.945;
XA_3:=HIGH=ZTPRICE(REF(CLOSE,1),0.1) OR XA_2;
XA_4:=CLOSE;
XA_5:=FILTER(BACKSET(FILTER(REF(XA_4,10)=HHV(XA_4,2*10+1),10),10+1),10);
XA_6:=FILTER(BACKSET(FILTER(REF(XA_4,10)=LLV(XA_4,2*10+1),10),10+1),10);
XA_7:=REF(CLOSE,BARSLAST(XA_5));
XA_8:=BARSLAST(XA_5)<BARSLAST(XA_6) AND NOT(XA_5);
XA_9:=IF(XA_8,XA_7,XA_7);
涨停过峰:CROSS(CLOSE,XA_9) AND XA_3 AND NOT(HIGH=LOW);