ma5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
MA250:=MA(C,250);
低ZK:=REF(C,1)
低K:=O
高K:=C>MA5 AND C>MA10 AND H>MA20 AND H>MA30 AND H>MA60;
HSLZ:=V*10000/FINANCE(46);
穿多线:C>REF(C,1)*1.06 AND H<c+0.05 and="" (低k="" or="" 低zk)="" 高k="" v="">REF(V,1)*1.5 AND HSLZ>=5;
一阳穿5线过30:DRAWTEXT(crOSS(C,MA30) AND 穿多线,0.8,'一阳穿30'),COLORFF00FF;
一阳穿5线过60:DRAWTEXT(CROSS(C,MA60) AND 穿多线,0.5,'一阳穿60'),COLORLIMAGENTA;
LBQ:=BArslAst(一阳穿5线过30 OR 一阳穿5线过60);
止损价:REF(O-(O-C)*2/3,LBQ),NODRAW;
近离:=BETWEEN(L,止损价-0.1,止损价+0.1) OR BETWEEN(C,止损价-0.1,止损价+0.1) OR BETWEEN(O,止损价-0.1,止损价+0.1);
建仓:LBQ>3 AND FILTER(近离,5),COLORYELLOW;
DAY3:=REF(C<o,3);
DAY2:=REF(C<ref(c,1) and="" c<o,2);<br="">
DAY1:=REF(C<o,1);
三三一:DAY1 AND DAY2 AND DAY3 AND C>REF(C,1) AND C>O AND C>REF(O,2) AND C>MA(C,5),COLORRED;
标签:MA,0.1,60,一阳,通达信,源码,止损,REF From: https://www.cnblogs.com/zhibiao/p/17992820