大智慧机构进出副图指标
源码
DRAWTEXTABS(0 ,10 ,'只要是红柱,就不要怕跌' );
RI:=(INDEXC/REF(INDEXC,1))-1;
SI:=(CLOSE/REF(CLOSE,1))-1;
CI:=REF(CLOSE,1)*(1+RI);
GAIN:=CLOSE-(CI);
ROUTE:=ABS(CI-REF(CLOSE,1))+ABS(CLOSE-(CI));
FH:=IF((SI)>0,1,0-1);
ZM:=IF((ABS(RI)<0.008) AND (ABS(SI)<0.008) AND (ABS(RI-SI)<0.015),0.35*FH*VOL,0.5*GAIN/ROUTE*VOL);
ZMF:=SUM(ZM,0);
(MEMA(ZMF,1)-MEMA(ZMF,10))/100, COLORSTICK,linethick3;
ema((EMA(ZMF,1)-EMA(ZMF,10))/100,20);