大智慧寻找最佳买入点的指标公式
<p>QS:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);<br />PD:=SMA(QS,3,1);<br />
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;<br />
K:=SMA(RSV,3,1);<br />
D:=SMA(K,3,1);<br />
TYP:=(HIGH+LOW+CLOSE)/3;<br />
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));<br />
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);<br />
DEA:=EMA(DIFF,6);<br />
MACD:=2*(DIFF-DEA);<br />
ZD:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);<br />
LC:= REF(CLOSE,1);<br />
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;<br />
KVAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;<br />
KVAR2:=SMA(KVAR1,9,1)+100;<br />
KVAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;<br />
KVAR4:=SMA(KVAR3,3,1);<br />
KVAR5:=SMA(KVAR4,3,1)+100;<br />
KVAR6:=KVAR5-KVAR2;<br />
QS1:=IF(KVAR6>45,KVAR6-45,0);<br />
C<20 AND ZD=1 AND CROSS(QS,PD) AND QS1<10;</p>
<p></p>
<p> </p>
页:
[1]