设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信指标公式 通达信十年磨一刀好用的主图公式源码

2015-5-7 10:43:36 股票入门 http://rumen.southmoney.com

  通达信指标公式 通达信十年磨一刀好用的主图公式源码:

  VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));

  VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));

  VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));

  DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),8);

  DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);

  DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),‘B ’),color4440FF;

  DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),‘S ’),colorFFFF34;

  年:MA(CLOSE,26),COLOR00ff00,linethick2;

  STICKLINE(C》=年 AND C》=O,C,O,7,0),COLORRED;

  STICKLINE(C》=年 AND C》=O,H,L,0,0),COLORRED;

  STICKLINE(C》=年 AND C《O,C,O,7,1),COLORRED;

  STICKLINE(C》=年 AND C《O,O,H,0,0),COLORRED;

  STICKLINE(C》=年 AND C《O,C,L,0,0),COLORRED;

  STICKLINE(C《年 AND C》O,C,O,7,1),COLORffff00;

  STICKLINE(C《年 AND C《=O,C,O,7,1),COLORffff00;

  STICKLINE(C《年 AND C《=O,H,L,0,1),COLORffff00;

  STICKLINE(C《年 AND C》O,C,H,0,1),COLORffff00;

  STICKLINE(C《年 AND C》O,O,L,0,1),COLORffff00;

  s:=MA(VOL,5)/MA(VOL,60),colorred,,linethick2;

  a:=ma(s,5),colorgreen,,linethick2;

  BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;

  f:=ma(s,121);

  RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;

  K:=SMA(RSV,15,1);

  D:=SMA(K,15,1);

  J:=3*K-2*D;

  LC:=REF(CLOSE,1);

  RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

  DRAWTEXT(CROSS(84,RSI) , HIGH+0.05,‘逃 ▼顶 ’),COLORYELLOW ;

  DRAWTEXT(CROSS(RSI,11) , LOW-0.05,‘ 低 ▲吸 ’),COLORRED ;

  MID := MA(CLOSE,26);

  UPPER:= MID + 2*STD(CLOSE,26);

  LOWER:= MID - 2*STD(CLOSE,26);

  s1:=IF((j《11 and BIAS》-11 and cross( s,f) and (s-f)》0.010),2,0),stick,linethick3,colorgreen;

  DRAWTEXT(s1=2,LOW-0.05,‘关 ▲注 ’), colorblue;

  DRAWICON( FILTER(cross(s,a) and a《0.5 and j《20,13),LOW,1 );

  ma3:ma(close,3),colorffffff,linethick1;

  ma8:ma(close,8),color00ffff,linethick1;

  ma1000:ma(close,1000),colorf00ff0,linethick1;

  ma2000:ma(close,2000),color00ff00,linethick1;

  ma2500:ma(close,2500),color00ffff,linethick1;

  angel:ema(c,2),color000000;

  devil:ema(slope(c,21)*20+c,42),pointdot,color000000;

  buy:=cross(angel,devil);

  sel:=cross(devil,angel);

  drawtext(buy,low*0.98,‘A买’),colorf00ff0,linethick2;

  drawtext(sel,high*1.02,‘V卖’),color00ff00,linethick2;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。