网站大量收购独家精品文档,联系QQ:2885784924

mt4布林线改进版源码.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
mt4布林线改进版源码

#property indicator_chart_window #property indicator_buffers 6 #property indicator_color1 Blue #property indicator_color2 Yellow #property indicator_color3 RoyalBlue #property indicator_color4 Red #property indicator_color5 RoyalBlue #property indicator_color6 Red extern int 布周期 = 20; extern int 布偏差 = 1; extern double 资金风险系数 = 1.00; // Offset Factor extern int 显示信号样式 = 2; // Display signals mode: 1-Signals Stops; 0-only Stops; 2-only Signals; extern int 显示样线 = 1; // Display line mode: 0-no, 1-yes extern int 计算棒数 = 2000; extern bool 使用报警 = false; double 涨趋势箭[]; double 跌趋势箭[]; double 涨信号箭[]; double 跌信号箭[]; double 蓝涨线[]; double 红跌线[]; bool 已报涨= false; bool 已报跌= false; //----------------------------------------+ int init() { string 简称; SetIndexBuffer(0, 涨趋势箭); SetIndexBuffer(1, 跌趋势箭); SetIndexBuffer(2, 涨信号箭); SetIndexBuffer(3, 跌信号箭); SetIndexBuffer(4, 蓝涨线); SetIndexBuffer(5, 红跌线); SetIndexStyle(0, DRAW_ARROW, 0, 1); SetIndexStyle(1, DRAW_ARROW, 0, 1); SetIndexStyle(2, DRAW_ARROW, 0, 1); SetIndexStyle(3, DRAW_ARROW, 0, 1); SetIndexStyle(4, DRAW_LINE); SetIndexStyle(5, DRAW_LINE); SetIndexArrow(0, 159); SetIndexArrow(1, 159); SetIndexArrow(2, 233); SetIndexArrow(3, 234); IndicatorDigits(MarketInfo(Symbol(), MODE_DIGITS)); 简称= BBands Stop(+布周期+, +布偏差+); IndicatorShortName(简称); SetIndexLabel(0, UpTrend Stop); SetIndexLabel(1, DownTrend Stop); SetIndexLabel(2, UpTrend 信号); SetIndexLabel(3, DownTrend 信号); SetIndexLabel(4, UpTrend 线); SetIndexLabel(5, DownTrend 线); SetIndexDrawBegin(0, 布周期); SetIndexDrawBegin(1, 布周期); SetIndexDrawBegin(2, 布周期); SetIndexDrawBegin(3, 布周期); SetIndexDrawBegin(4, 布周期); SetIndexDrawBegin(5, 布周期); return(0); } //----------------------------------------+ int start() { int i, 趋势; double 布上轨[25000], 布下轨[25000], 布外上轨[25000], 布外下轨

您可能关注的文档

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档