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); V3:=贏利-單峰; 獲利成本:STICKLINE(V3>0,V3,0,2,2),COLORRED; 套牢成本:STICKLINE(V3<=0,V3,0,2,2), COLORBLUE; 【上穿成本】:IF(CROSS(贏利,單峰),15,0),STICK,LINETHICK5; 【下穿成本】:IF(CROSS(單峰,贏利),-15,0),STICK,LINETHICK5; DRAWICON(【上穿成本】,30,1); DRAWICON(【下穿成本】,-2,2); |
|