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),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);
|