G1:40,COLORWHITE;
G2:50,POINTDOT,COLORGREEN;
G3:60,POINTDOT,COLORYELLOW;
G4:70,POINTDOT,COLORRED;
G5:80,COLORDD22DD;
TYP := AMOUNT/VOL/100;
GJW1:=SUM(IF(TYP>REF(TYP,1),TYP*VOL,0),21)/SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),21);
GJW2:=100-(100/(1+GJW1));
主力踪迹:EMA(GJW2,5),COLORLIBLUE,LINETHICK1;
STICKLINE(主力踪迹<50,主力踪迹,50,1,0),COLORGREEN;
STICKLINE(主力踪迹>=50 AND 主力踪迹<60,主力踪迹,60,1,0),COLORYELLOW;
STICKLINE(主力踪迹>=60 AND 主力踪迹<80,主力踪迹,60,1,0),COLORRED;
STICKLINE(主力踪迹>=80,80,主力踪迹,1,0),COLORDD22DD;
STICKLINE(主力踪迹<40,主力踪迹,40,1,0),COLORWHITE;