通达信仓位提示优化升级版指标公式
网友投稿• 2021-10-13 08:06:07 •阅读113
![](/img/%E9%80%9A%E8%BE%BE%E4%BF%A1%E4%BB%93%E4%BD%8D%E6%8F%90%E7%A4%BA%E4%BC%98%E5%8C%96%E5%8D%87%E7%BA%A7%E7%89%88%E6%8C%87%E6%A0%87%E5%85%AC%E5%BC%8F.jpg)
NOTEXT2:0,DOTLINE,COLORWHITE;
NOTEXT3:30,DOTLINE,COLORLIBLUE;
NOTEXT4:50,DOTLINE,COLORBLUE;
NOTEXT5:80,DOTLINE,COLORLIMAGENTA;
NOTEXT6:100,DOTLINE,COLORWHITE;
{资金仓位}
HJ_1:=5.5;
HJ_2:=MA(C,5);
HJ_3:=MA(C,15);
HJ_4:=MA(C,20);
HJ_5:=MA(C,45);
HJ_6:=CHJ_2 AND CHJ_2 AND C>HJ_3 AND CHJ_2 AND C>HJ_3 AND C>HJ_4 AND CHJ_2 AND C>HJ_3 AND C>HJ_4 AND C>HJ_5;
HJ_11:=CHJ_3 AND C>HJ_4 AND C>HJ_5;
HJ_12:=CHJ_4 AND C>HJ_5;
HJ_13:=CHJ_5;
HJ_14:=CHJ_3 AND C>HJ_4 AND CHJ_3 AND CHJ_2 AND CHJ_4 AND C>HJ_5;
HJ_17:=C>HJ_2 AND C=HJ_3 AND C>HJ_4 AND C>HJ_5;
HJ_18:=C>HJ_2 AND CHJ_5;
HJ_19:=CHJ_4 AND CHJ_2 AND CHJ_4 AND CHJ_2 AND C>HJ_3 AND CHJ_5;
STICKLINE(HJ_7 OR HJ_18 OR HJ_19 OR HJ_21,0,30,2,0),COLORGREEN;
STICKLINE(HJ_8 OR HJ_20,0,50,2,0),COLORRED;
STICKLINE(HJ_9,0,80,2,0),COLORRED;
STICKLINE(HJ_10,0,100,2,0),COLORRED;
STICKLINE(HJ_11,0,80,2,0),COLORRED;
STICKLINE(HJ_12,0,50,2,0),COLORRED;
STICKLINE(HJ_13,0,30,2,0),COLORGREEN;
STICKLINE(HJ_14 OR HJ_15 OR HJ_16 OR HJ_17,0,50,2,0),COLORRED;
本文来源于网友自行发布,不代表本站立场,转载联系作者并注明出处