%>
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
ABB1:=(C-REF(C,1))/REF(C,1)*100;
BB1:=BARSLAST( ABB1>3);
CC1:=IF(BB1>0,1,0);
O1:=IF(CC1=1 AND BB1=1,O,REF(O,BB1-1));
H1:=IF(CC1=1 AND BB1=1,H,HHV(H,BB1));
L1:=IF(CC1=1 AND BB1=1,L,LLV(L,BB1));
C1:=IF(CC1=1 AND BB1=1,C,C);
STICKLINE( CC1=1 AND C1>O1,L ,L*0.95 ,8 ,0 ),COLORFF0000;
STICKLINE( CC1=1 AND C1< O1,H ,H*1.08 ,8 ,0 ),COLORgreen;
STICKLINE( CC1=1 AND C1>O1,L ,L*0.95 ,1 ,0 ),COLORFF0000;
STICKLINE( CC1=1 AND C1< O1,H ,H*1.08 ,1 ,0 ),COLORGREEN;
STICKLINE( CC1=0 ,O ,C ,8 ,0 ),COLORred;
STICKLINE( CC1=0 ,O ,C ,8 ,0 ),COLORred;
DRAWTEXTABS(10,10,'【用法】红强进,蓝调整,绿色弱势快出货'),color00ffff;
aBB1:=c/ref(c,1)>=1.098;
drawtext(aBB1=1, L*0.86,'涨停'),color00ffff;
DRAWICON(CC1=0,L,1);
{股票教程网-http://9188edu.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}