雾锁龙岗-汰弱持强抓主升(大智慧)
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);