同花顺经传主力散户趋势公式
VAR1A:=IF(CLOSE =REF(CLOSE,1),VOL,0);
VAR2A:=IF(CLOSE =REF(CLOSE,1),VOL,0);
VAR3:=SUM(VAR1A,10);
VAR4:=SUM(VAR2A,10);
VAR5:=IF(CLOSE =MA(CLOSE,5),VOL,0);
VAR6:=IF(CLOSE =MA(CLOSE,5),VOL,0);
VAR7:=SUM(VAR5,10);
VAR8:=SUM(VAR6,10);
VAR9:=IF(MA(CLOSE,5) =REF(MA(CLOSE,5),1),VOL,0);
VARA:=IF(MA(CLOSE,5) =REF(MA(CLOSE,5),1),VOL,0);
VARB:=SUM(VAR9,10);
VARC:=SUM(VARA,10);
VARD:=IF(EMA(CLOSE,10) =REF(EMA(CLOSE,10),1),VOL,0);
VARE:=IF(EMA(CLOSE,10) =REF(EMA(CLOSE,10),1),VOL,0);
VARF:=SUM(VARD,10);
VAR10:=SUM(VARE,10);
A1:=FORCAST(EMA(CLOSE,3),6);
A2:=FORCAST(EMA(CLOSE,5),6);
A3:=FORCAST(EMA(CLOSE,7),6);
A4:=FORCAST(EMA(CLOSE,11),6);
A5:=FORCAST(EMA(CLOSE,14),6);
B:=A1+A2+A3+A4-4*A5;
TOWERC:=EMA(B,2);
VAR1:=ABS(TOWERC)+ABS(REF(TOWERC,1))*50;
VAR2:=(3*CLOSE+2*OPEN+HIGH+LOW)/7;
A6:=FORCAST(EMA(VAR2,12),6);
主力:VAR3+VAR7+VARB+VARF,colorred,LINETHICK2;
散户:VAR4+VAR8+VARC+VAR10,COLOR00FF00,LINETHICK2;