麻烦老师帮忙把下面同花顺指标改成选股公式 要求红线金叉绿线买入选中 万分感谢

2024-12-21 12:28:14
推荐回答(3个)
回答1:

Var1:=HHV(HIGH,25);
Var2:=LLV(LOW,25);
阻力线:=EMA((CLOSE-Var2)/(Var1-Var2)*100,20),colorgreen,Linethick1;
突破线:=EMA((CLOSE-Var2)/(Var1-Var2)*100,5),colorred, Linethick1;
操作线:=IF(CROSS(突破线,阻力线),20,0),colorred, Linethick1;
选股:操作线>=20;

回答2:

Var1:=HHV(HIGH,25);
Var2:=LLV(LOW,25);
阻力线:=EMA((CLOSE-Var2)/(Var1-Var2)*100,20);
突破线:= EMA((CLOSE-Var2)/(Var1-Var2)*100,5);
XG:CROSS(突破线,阻力线);
{已测试通过}

回答3:

VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
阻力线:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20),COLORGREEN,LINETHICK1;
突破线:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
XG:CROSS(突破线,阻力线);
{个人看法,仅供参考。}