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;
A:=(VOL * CLOSE);
B:=(SUM(A,1) / SUM(VOL,1));
B1:=EMA(B,17);
资金:=(((B - B1) * 100) / B);
资金放大:=(资金 * 8.5);
MA资金:=MA(资金放大,15);
MA资金2:=MA(资金放大,5);
卖出:CROSS(MA资金2,资金放大) AND (REF(资金,1) > 4.5);