VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
阻力线:EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20),COLORF0F000,LINETHICK2;
突破线:= EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
操作线:突破线,COLORRED, LINETHICK2;
STICKLINE(CROSS(操作线,阻力线),操作线,80,5,0),LINETHICK3;
DRAWTEXT(CROSS(操作线,阻力线),85,'买');
0;20;50;80;100;
202108211314.png
|