流通:=(AMOUNT / VOL);
VAR1:=(C-REF(C,1))*流通;
LLJX:=SMA(VAR1 ,9 , 1);
DIFF :=( EMA(LLJX,12) - EMA(LLJX,26))*100;
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
资金流量:=DIFF ;
红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,8,0),COLORRED;
绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,8,0),COLOR00FF00;
STICKLINE(DEA>=0,0,DEA,8,0),COLORBLUE;
STICKLINE(DEA<0,0,DEA,8,0),COLORYELLOW;
资金存量:MA(资金流量,40),LINETHICK1,COLORCYAN;
MID :MA(资金流量,20),LINETHICK1;
{UPPER:=MID + 2*STD(资金流量,20),LINETHICK1,COLORGREEN;
LOWER: MID - 2*STD(资金流量,20),LINETHICK1,COLORGREEN;}
STICKLINE(资金存量>=REF(资金存量,1) ,资金存量 ,REF(资金存量,1) ,10 , 1),COLORFF00FF;
STICKLINE(资金存量<REF(资金存量,1) ,资金存量 ,REF(资金存量,1) ,10, 1),COLOR00FF00;
STICKLINE(MID>=REF(MID,1) ,MID ,REF(MID,1) ,10 ,1),COLORRED;
STICKLINE(MID<REF(MID,1) ,MID ,REF(MID,1) ,10 , 1),COLORWHITE;
201092313161542854.jpg
|