把这个通讯达指标公式改成选股公式或者预警公式(注意:当红线和黄线同时上穿蓝线要交叉)多谢大家

2025-01-07 08:44:46
推荐回答(1个)
回答1:

N:=60;
M:=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);
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走势:=CEILING(SMA(AA5,13,8));
CROSS(主力线,散户线) AND CROSS(走势,散户线);