MA5:MA(C,5),colorwhite;
MA10:MA(C,10),coloryellow;
MA20:MA(C,20),COLORFF00FF;
MA30:MA(C,30);
MA生命:MA(C,60),colorgreen;
五日乖离率:=(C-MA(C,5))/MA(C,5)*100;
BB05:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416;
红:IF(BB05>30 AND MA(C,5)>REF(MA(C,5),1),MA(C,5),DRAWNULL),colorred;
绿:IF(BB05<0 AND MA(C,5)<REF(MA(C,5),1),MA(C,5),DRAWNULL),colorgreen;
DRAWTEXT_FIX(1=1,0.70,0.24,0,'持币看大盘可进否? 买时:涨的概率大吗?价位筹码安全吗?'),colorred;
DRAWTEXT_FIX(1=1,0.70,0.27,0,'持票盯个股走坏否? 卖时:高平低各啥预案?'),colorred;
DRAWTEXT_FIX(1,0.12,0.10,0,'注意: 没有规律,只有概率!没有绝对,只有应对!没有交易就没有伤害!'),colorred;
DRAWTEXT_FIX(1,0.12,0.15,0,'底下还有底,顶上还有顶 →右侧交易,追涨杀跌'),colorgreen;
DRAWTEXT_FIX(1,0.12,0.20,0,'耐心等待→细心辨别→决心出击→狠心纠错'),colorgreen;
获利盘:WINNER(C)*100,COLOR8000FF,NODRAW;
红白界:(TAN(30*3.1416/180)/100+1)*(REF(C,1)+REF(C,2)+REF(C,3)+REF(C,4)+REF(C,5))-REF(C,1)-REF(C,2)-REF(C,3)-REF(C,4),NODRAW,COLORFFFFFF;
白绿界:(TAN(0*3.1416/180)/100+1)*(REF(C,1)+REF(C,2)+REF(C,3)+REF(C,4)+REF(C,5))-REF(C,1)-REF(C,2)-REF(C,3)-REF(C,4),NODRAW,COLOR80FFFF;
明强弱界:(TAN(30*3.1416/180)/100+1)*(C+REF(C,1)+REF(C,2)+REF(C,3)+REF(C,4))-REF(C,1)-REF(C,2)-REF(C,3)-C,NODRAW,COLORFFFFFF;
明白绿界:(TAN(0*3.1416/180)/100+1)*(C+REF(C,1)+REF(C,2)+REF(C,3)+REF(C,4))-REF(C,1)-REF(C,2)-REF(C,3)-C,NODRAW,COLOR80FFFF;
STICKLINE(ISLASTBAR=1,红白界,红白界,8,0),COLOR4080FF;
STICKLINE(ISLASTBAR=1,白绿界,白绿界,8,0),COLOR4080FF;
涨停:REF(C,1)*1.1,NODRAW;
STICKLINE(1=1 AND ISLASTBAR=1,REF(C,1)*1.1,REF(C,1)*1.1,3.9,0),colorred;
STICKLINE(1=1 AND ISLASTBAR=1,REF(C,1),REF(C,1),3.9,0),colorwhite;
跌停:REF(C,1)*0.9,NODRAW;
STICKLINE(1=1 AND ISLASTBAR=1,REF(C,1)*0.9,REF(C,1)*0.9,3.9,0),colorgreen;
明涨停:C*1.1,colorred,NODRAW;
明跌停:C*0.9,colorgreen,NODRAW;