通达信均线集中度指标公式

 

N:=14;
M:=6;
JX4:=MA(C,4);
JX8:=MA(C,8);
JX13:=MA(C,13);
JX20:=MA(C,20);
JX30:=MA(C,30);
JX34:=MA(C,34);
JX47:=MA(C,47);
JX55:=MA(C,55);
JX89:=MA(C,89);
JX144:=MA(C,144);
JX245:=MA(C,245);
JX318:=MA(C,318);
MAXJX144:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(JX4,JX8),JX13),JX20),JX30),JX47),JX89),JX144);
MINJX144:=MIN(MIN(MIN(MIN(MIN(MIN(MIN(JX4,JX8),JX13),JX20),JX30),JX47),JX89),JX144);
MAXJX89:=MAX(MAX(MAX(MAX(MAX(MAX(JX4,JX8),JX13),JX20),JX30),JX47),JX89);
MINJX89:=MIN(MIN(MIN(MIN(MIN(MIN(JX4,JX8),JX13),JX20),JX30),JX47),JX89);
MAXJX47:=MAX(MAX(MAX(MAX(MAX(JX4,JX8),JX13),JX20),JX30),JX47);
MINJX47:=MIN(MIN(MIN(MIN(MIN(JX4,JX8),JX13),JX20),JX30),JX47);
MAXJX30:=MAX(MAX(MAX(MAX(JX4,JX8),JX13),JX20),JX30);
MINJX30:=MIN(MIN(MIN(MIN(JX4,JX8),JX13),JX20),JX30);
MAXJX20:=MAX(MAX(MAX(JX4,JX8),JX13),JX20);
MINJX20:=MIN(MIN(MIN(JX4,JX8),JX13),JX20);
MAXJX13:=MAX(MAX(JX4,JX8),JX13);
MINJX13:=MIN(MIN(JX4,JX8),JX13);
MAXJXCH144:=(MAXJX144-MINJX144)/MINJX144*100,COLORLIBLUE;
MAXJXCH89:=(MAXJX89-MINJX89)/MINJX89*100,COLORMAGENTA;
MAXJXCH47:=(MAXJX47-MINJX47)/MINJX47*100,COLORLIRED;
MAXJXCH30:=(MAXJX30-MINJX30)/MINJX30*100,COLORGREEN;
MAXJXCH13:=(MAXJX13-MINJX13)/MINJX13*100,COLORYELLOW;
MAXJXCH20:=(MAXJX20-MINJX20)/MINJX20*100,COLORYELLOW;
QMAXJXCH144:=IF(JX4>=JX144,MAXJXCH144,-MAXJXCH144),COLORLIBLUE;
QMAXJXCH89:=IF(JX4>=JX89,MAXJXCH89,-MAXJXCH89),COLORMAGENTA;
QMAXJXCH47:=IF(JX4>=JX47,MAXJXCH47,-MAXJXCH47),COLORLIRED;
QMAXJXCH30:=IF(JX4>=JX30,MAXJXCH30,-MAXJXCH30),COLORGREEN;
QMAXJXCH13:=IF(JX4>=JX13,MAXJXCH13,-MAXJXCH13),COLORYELLOW;
QMAXJXCH20:=IF(JX4>=JX20,MAXJXCH20,-MAXJXCH20),COLORLIBLUE;
JXJZDCH:QMAXJXCH13-QMAXJXCH30,COLORRED;
MAJXJZDCH:MA(JXJZDCH,N),COLORLIBLUE;
{STICKLINE(NDAY(MA8,MA55,1),25,27,4,0),COLORLIRED;
STICKLINE(NDAY(MA8,MA89,1),32,34,4,0),COLORMAGENTA;
STICKLINE(NDAY(MA8,MA144,1),39,41,4,0),COLORLIBLUE;
STICKLINE(NDAY(MA8,MA245,1),46,48,4,0),COLORBLUE;
STICKLINE(NDAY(MA8,MA318,1),53,55,4,0),COLORWHITE;
STICKLINE(NDAY(MA8,MA30,1),-5,-6,4,0),COLORGREEN;
STICKLINE(NDAY(MA4,MA30,1),-10,-11,4,0),COLORRED};
A:0,COLORWHITE;
A1:10,COLORGREEN;




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


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

