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;{爱股网 WWW.72GU.COM}
动力线: 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);