请高手帮把这个通达信公式改写成主力线上穿散户线的预警选股公式,谢谢!

2024-12-15 06:58:04
推荐回答(1个)
回答1:

M:=60;N:=30;
散户线:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;
主力线:=EMA(J,6);
XG:CROSS(主力线,散户线);