MA1:MA(CLOSE,5),COLORCYAN;
MA2:MA(CLOSE,10),COLORMAGENTA;
MA3:MA(CLOSE,20),COLORYELLOW,LINETHICK2;
MA4:MA(CLOSE,30),COLORLIBLUE;
MA5:MA(CLOSE,60),COLORRED;
MA6:MA(CLOSE,120),COLORWHITE;
MA7:MA(CLOSE,250),COLORLIRED,CIRCLEDOT;
{五线多头}
R:=MA3>MA4 AND MA4>MA5 AND MA5>MA6 AND MA6>MA7;
{六线多头}
S:=MA2>MA3 AND MA3>MA4 AND MA4>MA5 AND MA5>MA6 AND MA6>MA7;
{中到大阳}
T:=(C-REF(C,1))/REF(C,1)>0.03 AND C>=O;
{收盘价高于五日均线}
U:=C>MA(C,5);
{五天内的低位离现在的天数}
W:=BARSSINCEN(C<=MA1 AND C>MA4,5);
{五天内的低点离现在的天数}
X:=LLVBARS(L,5);
{十日内的高位离现在的天数}
Y:=BARSSINCEN(C>MA5 AND R,10);
{十天内的高点离现在的天数}
Z:=HHVBARS(H,10);
白马起跳:=MA1>REF(MA1,1) AND S AND T AND U AND (W>1 AND W<5) AND (X>1 AND X<5) AND REF((Y>2 AND Y<10),1) AND REF((Z>2 AND Z<10),1);
STICKLINE(FILTER(白马起跳,3),O,C,2,0),COLORYELLOW;
DRAWICON(白马起跳,L,1);