MA5:MA(C,5),COLORWHITE;
MA10:MA(C,10),COLORYELLOW;
辅助1:EMA(C,7),COLORGREEN;
辅助2:EMA(C,19),COLORMAGENTA;
V6:=H/REF(L,3)>=1.05;
D涨停:=IF(C/REF(C,1)>1.01 AND V6 AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1
*FORCAST(V,5)),60,0),COLORYELLOW,LINETHICK2,STICK;
只D三天:=FILTER(D涨停,5)*80,COLORRED,LINETHICK1 ,STICK;
DRAWTEXT(D涨停=60,L*0.99,'涨'),COLORYELLOW;
DRAWTEXT(只D三天=80,H*1.01,'三天'),COLORRED;
{止损参考条件}
阴线:=O>C AND C<REF(C,1);
D错止损:=REF(H,1)*0.97;{盘中追涨D错参考值}
三日纪律:=EXISTR(D涨停,2,1) AND EXISTR(阴线,1,1) AND O<=REF(C,1);
止错提醒:DRAWNUMBER(三日纪律,H*1.02,'错止损'),COLORGREEN;