多周期KDJ公式(飞狐)
<p>Var3:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;<br />K13:sMA(var3,3,1) ;<br />
D14:sMA(K13,3,1) ;<br />
Var31:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;<br />
K21:sMA(var31,3,1) ;<br />
D21:sMA(K21,3,1) ;<br />
Var34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;<br />
K34:sMA(var34,3,1);<br />
D34:sMA(K34,3,1) ;<br />
Var55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;<br />
K55:sMA(var55,3,1) ;<br />
D55:sMA(K55,3,1) ;<br />
20,colorwhite;<br />
80,colorwhite;<br />
DIBU:= K13<20 AND D14<20 AND K21<20 AND D21<20 AND K34<20 AND D34<20 AND K55<20 AND D55<20;<br />
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;<br />
TOBU:= K13>80 AND D14>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80;<br />
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;</p>
<p></p>
<p> </p>
页:
[1]