ihzx 发表于 2021-8-21 14:05:13

雾锁龙岗-汰弱持强抓主升(大智慧)

<p>MA5:MA(C,5);<br />
MA10:MA(C,10);<br />
MA20:MA(C,20);<br />
MA30:MA(C,30);<br />
ABB1:=(C-REF(C,1))/REF(C,1)*100;<br />
BB1:=BARSLAST( ABB1&gt;3);<br />
CC1:=IF(BB1&gt;0,1,0);<br />
O1:=IF(CC1=1 AND BB1=1,O,REF(O,BB1-1));<br />
H1:=IF(CC1=1 AND BB1=1,H,HHV(H,BB1));<br />
L1:=IF(CC1=1 AND BB1=1,L,LLV(L,BB1));<br />
C1:=IF(CC1=1 AND BB1=1,C,C);<br />
STICKLINE( CC1=1 AND C1&gt;O1,L ,L*0.95 ,8 ,0 ),COLORFF0000;<br />
STICKLINE( CC1=1 AND C1&lt; O1,H ,H*1.08 ,8 ,0 ),COLORgreen;<br />
STICKLINE( CC1=1 AND C1&gt;O1,L ,L*0.95 ,1 ,0 ),COLORFF0000;<br />
STICKLINE( CC1=1 AND C1&lt; O1,H ,H*1.08 ,1 ,0 ),COLORGREEN;<br />
STICKLINE( CC1=0 ,O ,C ,8 ,0 ),COLORred;<br />
STICKLINE( CC1=0 ,O ,C ,8 ,0 ),COLORred;<br />
DRAWTEXTABS(10,10,'【用法】红强进,蓝调整,绿色弱势快出货'),color00ffff;<br />
aBB1:=c/ref(c,1)&gt;=1.098;<br />
drawtext(aBB1=1, L*0.86,'涨停'),color00ffff;<br />
DRAWICON(CC1=0,L,1);</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 雾锁龙岗-汰弱持强抓主升(大智慧)