DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite; DEA : EMA(DIFF,9),coloryellow;
MACD : 2*(DIFF-DEA),colormagenta;
零轴:0;
VOLUME:=VOL,colorgray;
VAR2:=1*AMOUNT;
一十日天量:=HHV(VAR2,10)=VAR2;
三十日天量:=HHV(VAR2,30)=VAR2;
六十日天量:=HHV(VAR2,60)=VAR2;
百日天量:=HHV(VAR2,100)=VAR2;
一年天量:=HHV(VAR2,250)=VAR2;
三年天量:=HHV(VAR2,750)=VAR2;
STICKLINE(一十日天量,0,DIFF,8,1),colorred;
STICKLINE(三十日天量,0,DIFF,8,1),colormagenta;
STICKLINE(六十日天量,0,DIFF,8,1),coloryellow;
STICKLINE(百日天量,0,DIFF,8,1),colorgreen;
STICKLINE(一年天量,0,DIFF,8,1),COLORFF7100;
STICKLINE(三年天量,0,DIFF,8,1),colorwhite;
一十日地量:=LLV(VAR2,10)=VAR2;
三十日地量:=LLV(VAR2,30)=VAR2;
六十日地量:=LLV(VAR2,60)=VAR2;
百日地量:=LLV(VAR2,100)=VAR2;
一年地量:=LLV(VAR2,250)=VAR2;
三年地量:=LLV(VAR2,750)=VAR2;
STICKLINE(一十日地量,DIFF,0,8,0),colorred;
STICKLINE(三十日地量,DIFF,0,8,0),colormagenta;
STICKLINE(六十日地量,DIFF,0,8,0),coloryellow;
STICKLINE(百日地量,DIFF,0,8,0),colorgreen;
STICKLINE(一年地量,DIFF,0,8,0),COLORFF7100;
STICKLINE(三年地量,DIFF,0,8,0),colorwhite;
DRAWTEXT_FIX(ISLASTBAR,0.05,0.99,0,'实地空高,大红10,粉红30,黄60,绿100,蓝360,白3年');
|
