通达信主买占比副图指标 不一样的红中红 源码 附图

万手:VOL/10000,LINETHICK0;
X_1:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
预测:X_1/10000;
X_2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_3:=IF(CLOSE>OPEN,X_2*(HIGH-LOW),IF(CLOSE<OPEN,X_2*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
X_4:=X_3/10000;
X_5:=IF(CLOSE>OPEN,0-X_2*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_2*(HIGH-LOW),0-VOL/2));
X_6:=(-X_5)/10000;
X_7:=X_4+X_6;
主买占比%:X_4/X_7*100,COLORMAGENTA;
X_8:=X_3-X_5;
买卖比:X_3/(-X_5);
X_9:=X_8/REF(X_8,1);
倍量:X_9>2;
倍缩:X_9<=0.5;
X_10:=(X_3+X_5)/10000;
MA5:MA(VOL,5),COLORWHITE;
X_11:=MA(VOL,10);
MA120:MA(VOL,120),COLORYELLOW;
持币:IF(SAR(10,2,20)>=HIGH,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN;
DRAWICON(持币>0,持币,35);
持股:IF(SAR(10,2,20)<=LOW,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED;
DRAWICON(持股>0,持股,34);
STICKLINE(X_3,0,X_3,2,0),COLORMAGENTA;
STICKLINE(买卖比>1,X_3,X_8,2,0),COLORYELLOW;
STICKLINE(买卖比<=1,X_3,X_8,2,0),COLORBLUE;
STICKLINE(X_9>2,0,X_8/3,2,0),COLORRED;
STICKLINE(X_9<=0.5,0,X_8/3,2,0),COLORGREEN;
X_12:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_14:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
X_15:=(X_12+X_13+X_14)/3;
X_16:=EMA(X_15,5);
K:EMA(X_16,5)*2,COLORMAGENTA;
D:EMA(K,5),COLORWHITE;
J:K*3-D*2,COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.05,0,'【粉+黄做多】【粉+蓝做空】【粉色做多】【蓝色做空】【黄色做多】【红色倍量】【绿色缩量】')COLORFF00FF;


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

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

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

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