猴王出世(大智慧)
<p>Var1:=MA(CLOSE,5);<br />Var2:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;<br />
Var3:=SMA(Var2,5,1);<br />
Var4:=REF(CLOSE,1);<br />
Var5:=SMA(MAX(CLOSE-Var4,0),8,1)/SMA(ABS(CLOSE-Var4),8,1)*100;<br />
Var6:=SMA(MAX(CLOSE-Var4,0),21,1)/SMA(ABS(CLOSE-Var4),21,1)*100;<br />
花果山:if(100-Var3<20 AND Var6<25,Var3+15,32.86),stick,linethick1,colorf00ff0;<br />
山顶:if(100-Var3<30,Var3+5,32.86),stick ,linethick3, COLORRED;<br />
山腰:if(100-Var3<50,Var3,32.86),stick ,linethick3, COLORGREEN;<br />
山脚:if(100-Var3<50,Var3-15,32.86),stick ,linethick3, COLORYELLOW;<br />
水帘洞: if(Var5<40 AND Var6<50 AND Var3>70,30,100-Var3),stick,linethick3,COLORWHITE;<br />
猴王:100-Var3;<br />
猴王出世:STICKLINE(水帘洞>猴王,水帘洞,猴王,6,0),COLORRED;<br />
猴王出世1: CROSS(Var5,10) AND CROSS(Var6,20)*125;<br />
猴王出世2: CROSS(猴王,10)*125;<br />
DRAWICON(猴王出世1=125,130,1);</p>
<p></p>
<p> </p>
页:
[1]