相关指标公式

N赋值:14
M赋值:6
JX4赋值:收盘价的4日简单移动平均
JX8赋值:收盘价的8日简单移动平均
JX13赋值:收盘价的13日简单移动平均
JX20赋值:收盘价的20日简单移动平均
JX30赋值:收盘价的30日简单移动平均
JX34赋值:收盘价的34日简单移动平均
JX47赋值:收盘价的47日简单移动平均
JX55赋值:收盘价的55日简单移动平均
JX89赋值:收盘价的89日简单移动平均
JX144赋值:收盘价的144日简单移动平均
JX245赋值:收盘价的245日简单移动平均
JX318赋值:收盘价的318日简单移动平均
MAXJX144赋值:JX4和JX8的较大值和JX13的较大值和JX20的较大值和JX30的较大值和JX47的较大值和JX89的较大值和JX144的较大值
MINJX144赋值:JX4和JX8的较小值和JX13的较小值和JX20的较小值和JX30的较小值和JX47的较小值和JX89的较小值和JX144的较小值
MAXJX89赋值:JX4和JX8的较大值和JX13的较大值和JX20的较大值和JX30的较大值和JX47的较大值和JX89的较大值
MINJX89赋值:JX4和JX8的较小值和JX13的较小值和JX20的较小值和JX30的较小值和JX47的较小值和JX89的较小值
MAXJX47赋值:JX4和JX8的较大值和JX13的较大值和JX20的较大值和JX30的较大值和JX47的较大值
MINJX47赋值:JX4和JX8的较小值和JX13的较小值和JX20的较小值和JX30的较小值和JX47的较小值
MAXJX30赋值:JX4和JX8的较大值和JX13的较大值和JX20的较大值和JX30的较大值
MINJX30赋值:JX4和JX8的较小值和JX13的较小值和JX20的较小值和JX30的较小值
MAXJX20赋值:JX4和JX8的较大值和JX13的较大值和JX20的较大值
MINJX20赋值:JX4和JX8的较小值和JX13的较小值和JX20的较小值
MAXJX13赋值:JX4和JX8的较大值和JX13的较大值
MINJX13赋值:JX4和JX8的较小值和JX13的较小值
MAXJXCH144赋值:(MAXJX144-MINJX144)/MINJX144*100,画淡蓝色
MAXJXCH89赋值:(MAXJX89-MINJX89)/MINJX89*100,画洋红色
MAXJXCH47赋值:(MAXJX47-MINJX47)/MINJX47*100,画淡红色
MAXJXCH30赋值:(MAXJX30-MINJX30)/MINJX30*100,画绿色
MAXJXCH13赋值:(MAXJX13-MINJX13)/MINJX13*100,画黄色
MAXJXCH20赋值:(MAXJX20-MINJX20)/MINJX20*100,画黄色
QMAXJXCH144赋值:如果JX4>=JX144,返回MAXJXCH144,否则返回-MAXJXCH144,画淡蓝色
QMAXJXCH89赋值:如果JX4>=JX89,返回MAXJXCH89,否则返回-MAXJXCH89,画洋红色
QMAXJXCH47赋值:如果JX4>=JX47,返回MAXJXCH47,否则返回-MAXJXCH47,画淡红色
QMAXJXCH30赋值:如果JX4>=JX30,返回MAXJXCH30,否则返回-MAXJXCH30,画绿色
QMAXJXCH13赋值:如果JX4>=JX13,返回MAXJXCH13,否则返回-MAXJXCH13,画黄色
QMAXJXCH20赋值:如果JX4>=JX20,返回MAXJXCH20,否则返回-MAXJXCH20,画淡蓝色
输出JXJZDCH:QMAXJXCH13-QMAXJXCH30,画红色
输出MAJXJZDCH:JXJZDCH的N日简单移动平均,画淡蓝色

输出A:0,画白色
输出A1:10,画绿色

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

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