当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

指标伴侣(通达信公式源码)

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

{指标伴侣}
DC:=INDEXC/REF(INDEXC,1)*REF(C,1);
HC:=HY_INDEXC/REF(HY_INDEXC,1)*REF(C,1);
DO:=INDEXO;
DDC:=INDEXC;
HO:=HY_INDEXO;
HHC:=HY_INDEXC;
TJ1:=C>=HC AND HC>=DC AND C>O;
TJ2:=C>=HC AND HC>=DC AND C=O;
TJ3:=C>=HC AND HC>=DC AND C<O;
TJ4:=C>=DC AND DC>=HC AND C>O;
TJ5:=C>=DC AND DC>=HC AND C=O;
TJ6:=C>=DC AND DC>=HC AND C<O;
TJ7:=HC>=C AND C>=DC AND C>O;
TJ8:=HC>=C AND C>=DC AND C=O;
TJ9:=HC>=C AND C>=DC AND C<O;
TJ10:=HC>=DC AND DC>=C AND C>O;
TJ11:=HC>=DC AND DC>=C AND C=O;
TJ12:=HC>=DC AND DC>=C AND C<O;
TJ13:=DC>=C AND C>=HC AND C>O;
TJ14:=DC>=C AND C>=HC AND C=O;
TJ15:=DC>=C AND C>=HC AND C<O;
TJ16:=DC>=HC AND HC>=C AND C>O;
TJ17:=DC>=HC AND HC>=C AND C=O;
TJ18:=DC>=HC AND HC>=C AND C<O;
TJ1H:=C>=HC AND HC>=DC AND HHC>HO;
TJ2H:=C>=HC AND HC>=DC AND HHC=HO;
TJ3H:=C>=HC AND HC>=DC AND HHC<HO;
TJ4H:=C>=DC AND DC>=HC AND HHC>HO;
TJ5H:=C>=DC AND DC>=HC AND HHC=HO;
TJ6H:=C>=DC AND DC>=HC AND HHC<HO;
TJ7H:=HC>=C AND C>=DC AND HHC>HO;
TJ8H:=HC>=C AND C>=DC AND HHC=HO;
TJ9H:=HC>=C AND C>=DC AND HHC<HO;
TJ10H:=HC>=DC AND DC>=C AND HHC>HO;
TJ11H:=HC>=DC AND DC>=C AND HHC=HO;
TJ12H:=HC>=DC AND DC>=C AND HHC<HO;
TJ13H:=DC>=C AND C>=HC AND HHC>HO;
TJ14H:=DC>=C AND C>=HC AND HHC=HO;
TJ15H:=DC>=C AND C>=HC AND HHC<HO;
TJ16H:=DC>=HC AND HC>=C AND HHC>HO;
TJ17H:=DC>=HC AND HC>=C AND HHC=HO;
TJ18H:=DC>=HC AND HC>=C AND HHC<HO;
TJ1D:=C>=HC AND HC>=DC AND DDC>DO;
TJ2D:=C>=HC AND HC>=DC AND DDC=DO;
TJ3D:=C>=HC AND HC>=DC AND DDC<DO;
TJ4D:=C>=DC AND DC>=HC AND DDC>DO;
TJ5D:=C>=DC AND DC>=HC AND DDC=DO;
TJ6D:=C>=DC AND DC>=HC AND DDC<DO;
TJ7D:=HC>=C AND C>=DC AND DDC>DO;
TJ8D:=HC>=C AND C>=DC AND DDC=DO;
TJ9D:=HC>=C AND C>=DC AND DDC<DO;
TJ10D:=HC>=DC AND DC>=C AND DDC>DO;
TJ11D:=HC>=DC AND DC>=C AND DDC=DO;
TJ12D:=HC>=DC AND DC>=C AND DDC<DO;
TJ13D:=DC>=C AND C>=HC AND DDC>DO;
TJ14D:=DC>=C AND C>=HC AND DDC=DO;
TJ15D:=DC>=C AND C>=HC AND DDC<DO;
TJ16D:=DC>=HC AND HC>=C AND DDC>DO;
TJ17D:=DC>=HC AND HC>=C AND DDC=DO;
TJ18D:=DC>=HC AND HC>=C AND DDC<DO;
JJ:=AMOUNT/VOL/100;{股民学院 www.58188.com 整理}
天地:C/DC*100,NODRAW,COLORRED;
天人:C/HC*100,NODRAW,COLORYELLOW;
人地:HC/DC*100,NODRAW,COLORGREEN;
天和:C/JJ*100,NODRAW,COLORMAGENTA;
XH:=天地>100 AND 天和>102 AND 天人>100 AND 人地>100;
STICKLINE(TJ1,HC,C,0.5,0),COLORYELLOW;
STICKLINE(TJ2,HC,C,0.5,0),COLORWHITE;
STICKLINE(TJ3,HC,C,0.5,0),COLORGREEN;
STICKLINE(TJ4,DC,C,0.5,0),COLORYELLOW;
STICKLINE(TJ5,DC,C,0.5,0),COLORWHITE;
STICKLINE(TJ6,DC,C,0.5,0),COLORGREEN;
STICKLINE(TJ7,DC,C,0.5,0),COLORYELLOW;
STICKLINE(TJ8,DC,C,0.5,0),COLORWHITE;
STICKLINE(TJ9,DC,C,0.5,0),COLORGREEN;
STICKLINE(TJ10,0,C*0.995,0.5,0),COLORYELLOW;
STICKLINE(TJ11,0,C*0.995,0.5,0),COLORWHITE;
STICKLINE(TJ12,0,C*0.995,0.5,0),COLORGREEN;
STICKLINE(TJ13,HC,C,0.5,0),COLORYELLOW;
STICKLINE(TJ14,HC,C,0.5,0),COLORWHITE;
STICKLINE(TJ15,HC,C,0.5,0),COLORGREEN;
STICKLINE(TJ16,0,C*0.995,0.5,0),COLORYELLOW;
STICKLINE(TJ17,0,C*0.995,0.5,0),COLORWHITE;
STICKLINE(TJ18,0,C*0.995,0.5,0),COLORGREEN;
STICKLINE(TJ1H,DC,HC,2.5,0),COLORMAGENTA;
STICKLINE(TJ2H,DC,HC,2.5,0),COLORWHITE;
STICKLINE(TJ3H,DC,HC,2.5,0),COLORGRAY;
STICKLINE(TJ4H,0,HC*0.995,2.5,0),COLORMAGENTA;
STICKLINE(TJ5H,0,HC*0.995,2.5,0),COLORWHITE;
STICKLINE(TJ6H,0,HC*0.995,2.5,0),COLORGRAY;
STICKLINE(TJ7H,HC,C,2.5,0),COLORMAGENTA;
STICKLINE(TJ8H,HC,C,2.5,0),COLORWHITE;
STICKLINE(TJ9H,HC,C,2.5,0),COLORGRAY;
STICKLINE(TJ10H,HC,DC,2.5,0),COLORMAGENTA;
STICKLINE(TJ11H,HC,DC,2.5,0),COLORWHITE;
STICKLINE(TJ12H,HC,DC,2.5,0),COLORGRAY;
STICKLINE(TJ13H,HC*0.995,0,2.5,0),COLORMAGENTA;
STICKLINE(TJ14H,HC*0.995,0,2.5,0),COLORWHITE;
STICKLINE(TJ15H,HC*0.995,0,2.5,0),COLORGRAY;
STICKLINE(TJ16H,C,HC,2.5,0),COLORMAGENTA;
STICKLINE(TJ17H,C,HC,2.5,0),COLORWHITE;
STICKLINE(TJ18H,C,HC,2.5,0),COLORGRAY;
STICKLINE(TJ1D,0,DC*0.995,4,1),COLORRED;
STICKLINE(TJ2D,0,DC*0.95,4,1),COLORWHITE;
STICKLINE(TJ3D,0,DC*0.995,4,1),COLORCYAN;
STICKLINE(TJ4D,DC,HC,4,1),COLORRED;
STICKLINE(TJ5D,DC,HC,4,1),COLORWHITE;
STICKLINE(TJ6D,DC,HC,4,1),COLORCYAN;
STICKLINE(TJ7D,DC*0.995,0,4,1),COLORRED;
STICKLINE(TJ8D,DC*0.995,0,4,1),COLORWHITE;
STICKLINE(TJ9D,DC*0.995,0,4,1),COLORCYAN;
STICKLINE(TJ10D,DC,C,4,1),COLORRED;
STICKLINE(TJ11D,DC,C,4,1),COLORWHITE;
STICKLINE(TJ12D,DC,C,4,1),COLORCYAN;
STICKLINE(TJ13D,DC,C,4,1),COLORRED;
STICKLINE(TJ14D,DC,C,4,1),COLORWHITE;
STICKLINE(TJ15D,DC,C,4,1),COLORCYAN;
STICKLINE(TJ16D,HC,DC,4,1),COLORRED;
STICKLINE(TJ17D,HC,DC,4,1),COLORWHITE;
STICKLINE(TJ18D,HC,DC,4,1),COLORCYAN;
DRAWICON(ISLASTBAR AND XH,MIN(MIN(C,HC),DC)*0.95,1);

上一篇:摇钱树一(通达信公式源码)

下一篇:鲤鱼跳龙门主图,魔鬼操盘系统 解盘不错(通达信公式源码)