MA2:=EMA(C,2);
MA5:EMA(C,5);
MA10:EMA(C,10);
MA30:EMA(C,30);
MA60:EMA(C,60);
YCX:=MA5 =REF(MA5,1);
H1:=MAX(MAX(MA5,MA10),MA30);
L1:=MIN(MIN(MA5,MA10),MA30);
一阳穿三线:= H1 C AND O L1 AND YCX AND MA2 REF(MA2,1);
STICKLINE(一阳穿三线,O,C,2,0),COLORYELLOW;
DRAWTEXT(一阳穿三线,L*0.99, '买入'),COLORGREEN;