中秋就到了,源码分享一个指标给大家,精品出击-回追。指标只是辅助,具体交易要结合大盘和个股情况来看。
A1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
A2:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND A1>=4.945;
A3:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1) OR A2;
A4:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
A5:=DYNAINFO(5)<0.01 OR DYNAINFO(6)<0.01;
A6:=IF(A5,1,A4<DYNAINFO(5)+0.01 AND A4>DYNAINFO(6)-0.01);
A7:=IF(A6,0.01*EMA(AMOUNT,35)/EMA(VOL,35),EMA((HIGH+LOW+CLOSE)/3,35));
XG:=CROSS(CLOSE,MA(CLOSE,5)) AND MA(CLOSE,5)<A7 AND A3 AND NOT(CLOSE=OPEN) AND NOT(DYNAINFO(4)=0);
DRAWICON(XG,1.2,24);
STICKLINE(XG,1,0,2,0),COLORMAGENTA;