通达信贴心参谋指标公式
基本概况:
- 指标类别: 通达信指标
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标语言: 简体中文
- 指标来源: 互联网
- 指标日期: 2017-07-20 00:00:00
内容介绍:
通达信贴心参谋指标公式:
DRAWRECTREL(0,0,1000,1000,RGB(50,78,50));
DRAWRECTREL(0,80,973,920,RGB(50,100,140));
GD:=CONST(HHV("999999$H",100)),NODRAW;{高点}
DD:=CONST(LLV("999999$L",100)),NODRAW;{低点}
{=======}
MMM:=REFDATE(HHV("999999$H",233),DATE);
NNN:=REFDATE(LLV("999999$L",233),DATE);
DPX:=EMA(INDEXC,21);
JJ:=(INDEXO+INDEXH+INDEXC)/3;
参:=GD-DD,NODRAW;
高:=GD-(参*0.095),NODRAW;
低:=DD+(参*0.095),NODRAW;
STICKLINE(JJ<DPX,高,低,4,0),COLOR333333;
{上证指数K线副图指标}
DRAWKLINE("999999$H","999999$O","999999$L","999999$C");
{====}
DRAWRECTREL(0,0,408,1000,RGB(50,78,50));
DRAWRECTREL(27,50,403,950,RGB(50,78,50));
DRAWRECTREL(0,0,22,1000,RGB(128,58,0));
DRAWRECTREL(408,0,430,1000,RGB(128,58,0));
DRAWRECTREL(978,0,1000,1000,RGB(128,58,0));
{=======}
DRAWTEXT_FIX(C>O,0.006,0.075,0,'个 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.006,0.3,0,'股 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.006,0.53,0,'动 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.006,0.75,0,'态 '),COLORWHITE;{白}
{=======}
DRAWTEXT_FIX(C>O,0.4125,0.075,0,'大 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.4125,0.3,0,'盘 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.4125,0.53,0,'走 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.4125,0.75,0,'势 '),COLORWHITE;{白}
{=======}
DRAWTEXT_FIX(C>O,0.983,0.075,0,'贴 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.983,0.3,0,'心 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.983,0.53,0,'参 '),COLORWHITE;{白}
DRAWTEXT_FIX(C>O,0.983,0.75,0,'谋 '),COLORWHITE;{白}
{========K 线 解 盘==========}
TT:=240/FROMOPEN;
比:=TT;
AY2:=EMA(CLOSE,12)-EMA(CLOSE,26);
AZ2:=EMA(AY2,9);
LT2:=(AY2-AZ2);
L211:=IF(LT2,LLV(L,21),DRAWNULL),COLOR217158,CIRCLEDOT;
ZGD:=HHV(H,80)*0.99;
ZGD2:=CONST(ZGD);
ZDD:=LLV(L211,80);
ZDD2:=CONST(ZDD);
YA4:=MA(CLOSE,20);
YA5:=(CLOSE > MA(CLOSE,5));
YA6:=(MA(CLOSE,5) > MA(CLOSE,10));
YA7:=(CLOSE > MA(CLOSE,10));
YA8:=(MA(CLOSE,5) > MA(CLOSE,20));
YA9:=(CLOSE > MA(CLOSE,20));
YA10:=REF(YA4,1);
YA11:=(YA4 > YA10);
YAVX:=(((((IF(YA5,10,(0 - 10)) + IF(YA6,10,(0 - 10))) + IF(YA7,10,(0 - 10))) + IF(YA8,10,(0 - 10))) + IF(YA9,10,(0 - 10))) + IF(YA11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
DSLX2:=MA(DSLX,10);
YYV1:=MA(VOL,5);
YYV2:=MA(VOL,10);
J1:=CONST(IF( YAVX > 0,200,100));
J2:=CONST(IF( YAVX > 0,00,100));
J3:=CONST(IF( YAVX > 0,100,100));
ZGD3:=ZGD2;
ZDD3:=ZDD2;
ZGD4:=ZGD2;
情况1:=CONST(IF(((CROSS(YAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)),NODRAW;
情况2:=CONST(IF(((CROSS(YAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0));
情况3:=CONST(IF(((CROSS(YAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0));
情况4:=CONST(IF(((CROSS(YAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0));
情况5:=CONST(IF(((CROSS(1,YAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0));
情况6:=CONST(IF(((CROSS(1,YAVX) AND (YYV1 < YYV
相关推荐: