量能:=AMOUNT/10000000;
量能1:ma(量能,5),COLORRED, LINETHICK2;
量能2:MA(量能,10),COLORBLUE, LINETHICK2;
量能3:MA(量能,20),COLORFF00FF,LINETHICK1;
天:HHV(量能1,120),COLORCYAN, LINETHICK2;
地:LLV(量能1,120),COLORFF00FF, LINETHICK2;
我:(天+地)/2,COLORBLUE,POINTDOT,LINETHICK4;
STICKLINE(量能1>量能2,量能2,量能1,0.001,0),COLORWHITE;
STICKLINE(量能1<REF(量能1,1) OR 量能2<REF(量能2,1), 量能2,量能1,0.001,0),COLORCC3300;
STICKLINE(量能1<量能2,量能2,量能1,0.001,0),COLORCYAN;
STICKLINE(量能2>REF(量能2,1) OR 量能1>REF(量能1,1)AND 量能1<量能2,量能2,量能1,0.001,0),COLORFF00FF;
DRAWICON(量能1>REF(量能1,1) AND REF(量能1,1)<REF(量能1,2),量能1,15);
DRAWICON(量能1<REF(量能1,1) AND REF(量能1,1)>REF(量能1,2),量能1,19);