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;
Var1:=HHV(HIGH,25);
Var2:=LLV(LOW,25);
阻力线:=EMA((CLOSE-Var2)/(Var1-Var2)*100,20);
突破线:= EMA((CLOSE-Var2)/(Var1-Var2)*100,5);
XG:CROSS(突破线,阻力线);
{已测试通过}
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(突破线,阻力线);
{个人看法,仅供参考。}