网友求助:
N 1 100 50
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;
条件选股: 操作线,阻力线均在40以下,操作线上穿阻力线。
解答如下:
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;
select (阻力线 and 操作线)<40 and cross(操作线,阻力线);