input:N(13,13,13),M(5,5,5);
Var2:= WINNER(CLOSE*1.1)*100;
Var3:= WINNER(CLOSE*0.9)*100;
获利: MA(Var3,N), colorwhite;
STICKLINE(1, 0, 获利, 1, 0), colorred;
套牢:= 100-MA(Var2,N);
STICKLINE(1, 100, MA(Var2,N), 1, 0), colorgreen;
HH: 100-套牢,colorwhite;
浮动:= MA(Var2,N)-MA(Var3,N);
STICKLINE(1, 获利, MA(Var2,N), 1, 0), coloryellow;
{ _最新股票指标公式}
var4:= (HHV(获利,15)-var3)/var3*100>M AND HHV(获利,15)>50;
STICKLINE(var4,-2, 2,10,0),COLORGREEN;
STICKLINE(not(var4),-2, 2,10,0),COLORBLUE;