P1:=28;P2:=32;P3:=35;
Var2:=LLV(LOW,10);
Var3:=HHV(HIGH,25);
警戒线1:= p1/10;
减仓线1:= p2/10 ;
卖出线1:= p3/10;
动力线1:= EMA((CLOSE-Var2)/(Var3-Var2)*4,4);
警惕:if(crOSS(动力线1,警戒线1),警戒线1-0.2,警戒线1),pointdot,linethick5,colorf00ff0;
警戒线1,pointdot,linethick5,color000000;
逢高减磅:if(CROSS(动力线1,减仓线1),减仓线1-0.2,减仓线1), pointdot,linethick5,colorf0f000;
减仓线1,pointdot,linethick5,color000000;
出局:if(CROSS(动力线1,卖出线1),卖出线1-0.2,卖出线1),pointdot,linethick5,colorred;
卖出线1,pointdot,linethick5,color000000;
{- }
{DRAWICON(CROSS(动力线1,警戒线1),3,2);
DRAWICON(CROSS(动力线1,减仓线1),3.4,2);
DRAWICON(CROSS(动力线1,卖出线1),3.9,2);}
警戒线:警戒线1 ,colorwhite;
减仓线:减仓线1,coloryellow;
卖出线:卖出线1,colorblue;
动力线:动力线1,color00ff00;
强势线:2,linethick0,Colorgreen;
准强线:1.3,linethick0,Colorff6666;
低吸线:0.3,linethick0,colorgray;
抄底线:0, linethick0, colorred;