资金流向指标-精品通达信指标公式源码分享
流通:=AMOUNT/VOL;
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),0-QJJ*(HIGH-CLOSE+OPEN-LOW));
ZLL:=VOL/CAPITAL;
HSL1:=IF(ZLL>10,10,ZLL);
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
STICKLINE(HSL*0.4>=0,HSL*0.4*1.5,0,1,0),COLOR808080;
STICKLINE(HSL*0.4<0,HSL*0.4*1.5,0,1,0),COLOR808080;
GJJ:=EMA(攻击,8);
LLJX:=EMA(攻击,3);
流向:LLJX,LINETHICK0,COLOR0000FF;
STICKLINE(流向>0,流向,0,4,0),COLOR0000FF;
STICKLINE(流向<0,流向,0,4,0),COLORFF0000;
基线:GJJ,COLOR00FFFF;
ZJLL:=REF(LLJX,1);
QZJJ:=((LLJX-ZJLL)/ZJLL)*100;
增幅比:=IF(LLJX>0 AND ZJLL<0,ABS(QZJJ),QZJJ);
力度:=HSL/1000;
周流向:SUM(LLJX,5),LINETHICK1;
BB:REF(周流向,1);
ZQZJJ:=((周流向-BB)/BB)*100;
周增幅比:IF(周流向>0 AND BB<0,ABS(ZQZJJ),ZQZJJ),COLOR808080;
三十:SUM(LLJX,30),COLORYELLOW,LINETHICK4;
四十:SUM(LLJX,40),COLOR7F00FF,LINETHICK5;
五十:SUM(LLJX,50),COLOR008800,LINETHICK5;
六十:SUM(LLJX,60),COLORD9D919,LINETHICK5;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!