通达信均线集中度指标公式
通达信早知买卖主图指标公式
通达信均线集中度指标公式:
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;
通达信追黑马专用主图指标公式