STICKLINE(C>0,105,0,8,0) COLOR005600;
STICKLINE(C>0,-60,0,8,0) COLOR004300;
VAR1:=COST(89)-COST(11);
VAR2:=COST(99.9)-COST(0.1);
单峰:=(1-VAR1/VAR2)*100;
高密:=(COST(40)-COST(1))/VAR2*100;
赢利:=SMA(WINNER(AMOUNT/vol/99)*100,2,1),COLOR00FF00;
V3:=赢利-单峰;
获利成本:STICKLINE(V3>0,V3,0,3,2){ COLORFF00FF;}COLORRED;
{ _最新股票指标公式}
套牢成本:STICKLINE(V3<=0,V3,0,3,2) COLORBLUE;
【上穿成本】:IF(crOSS(赢利,单峰),15,0),STICK,LINETHICK5,COLORRED;
【下穿成本】:IF(CROSS(单峰,赢利),-25,0),STICK,LINETHICK5,COLORGREEN;
DRAWICON(【上穿成本】>0,30,5);
DRAWICON(【下穿成本】<0,-15,6);