设为首页加入收藏

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

通达信主图及选股公式源码 通达信爬山踏青主图及选股公式源码

2015-4-13 10:26:50 股票入门 http://rumen.southmoney.com

  通达信主图及选股公式源码 通达信爬山踏青主图及选股公式源码:

  M5:MA(C,5);

  M10:MA(C,10);

  M20:MA(C,20);

  M60:MA(C,60);

  TJ:=M5》M10 AND M10》M20 AND M20》M60 AND M5》=REF(M5,1) AND M10》=REF(M10,1) AND M20》=REF(M20,1)AND M60》=REF(M60,1);

  TJ1:=RANGE((C-REF(C,1))/REF(C,1)*100,-5,5);

  T:=BARSLAST(CROSS(TJ AND TJ1,0.5));

  TJ3:=C》=M5 AND O《M5;

  TJ4:=DOWNNDAY(MIN(C,O),2);

  TJ5:=M5/M20《1.1;

  XG:=TJ3 AND EVERY(TJ AND TJ1,T+1) AND T》12 AND TJ4 AND TJ5;

  STICKLINE(XG,C,O,2,0),COLORGREEN;

  STICKLINE(XG,H,L,0,0),COLORGREEN;

  DRAWTEXT(XG,L*0.95,‘爬山踏青’),COLORGREEN;

  {

  选股公式:

  M5:=MA(C,5);

  M10:=MA(C,10);

  M20:=MA(C,20);

  M60:=MA(C,60);

  TJ:=M5》M10 AND M10》M20 AND M20》M60 AND M5》=REF(M5,1) AND M10》=REF(M10,1) AND M20》=REF(M20,1)AND M60》=REF(M60,1);

  TJ1:=RANGE((C-REF(C,1))/REF(C,1)*100,-5,5);

  T:=BARSLAST(CROSS(TJ AND TJ1,0.5));

  TJ3:=C》=M5 AND O《M5;

  TJ4:=DOWNNDAY(MIN(C,O),2);

  TJ5:=M5/M20《1.1;

  XG:TJ3 AND EVERY(TJ AND TJ1,T+1) AND T》12 AND TJ4 AND TJ5;

  }

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