关闭
关闭

大众财富-懂你财经金融门户网站

行情中心
N东方10.79 44.06%
N康拓9.91 44.01%
N永兴31.31 44.02%
N惠伦9.26 44.01%
N金科11.29 44.01%
最近访问
仙坛股份30.02 -2.50%
王子新材48.11 -0.27%
花园生物29.83 9.99%
电光科技33.80 -4.57%
中矿资源42.46 1.85%
当前位置: 主页 > 股票 > 市场专区 > 指标公式 >

通达信彩色活跃区间 判断股价强弱副图源码

时间:2022-01-14 21:09来源:未知 作者:cwz 点击:

  彩色活跃区间 判断股价强弱 副图 通达信 源码 附图

  DRAWBAND(0,RGB(0,139,255),0.5,RGB(0,139,255)),COLORFF8B00;

  DRAWBAND(0.5,RGB(0,120,0),1,RGB(0,120,0)),COLOR007800;

  DRAWBAND(1,RGB(187,0,187),1.5,RGB(187,0,187)),COLORBB00BB;

  DRAWBAND(1.5,RGB(255,58,133),2,RGB(255,58,133)),COLOR853AFF;

  DRAWBAND(2,RGB(255,152,0),2.5,RGB(255,152,0)),COLOR0098FF;

  DRAWTEXT(ISLASTBAR,0.25,'███'),COLORFF8B00;

  DRAWTEXT(ISLASTBAR,0.25,'冰冻'),COLORFFFFCC;

  DRAWTEXT(ISLASTBAR,0.75,'███'),COLOR007800;

  DRAWTEXT(ISLASTBAR,0.75,'冷门'),COLORWHITE;

  DRAWTEXT(ISLASTBAR,1.25,'███'),COLORBB00BB;

  DRAWTEXT(ISLASTBAR,1.25,'活跃'),COLORFFFFCC;

  DRAWTEXT(ISLASTBAR,1.75,'███'),COLOR853AFF;

  DRAWTEXT(ISLASTBAR,1.75,'热门'),COLORWHITE;

  DRAWTEXT(ISLASTBAR,2.25,'███'),COLOR0098FF;

  DRAWTEXT(ISLASTBAR,2.25,'高温'),COLORWHITE;

  {计算数据}

  R:=PERIOD;

  S:=FROMOPEN;

  VA1:=EMA(CAPITAL/IF(R=0,SUM(VOL,S),VOL)/CLOSE,10)/CLOSE;

  地:IF(VA1>=2.5,2.5,VA1),COLORGREEN,LINETHICK2;

  天:POW(ATAN(EMA(CAPITAL/IF(R=0,SUM(VOL,S),VOL)/CLOSE,10)),2),COLORB5CA43,LINETHICK2;

  趋势:EMA(WINNER(CLOSE)*100,10)/50,LINETHICK4,COLOR0015FF;

  买卖:EMA((-3)*(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30))+2.7,9),COLORBLUE,LINETHICK2;

  {低位信号}

  低①:买卖<0,COLORRED,NODRAW;

  STICKLINE(低①,0,-0.1,3,0),COLORRED;

  低②:买卖<0.1 AND 买卖>0 AND 买卖>=REF(买卖,1),COLORGREEN,NODRAW;

  STICKLINE(低②,0,-0.1,2.5,0), COLORGREEN;

  低③:买卖<0.25 AND 买卖>0.1 AND 买卖>=REF(买卖,1),COLORYELLOW,NODRAW;

  STICKLINE(低③,0,-0.1,2,0), COLORYELLOW;

  低A:买卖<0 AND 买卖>=REF(买卖,1),COLOR0099FF,NODRAW;

  STICKLINE(低A,0.1,-0.1,3,0), COLOR0099FF;

  低B:买卖=REF(买卖,1) AND 买卖<0.8 AND 趋势>=REF(趋势,1) AND REF(EXIST(买卖<=REF(买卖,1),2),1)

  AND REF(EXIST(买卖<=0,10),8),COLOR0099FF,NODRAW;

  STICKLINE(低B,0.3,0,3,0), COLOR0099FF;

  {高位信号}

  高①:买卖>2.5 AND 买卖>REF(买卖,1),COLORRED,NODRAW;

  STICKLINE(高①,2.6,2.4,3,0),COLORRED;

  高②:天>=1.9 AND 买卖>=2.2 AND CROSS(REF(HHV(买卖,3),3),天),COLOR007800,NODRAW;

  STICKLINE(高②,2.6,2.4,2.5,0),COLOR007800;

  高③:天<1.77 AND 买卖>=2.2 AND CROSS(REF(HHV(买卖,7),6),天),COLORFF8B00,NODRAW;

  STICKLINE(高③,2.6,2.4,2,0),COLORFF8B00;

  高A:买卖>2.45 AND 买卖<2.5 AND 买卖<=REF(买卖,1), COLORRED,NODRAW;

  STICKLINE(高A,2.5,2.4,3,0), COLORRED;

  高B:买卖>REF(LLV(买卖,5),4) AND 买卖<=REF(买卖,1) AND 买卖>1.5 AND 趋势<=REF(趋势,1) AND

  REF(EXIST(买卖>=REF(买卖,1),2),1) AND REF(EXIST(买卖>=2.48,10),8), COLOR0099FF,NODRAW;

  STICKLINE(高B,2.7,2.4,3,0), COLOR0099FF;

(责任编辑:cwz)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------