请老师帮改个通达信选股公式:有2个输出条件怎么样改能满足以下条件(空格中间主力线要优化)
发布网友
发布时间:2022-10-17 13:07
我来回答
共1个回答
热心网友
时间:2023-10-30 16:47
N:=60;
M:=30;
散户线:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力线:=EMA(J,6);
走势:=CEILING(SMA(AA5,13,8));
XG:CROSS(走势,散户线)AND (走势)>(主力线);