P1:=2.8;P2:=3.2;P3:=3.5;
VAR1:=1;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
警戒线: P1*VAR1, , ;
减仓线: P2*VAR1, , ;
卖出线: P3*VAR1, , ;
动力线: EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*VAR1;
DRAWTEXT(CROSS(动力线,警戒线),2,'警'),COLORWHITE;
DRAWTEXT(CROSS(动力线,减仓线),2.8,'减'), ,;
DRAWTEXT(CROSS(动力线,卖出线),3.5,'出'), , ;
DRAWICON(CROSS(动力线,警戒线),3,2);
DRAWICON(CROSS(动力线,减仓线),3.4,2);
DRAWICON(CROSS(动力线,卖出线),3.9,2);
多线:1.5,COLORRED,DOTLINE;
多空线:1.0,COLORLIGRAY,DOTLINE;
极限:0.2,COLORLIBLUE,DOTLINE;