大智慧资金流 副图
资金流,(副图)
VAR1 :=AMOUNT/10000{GPGS};
DF:=Ema(VAR1,12)-ema(VAR1,26){GPGS};
DA:=EMA(DF,9){GPGS};
VAR2 :2*(DF-DA),linethick0{GPGS};
VAR3:=VAR2 >REF(VAR2 ,1) AND VAR2 >0{GPGS};
VAR4:=VAR2 >=0{GPGS};
VAR5:=VAR2 <REF(VAR2 ,1) AND VAR2 <0{GPGS};
VAR6:=VAR2 <=0{GPGS};
STICKLINE(VAR3 or VAR4,VAR2 ,0,8,0),COLOR0055AA{GPGS};
STICKLINE(VAR3 or VAR4,VAR2 ,0,5,0),COLOR0077CC{GPGS};
STICKLINE(VAR3 or VAR4,VAR2 ,0,3,0),COLOR0099DD{GPGS};
STICKLINE(VAR3 or VAR4,VAR2 ,0,1,0),colorwhite{GPGS};
STICKLINE(VAR5 or VAR6,VAR2 ,0,8,0),COLOR006600{GPGS};
STICKLINE(VAR5 or VAR6,VAR2 ,0,5,0),COLOR009900{GPGS};
STICKLINE(VAR5 or VAR6,VAR2 ,0,3,0),COLOR00BB00{GPGS};
STICKLINE(VAR5 or VAR6,VAR2 ,0,1,0),colorwhite{GPGS};
difF:DF,colorff00ff,layer7{GPGS};
DEA:DA,COLORFFFF00{GPGS};
AA:=ma(AMOUNT,5)/10000{GPGS};
BB:=ma(AMOUNT,10)/10000{GPGS};
DRAWTEXTREL(710,40,'今日:'+NUMTOSTRN(VAR1,2)+' 万元'),colorff00ff,layer7{GPGS};
DRAWTEXTREL(710,160,'五日均量:'+NUMTOSTRN(AA,2)+' 万元'),COLORFFFF00{GPGS};
DRAWTEXTREL(710,280,'十日均量 :'+NUMTOSTRN(BB,2)+' 万元'),colorwhite{GPGS};
DRAWGBK(C,STRIP(RGB(0,0,50),RGB(0,30,140),0));