我有一个指标,请帮我改写成条件选股公式,谢谢!!!

2024-12-13 08:57:35
推荐回答(2个)
回答1:

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
XG:CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
用这个公式选股就行,不过看起来准确率不太高哟

回答2:

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;