F1:=5;
G1:=8;
H1:=18;
I1:=55;
J1:=72;
K1:=103;
L1:=453;
S1:=999;
八字:EMA(SLOPE(CLOSE,30)*30+C,60),COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.99,'←买') , COLORRED;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.008,'←卖') ;
K2:=HHV(H,1);
FF:=EMA(CLOSE,2);
MA15:=EMA(CLOSE,4);
{DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'看'),COLORGREEN;}
M1:MA(CLOSE,F1),COLORYELLOW,LINETHICK1;
M2:MA(CLOSE,G1),COLORBROWN,LINETHICK1;
M3:MA(CLOSE,H1),COLORBLUE,LINETHICK1;
M4:MA(CLOSE,I1),COLORWHITE,LINETHICK1;
M5:MA(CLOSE,J1),COLORCYAN,LINETHICK2;
M6:MA(CLOSE,K1),COLORMAGENTA,LINETHICK2;
M7:MA(CLOSE,L1),COLORRED,LINETHICK3;
M8:MA(CLOSE,S1),COLORLIRED,LINETHICK3;
涨:IF(八字>REF(八字,1),八字,DRAWNULL),
COLORRED,LINETHICK2;
跌:IF(八字<REF(八字,1),八字,DRAWNULL),
COLORGREEN,LINETHICK2;
平:IF(八字=REF(八字,1),八字,DRAWNULL),
COLORYELLOW,LINETHICK2;