虎: (EMA(CLOSE,500)-REF(EmA(CLOSE,500),1))/REF(EMA(CLOSE,500),2)*100, COLORSTICK;
主力:EMA( (EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100,20)-0.0004,LINETHICK5,COLORMAGENTA;
散户:EMA( (EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100,100),LINETHICK5,COLORGREEN;
DRAWTEXTABS(5,5,''),linethick1,COLOR00EEff;
DRAWICON(CROSS(EMA(虎,2)-0.0004,EMA(虎,5)),EMA(虎,20)*1,1);
DRAWICON(CROSS(EMA(虎,20),EMA(虎,120)-0.0004),EMA(虎,200)*1,200);
Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.025,0.95);
Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
DRAWICON(CROSS((C/Q2),1.03),0.02,6);
STICKLINE(CROSS((C/Q2),1.03),0.02,0,2,0),COLORYELLOW;