通达信仓位提示优化升级版指标公式

 

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:=C<HJ_2 AND C<HJ_3 AND C<HJ_4 AND C<HJ_5;
HJ_7:=C>HJ_2 AND C<HJ_3 AND C<HJ_4 AND C<HJ_5;
HJ_8:=C>HJ_2 AND C>HJ_3 AND C<HJ_4 AND C<HJ_5;
HJ_9:=C>HJ_2 AND C>HJ_3 AND C>HJ_4 AND C<HJ_5;
HJ_10:=C>HJ_2 AND C>HJ_3 AND C>HJ_4 AND C>HJ_5;
HJ_11:=C<HJ_2 AND C>HJ_3 AND C>HJ_4 AND C>HJ_5;
HJ_12:=C<HJ_2 AND C<HJ_3 AND C>HJ_4 AND C>HJ_5;
HJ_13:=C<HJ_2 AND C<HJ_3 AND C<HJ_4 AND C>HJ_5;
HJ_14:=C<HJ_2 AND C>HJ_3 AND C>HJ_4 AND C<HJ_5;
HJ_15:=C<HJ_2 AND C>HJ_3 AND C<HJ_4 AND C<HJ_5;
HJ_16:=C>HJ_2 AND C<HJ_3 AND C>HJ_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 C<HJ_3 AND C<HJ_4 AND C>HJ_5;
HJ_19:=C<HJ_2 AND C<HJ_3 AND C>HJ_4 AND C<HJ_5;
HJ_20:=C>HJ_2 AND C<HJ_3 AND C>HJ_4 AND C<HJ_5;
HJ_21:=C>HJ_2 AND C>HJ_3 AND C<HJ_4 AND C>HJ_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;




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


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

输出NOTEXT2:0,DOTLINE,画白色
输出NOTEXT3:30,DOTLINE,画淡蓝色
输出NOTEXT4:50,DOTLINE,画蓝色
输出NOTEXT5:80,DOTLINE,画淡洋红色
输出NOTEXT6:100,DOTLINE,画白色
HJ_1赋值:5.5
HJ_2赋值:收盘价的5日简单移动平均
HJ_3赋值:收盘价的15日简单移动平均
HJ_4赋值:收盘价的20日简单移动平均
HJ_5赋值:收盘价的45日简单移动平均
HJ_6赋值:收盘价HJ_7赋值:收盘价>HJ_2 AND 收盘价HJ_8赋值:收盘价>HJ_2 AND 收盘价>HJ_3 AND 收盘价HJ_9赋值:收盘价>HJ_2 AND 收盘价>HJ_3 AND 收盘价>HJ_4 AND 收盘价HJ_10赋值:收盘价>HJ_2 AND 收盘价>HJ_3 AND 收盘价>HJ_4 AND 收盘价>HJ_5
HJ_11赋值:收盘价HJ_3 AND 收盘价>HJ_4 AND 收盘价>HJ_5
HJ_12赋值:收盘价HJ_4 AND 收盘价>HJ_5
HJ_13赋值:收盘价HJ_5
HJ_14赋值:收盘价HJ_3 AND 收盘价>HJ_4 AND 收盘价HJ_15赋值:收盘价HJ_3 AND 收盘价HJ_16赋值:收盘价>HJ_2 AND 收盘价HJ_4 AND 收盘价>HJ_5
HJ_17赋值:收盘价>HJ_2 AND 收盘价=HJ_3 AND 收盘价>HJ_4 AND 收盘价>HJ_5
HJ_18赋值:收盘价>HJ_2 AND 收盘价HJ_5
HJ_19赋值:收盘价HJ_4 AND 收盘价HJ_20赋值:收盘价>HJ_2 AND 收盘价HJ_4 AND 收盘价HJ_21赋值:收盘价>HJ_2 AND 收盘价>HJ_3 AND 收盘价HJ_5
当满足条件HJ_7ORHJ_18ORHJ_19ORHJ_21时,在0和30位置之间画柱状线,宽度为2,0不为0则画空心柱.,画绿色
当满足条件HJ_8ORHJ_20时,在0和50位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色
当满足条件HJ_9时,在0和80位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色
当满足条件HJ_10时,在0和100位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色
当满足条件HJ_11时,在0和80位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色
当满足条件HJ_12时,在0和50位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色
当满足条件HJ_13时,在0和30位置之间画柱状线,宽度为2,0不为0则画空心柱.,画绿色
当满足条件HJ_14ORHJ_15ORHJ_16ORHJ_17时,在0和50位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图