ihzx 发表于 2021-8-21 14:02:40

所见过最美副图也与大家共享(大智慧)

<p>DRAWTEXTABS(0,0,'桂林晚景');<br />
空仓区:0,POINTDOT,COLORRED;<br />
持股区:0,POINTDOT,COLORGREEN;<br />
变盘点:0,POINTDOT,COLORYELLOW;<br />
桂林山水甲天下:-0.05,COLORGREEN,POINTDOT;<br />
股市峰谷任逍遥:0.05,COLORFFFF00,POINTDOT;<br />
A:=(3*c+l+o+h)/6;<br />
DK:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)<br />
+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)<br />
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+<br />
ref(a,20))/210;<br />
VA1:=EMA(DK,3);<br />
VA2:=EMA(VA1,2);<br />
LA:=VA1-VA2;<br />
LB:=VA2-VA1;<br />
FILLRGN(LA&gt;LB,LA,0),COLOR339900;<br />
FILLRGN(LA&lt;LB,LB,0),COLOR555555;<br />
STICKLINE(LA&gt;LB,LB,0,1,0),COLOR559933;<br />
STICKLINE(LA&lt;LB,LA,0,1,0),COLORGRAY;<br />
DRAWICON(LA&gt;LB,0,11);<br />
DRAWICON(LA&lt;LB,0,10);<br />
DRAWICON(CROSS(LA,LB) OR CROSS(LB,LA),0,12);</p>
<p><br />
DIFF3:= EMA(CLOSE,7) - EMA(CLOSE,89);<br />
DEA3 := EMA(DIFF3,21);<br />
MACD3:= 2*(DIFF3-DEA3)*10;<br />
DIFF2:= EMA(CLOSE,5) - EMA(CLOSE,26);<br />
DEA2 := EMA(DIFF2,9);<br />
MACD2:= 2*(DIFF2-DEA2)*10;<br />
DIFF1:= EMA(CLOSE,3) - EMA(CLOSE,13);<br />
DEA1 := EMA(DIFF1,9);<br />
MACD1:= 2*(DIFF1-DEA1)*10;</p>
<p>漓江水:DRAWGBK(CLOSE&gt;0,strip(RGB(0,255,0),RGB(0,0,255),0)),colorf80606;<br />
VarA:=CROSS(ZIG(3,10),REF(ZIG(3,10),1));<br />
VarB:=CROSS(REF(ZIG(3,10),1),ZIG(3,10));<br />
VarC:=VarB;<br />
南归雁: DRAWTEXT(FILTER(VarC,2),hhv(h,480),'}}}}'),colorff00ff;<br />
VarD:=VarA;<br />
DRAWTEXT(FILTER(VarD,2),-abs(macd3)*1.18,'︼︼'),colorred;<br />
DRAWTEXT(FILTER(VarD,2) and dea3&lt;=0,-abs(macd3)*1.18,'︼︼'),colorred,linethick3;<br />
STICKLINE(FILTER(VarD,2),-abs(macd3)*1.18,-abs(macd3)+1,1,0),colorgreen;<br />
VarF:=(MONTH=1 or month=9) AND (DAY=7 OR DAY=8 OR DAY=9);<br />
打鱼船:DRAWTEXT(FILTER(VarF,3),abs(hhv(macd3,34))*1.30,'指标入画图,低吸又高抛,心如漓江水,意随山起伏。'),colorred;<br />
DRAWTEXT(FILTER(longcross(diff3,dea3,34) and dea3&lt;=0,34),llv(macd3,34)*1.2,'▲下网!'),colorgreen;<br />
FILLRGN(macd3&gt;=0,0,macd3),color009e3a;<br />
FILLRGN(macd3&lt;0,0,-macd3),color646464;<br />
FILLRGN(macd2&gt;=0,0,macd2),color007d19;<br />
FILLRGN(macd2&lt;0,0,-macd2),color555555;<br />
FILLRGN(macd1&gt;=0,0,macd1),color006400;<br />
FILLRGN(macd1&lt;0,0,-macd1),color414141;<br />
FILLRGN(macd3,0,-abs(macd3)*0.6),color232323;<br />
FILLRGN(macd1,0,-abs(macd1)*0.6),color0f0f0f;</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 所见过最美副图也与大家共享(大智慧)