资金流向 很经典的一个资金指标通达信副图 图 和谐源码分享

X_1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_2:=IF(CLOSE>OPEN,X_1*(HIGH-LOW),IF(CLOSE<OPEN,X_1*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
X_3:=IF(CLOSE>OPEN,0-X_1*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_1*(HIGH-LOW),0-VOL/2));
X_4:=X_2+X_3;
STICKLINE(X_4<0,0,X_4,1,0),COLORFF6600;
STICKLINE(X_4<0,0,X_4,3,0),COLORFF9900;
STICKLINE(X_4<0,0,X_4,1.5,0),COLORFFCC00;
STICKLINE(X_4<0,0,X_4,0.5,0),COLORCYAN;
STICKLINE(X_4>0,0,X_4,3,0),COLOR000099;
STICKLINE(X_4>0,0,X_4,3,0),COLOR0000CC;
STICKLINE(X_4>0,0,X_4,1,0),COLORRED;
STICKLINE(X_4>0,0,X_4,0.5,0),COLORCC66FF;
X_5:=1;
X_6:=(HIGH+LOW+CLOSE)/3;
X_7:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
X_8:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-X_6);
X_9:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
X_10:=IF(HIGH=LOW,1,X_6-MIN(CLOSE,OPEN));
X_11:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
X_12:=MACD.DIF>MACD.DEA AND MACD.DEA<0;
X_13:=KDJ.K>KDJ.D AND KDJ.D<30;
X_14:=MACD.DIF<MACD.DEA;
X_15:=KDJ.K<KDJ.D AND KDJ.K>80;
特大:X_10*X_11,NODRAW;
大单:X_9*X_11,NODRAW;
中单:X_7*X_11,NODRAW;
小单:X_8*X_11,NODRAW;
X_16:=SUM(大单,X_5)+SUM(特大,X_5);
X_17:=SUM(小单,X_5)+SUM(中单,X_5);
X_18:=特大>大单 AND 大单>小单;
X_19:=特大<小单 AND 大单<小单;
X_20:=X_12 AND X_13;
X_21:=X_14 AND X_15;
X_22:=X_16-X_17;
X_23:=IF(X_22>0,X_22,0);
X_24:=IF(X_22<0,X_22,0);
STICKLINE(X_23,0,X_23,1,0),COLOR000044;
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA;
主力筹码集中度:CLOSE*100,COLORRED;
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图