%>
工作线:MA(C,5),COLORWHITE,LINETHICK1;
角度:ATAN((工作线/REF(工作线,1)-1)*100)*180/3.1416,NODRAW;
BIAS:(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100,NODRAW;
操:MA(CLOSE,10),COLORYELLOW,LINETHICK1,NODRAW;
辅:MA(CLOSE,20),COLORMAGENTA,LINETHICK1,NODRAW;
命:MA(CLOSE,30),COLORGREEN,LINETHICK1,NODRAW;
决策线:MA(CLOSE,60),COLORRED,LINETHICK2;
半年线:MA(C,120),COLORGRAY,LINETHICK1;
涨:IF(工作线>REF(工作线,1),工作线,DRAWNULL),COLORLIMAGENTA,LINETHICK1;
平:IF(工作线=REF(工作线,1),工作线,DRAWNULL),COLOR00FFFF,LINETHICK1;
跌:IF(工作线<REF(工作线,1),工作线,DRAWNULL),COLORGREEN,LINETHICK1;
VAR5:=MA(CLOSE,5);
VAR10:=MA(CLOSE,10);
VAR20:=MA(CLOSE,20);
VAR30:=MA(CLOSE,30);
VAR60:=MA(CLOSE,60);
三上:C<VAR5 AND C<VAR10 AND C>VAR20 AND C>VAR30 AND C>VAR60,NODRAW;
STICKLINE(三上,OPEN,CLOSE,9,0),COLORBLUE;
四上:C<VAR5 AND C>VAR10 AND C>VAR20 AND C>VAR30 AND C>VAR60,NODRAW;
STICKLINE(四上,OPEN,CLOSE,9,0),COLORYELLOW;
五上:C>VAR5 AND C>VAR10 AND C>VAR20 AND C>VAR30 AND C>VAR60,NODRAW;
STICKLINE(五上,OPEN,CLOSE,9,0),COLORRED;
五多:C>VAR5 AND C>VAR10 AND C>VAR20 AND C>VAR30 AND C>VAR60 AND VAR5>VAR60 AND VAR10>VAR60 AND VAR20>VAR60 AND VAR30>VAR60,NODRAW;
STICKLINE(五多,OPEN,CLOSE,9,0),COLORRED;
涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),COLORBROWN;
五上涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0) AND C>VAR5 AND C>VAR10 AND C>VAR20 AND C>VAR30 AND C>VAR60,NODRAW;
STICKLINE(五上涨停,OPEN,CLOSE,9,0),COLORRED;
{股票教程网-http://ybwsoft.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}