通达信可转债做T神器分时主图指标公式源码

  A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03;
  DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW;
  DRAWICON(C<O AND C>REF(C,1),H,6);{假阴真阳}
均价5:AMOUNT/VOL/100,NODRAW;
假阴0:=O>C AND 均价5>REF(C,1);
  DRAWTEXT(假阴0,L-0.2,'假阴真阳'),COLORE8E8E8;
  STICKLINE(假阴0,O,C,1,0),COLORRED;
  {DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYELLOW;
  DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME)COLORYELLOW;
  DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COLORYELLOW;
  DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLORYELLOW;
  DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COLORYELLOW;
  DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,FGBLOCK),COLORYELLOW;
  DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK),COLORYELLOW;}
时间:=TIME=100000;
  N:=BARSLAST(时间),COLOR808080;
常数:CONST(IF(N=0,C,REF(C,N))),COLOR004848,DOTLINE;
  CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))),COLORWHITE;
  CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLORWHITE;
  STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080;
  H1:=MAX(DYNAINFO(3),DYNAINFO(5));
  L1:=MIN(DYNAINFO(3),DYNAINFO(6));
  P1:=H1-L1;
阻力:L1+P1*7/8,COLORFFFFFF,DOTLINE;
  DRAWTEXT(CURRBARSCOUNT=1,阻力,'      阻力'),COLORFFFFFF;
支撑:L1+P1*0.5/8,COLORFFFFFF,DOTLINE;
  DRAWTEXT(CURRBARSCOUNT=1,支撑,'      支撑'),COLORFFFFFF;
中:(支撑+阻力)/2,COLORFFFFFF,DOTLINE;
现价:CLOSE,COLORWHITE,LINETHICK1;
  MR:=C<支撑 AND CROSS(C,REF(C,2));
  STICKLINE(CROSS(现价,支撑),C,中,2,0),COLOR00CCCC;
  STICKLINE(MR=1,支撑,中,2,0),COLOR00CCCC;
  DRAWICON(MR=1 OR CROSS(现价,支撑),中,34);
  STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORMAGENTA;
  MC:=C>阻力 AND CROSS(REF(C,2),C);
  STICKLINE(CROSS(阻力,现价),C,中,2,0),COLOR8C8C00;
  STICKLINE(MC=1,阻力,中,2,0),COLOR8C8C00;
  DRAWICON(MC=1 OR CROSS(阻力,现价),中,35);
  STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORGREEN;
  DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,'      中'),COLORFFFFFF;
最新:C,LINETHICK1,COLORWHITE;
  IF(C>=REF(C,1),C,DRAWNULL),LINETHICK1,COLORWHITE;
  AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
  BB:=BETWEEN(C/AA,C+H,C-H);
  DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);
  DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);




未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图