通达信资金仓位副图源码

X_1:=5.5;
DRAWTEXT_FIX(X_1=5.5,0,0.08,0,75);
X_2:=MA(CLOSE,5);
X_3:=MA(CLOSE,15);
X_4:=MA(CLOSE,20);
X_5:=MA(CLOSE,45);
说明:120,POINTDOT;
满仓:100,POINTDOT,COLORRED;
八成:80,POINTDOT,COLORRED;
半仓:50,POINTDOT,COLORRED;
三成:30,POINTDOT;
空仓:0,POINTDOT;
X_6:=CLOSE<X_2 AND CLOSE<X_3 AND CLOSE<X_4 AND CLOSE<X_5;
X_7:=CLOSE>X_2 AND CLOSE<X_3 AND CLOSE<X_4 AND CLOSE<X_5;
X_8:=CLOSE>X_2 AND CLOSE>X_3 AND CLOSE<X_4 AND CLOSE<X_5;
X_9:=CLOSE>X_2 AND CLOSE>X_3 AND CLOSE>X_4 AND CLOSE<X_5;
X_10:=CLOSE>X_2 AND CLOSE>X_3 AND CLOSE>X_4 AND CLOSE>X_5;
X_11:=CLOSE<X_2 AND CLOSE>X_3 AND CLOSE>X_4 AND CLOSE>X_5;
X_12:=CLOSE<X_2 AND CLOSE<X_3 AND CLOSE>X_4 AND CLOSE>X_5;
X_13:=CLOSE<X_2 AND CLOSE<X_3 AND CLOSE<X_4 AND CLOSE>X_5;
X_14:=CLOSE<X_2 AND CLOSE>X_3 AND CLOSE>X_4 AND CLOSE<X_5;
X_15:=CLOSE<X_2 AND CLOSE>X_3 AND CLOSE<X_4 AND CLOSE<X_5;
X_16:=CLOSE>X_2 AND CLOSE<X_3 AND CLOSE>X_4 AND CLOSE>X_5;
X_17:=CLOSE>X_2 AND CLOSE=X_3 AND CLOSE>X_4 AND CLOSE>X_5;
X_18:=CLOSE>X_2 AND CLOSE<X_3 AND CLOSE<X_4 AND CLOSE>X_5;
X_19:=CLOSE<X_2 AND CLOSE<X_3 AND CLOSE>X_4 AND CLOSE<X_5;
X_20:=CLOSE>X_2 AND CLOSE<X_3 AND CLOSE>X_4 AND CLOSE<X_5;
X_21:=CLOSE>X_2 AND CLOSE>X_3 AND CLOSE<X_4 AND CLOSE>X_5;
STICKLINE(X_6,0,0,3,0),COLORGREEN;
STICKLINE(X_7 OR X_18 OR X_19 OR X_21,0,20,3,0),COLORGREEN;
STICKLINE(X_8 OR X_20,0,50,3,0),COLORRED;
{股票指标网}
STICKLINE(X_9,0,80,3,0),COLORRED;
STICKLINE(X_10,0,100,3,0),COLORRED;
STICKLINE(X_11,0,80,3,0),COLORRED;
STICKLINE(X_12,0,50,3,0),COLORRED;
STICKLINE(X_13,0,20,3,0),COLORGREEN;
STICKLINE(X_14 OR X_15 OR X_16 OR X_17,0,50,3,0),COLORRED;


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

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

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

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