Var1:=SMA(AMOUNT,10,1)/1000000;
Var2:=REF(Var1,1);
Var3:=MA(REF(CLOSE,1),5);
收盤:Var1*CLOSE/Var3*1/10,COLOR009900,LINETHICK0,POINTDOT;
開盤:Var1*OPEN/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最高:Var1*HIGH/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最低:Var1*LOW/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
生命線:EMA(收盤,12),colorwhite;
昨收盤:=REF(收盤,1),POINTDOT,COLOR009900,LINETHICK0;
漲跌:=(收盤-REF(收盤,1))/REF(收盤,1)*100,POINTDOT,COLOR009900,LINETHICK0;
STICKLINE(收盤>開盤,收盤,開盤,5,0),colorred;
STICKLINE(收盤>開盤,最高,MAX(收盤,開盤),0,1),colorred;
STICKLINE(收盤>開盤,MIN(收盤,開盤),最低,0,1),colorred;
STICKLINE(收盤<開盤,收盤,開盤,5,0),colorgreen;
STICKLINE(收盤<開盤,最高,MAX(收盤,開盤),0,1),colorgreen;
STICKLINE(收盤<開盤,MIN(收盤,開盤),最低,0,1),colorgreen;