资金流向-涨幅 Y-ZJ
资金流向-涨幅
TJ:=IF(CLOSE>=REF(CLOSE,1),AMOUNT,0);
TJ1:=SUM(AMOUNT,0);
TJ2:=SUM(TJ,10)*1000/TJ1;
DRAWGBK(CLOSE,COLORRGB(5,2,0),COLORRGB(5,2,0),1);
TJ:=IF(CLOSE>=REF(CLOSE,1),AMOUNT,0);
TJ1:=SUM(AMOUNT,0);
TJ2:=SUM(TJ,10)*1000/TJ1;
ZTRC:=100*TJ2;
TJ3:=IF(CLOSE<REF(CLOSE,1),AMOUNT,0);
TJ4:=SUM(AMOUNT,0);
TJ5:=SUM(TJ3,10)*1000/TJ4;
ZTXD:=100*TJ5;
TJ6:=IF(CLOSE>=REF(CLOSE,1),VOL/REF(VOL,1),0);
TJ7:=IF(CLOSE<REF(CLOSE,1),VOL/REF(VOL,1),0);
SDRC:=100*SUM(TJ6,10)/SUM(TJ6,50);
SDXD:=100*SUM(TJ7,10)/SUM(TJ7,50);
RCJE:=ZTRC-ZTXD+SDRC-SDXD;
ZJLX:SUM(RCJE,3)/1,LINETHICK0,PRECISION0,color9900;
涨幅%:(ZJLX-REF(ZJLX,1))/ABS(REF(ZJLX,1))*100,LINETHICK0,PRECISION2,colorFF;
0,color999999;
FILLRGN(ZJLX>0,ZJLX,0),color9900;
FILLRGN(ZJLX<0,ZJLX,0),color9900;
FILLRGN(涨幅%>=0,涨幅%,0),colorFF;
FILLRGN(涨幅%<0,涨幅%,0),color999999;
Y-ZJ
DRAWGBK(CLOSE,COLORRGB(5,2,0),COLORRGB(5,2,0),1);
TJ:=IF(CLOSE>=REF(CLOSE,1),AMOUNT,0);
TJ1:=SUM(AMOUNT,0);
TJ2:=SUM(TJ,10)*1000/TJ1;
ZTRC:=100*TJ2;
TJ3:=IF(CLOSE<REF(CLOSE,1),AMOUNT,0);
TJ4:=SUM(AMOUNT,0);
TJ5:=SUM(TJ3,10)*1000/TJ4;
ZTXD:=100*TJ5;
TJ6:=IF(CLOSE>=REF(CLOSE,1),VOL/REF(VOL,1),0);
TJ7:=IF(CLOSE<REF(CLOSE,1),VOL/REF(VOL,1),0);
SDRC:=100*SUM(TJ6,10)/SUM(TJ6,50);
SDXD:=100*SUM(TJ7,10)/SUM(TJ7,50);
RCJE:=ZTRC-ZTXD+SDRC-SDXD;
ZJLX:SUM(RCJE,3),LINETHICK1,PRECISION2;
ZJLX_5:SUM(RCJE,N),LINETHICK1,PRECISION2,colorFFFFFF;
ZJLX_10:SUM(RCJE,N1),LINETHICK1,PRECISION2;
0,color888888;
流向涨幅%:(ZJLX-REF(ZJLX,1))/ABS(REF(ZJLX,1))*100,LINETHICK0,PRECISION2,colorFF;
0,color999999;
FILLRGN(ZJLX>=0,ZJLX,0),color9900;
FILLRGN(ZJLX<0,ZJLX,0),color9900;
FILLRGN(流向涨幅%>=0,流向涨幅%,0),colorFF;
FILLRGN(流向涨幅%<0,流向涨幅%,0),color999999;
- 上一篇公式:新新副图指标--抄底公式
- 下一篇公式:量(副图 源码 贴图)