设为首页加入收藏

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

同花顺公式源码 同花顺非常准的趋势买卖公式源码

2014-12-15 10:18:47 股票入门 http://rumen.southmoney.com

  南方财富网带来同花顺公式源码 同花顺非常准的趋势买卖公式源码:

  N:=20;M:=32;P1:=80;P2:=100;

  VAR1:=(C+H+O+L)/4;

  卖出:XMA(VAR1,N)*(1+P1/1000),colorgreen,LINETHICK2;

  买入:XMA(VAR1,M)*(1-P2/1000),colormagenta,LINETHICK2;

  幅度:100*(卖出-买入)/买入,NODRAW;

  MA1:=MA(VAR1,3);

  STICKLINE(卖出》LOW AND 卖出《HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),colorgreen;

  STICKLINE(卖出》MIN(C,O) AND 卖出《MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),colorgreen;

  STICKLINE(卖出》LOW AND 卖出《HIGH,卖出,HIGH,0,0),colorgreen;

  STICKLINE(卖出《LOW,OPEN,CLOSE,3,0),colorgreen;

  STICKLINE(卖出《LOW,HIGH,LOW,0,0),colorgreen;

  STICKLINE(买入》LOW AND 买入《HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),colormagenta;

  STICKLINE(买入》MIN(C,O) AND 买入《MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),colormagenta;

  STICKLINE(买入》LOW AND 买入《HIGH,买入,LOW,0,0),colormagenta;

  STICKLINE(买入》HIGH,OPEN,CLOSE,3,0),colormagenta;

  STICKLINE(买入》HIGH,HIGH,LOW,0,0),colormagenta;

  DRAWTEXT(CROSS(LOW,买入),LOW*0.95,‘B’),colorred,LINETHICK2;

  DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,‘S’),colorgreen;

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