工作线:MA(C,30),LINETHICK2,colormagenta;
MA5:MA(C,5),LINETHICK2,colorwhite;
MA10:MA(C,10),LINETHICK2,colorgreen;
今日保护价:(REF(C,2)+REF(C,1)+O)/3,LINETHICK1,colorred;
明日心理价:(REF(C,2)+O+CLOSE*2-((HIGH+LOW)/2))/3,LINETHICK2,colorblue,NODRAW;
DRAWKLINE(H,O,L,C);
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),colorgreen;
STICKLINE("999999$OPEN">"999999$CLOSE" AND
OPEN<=CLOSE,O,C,0,0),coloryellow;
STICKLINE(涨停,OPEN,CLOSE,2,0),coloryellow;
C15:=C/MA(C,5)>1.12;
DRAWTEXT(C15,H*1.03,'卖!'),LINETHICK3,colorwhite;
C16:=MA(C,5)/C>1.12;
DRAWTEXT(C16,L*1.03,'?!'),LINETHICK3,colorwhite;
|