源码
Var2:=LLV(LOW,10);
Var3:=HHV(HIGH,25);
阶段卖出: 3.2,COLORRED;
3.5,COLOR0088FF;
卖出: 3.5;
动力线:= EMA((CLOSE-Var2)/(Var3-Var2)*4,4){,coloryellow,linethick2};
if (动力线>ref(动力线,1) ,动力线 ,0),pointdot,linethick5,colorred;
if(动力线<=ref(动力线,1) ,ref(动力线,1),0),pointdot,linethick5,color00ff00;
底部介入:0.2,COLORred;
关注:0.5 ,COLORYELLOW;
买入1:if(FILTER(cross(动力线,关注),20),1.5,0.2 ),linethick3,stick,color00ff00;
卖出1:if( FILTER(cross(卖出,动力线),20),2.5,3.5),linethick2,colorblue;
买入2:if( FILTER(cross(动力线,底部介入),20),1.2 ,0.2),linethick3,stick,colorf00ff0;
卖出2:if( FILTER(cross(阶段卖出,动力线),20),2.2,3.2 ),linethick2,colorfff000;