Range Bars

Range Bars-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
Range Bars
此内容为免费资源,请登录后查看
0积分
免费资源

如果免费资源下载的文件为TXT文档

请联系站长更新!站长微信:Lv596999  Telegram:@eapoj

“Mql5官网”板块的EA基本都有,大部分是无限制NODLL版,NODLL版本MT1420升级,大多数不可用!这些EA来源为国外花钱买过来的

有需要,请联系站长!

“EA测评”板块资源全部现有,看见不错的,可以联系站长看EA在确定是否收费

“无限制EA”板块,大部分免费,下载文件全部存在,都可以免费下载

站长硬盘EA太多,因大部分时间做交易,做风控,没太多时间更新下载地址,请谅解!

需要更新下载文件,请联系站长微信!国外朋友请联系Telegram。


The robust charting solution enables creating custom live range bar charts on the MetaTrader 4 trading platform.

You can apply all of the standard and custom indicators and technical studies directly to the range bar charts and you can run EAs directly on these charts as well* (for details see text below the input summary).

To create a range bar chart you need to attach the Range Bar indicator to a standard time frame (1 minute is recommended) and use the indicator’s settings to generate a live custom chart that will be displayed on an offline chart of your choice. All of the available settings are described below:

Bar type definition

  • Range bar size  – Defines the since of the range bar
  • Range bar calculation mode – ( pips / ticks/ points / ATR % / % ) 
  • Build history for number of days
  • Build history starting from date

Settings for ATR based bar size calculation

  • Daily ATR period
  • Percentage of ATR to calculate candle size (high to low).

Chart synchronization

  • Reset Open on each trading day.
  • Override start of trading day

Misc settings

  • Display on offline chart (M2, M3, M4, M6, M7, M8, M9 or M10)
  • Apply template to offline chart (name of the template to apply to the range bars chart)
  • Automatically open offline chart (true/false)
  • Re-calculate chart on history updates.
  • Minimum chart update interval (defined in milliseconds).

Alerts and Info

  • Sound signal on new bar (true/false).
  • Only signal reversal bars (true/false).
  • Use Alert Window to display signal (true/false).
  • Sound file to play on bullish bar.
  • Sound file to play on bearish bar.
  • Color of High threshold indicator.
  • Color of Low threshold indicator.
  • Color of an inactive threshold indicator.

* EAs can be used directly on the offline chart, however, a small tweak is required, so you need to have access to your EA source code. Below is an EA skeleton example that is capable of running directly on the offline chart:

#property strict
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
{
   // You need to initialize a time to call the OnTimer event.
   // It is used to call OnTick whenever the Bid price changes.
   // The check is made every 250 ms, which should be sufficient.
   
   EventSetMillisecondTimer(250);
      
   //---
   
   return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
   // Remember to destroy timer in the OnDeinit event.
   
   EventKillTimer();

   //---      
}
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
{
   //
   // This is where all of your EA trading logic resides.
   // I just write to the log in this example...
   //
   
   Print("OnTick function call - bid = "+(string)Bid);
}
//+------------------------------------------------------------------+
//| The OnTimer function is used to call OnTick()                    |
//| whenever the Bid price changes.                                  |
//+------------------------------------------------------------------+
void OnTimer()
{
   RefreshRates();
   static double prevBid = 0; 
   
   if(Bid != prevBid)
   {
      prevBid = Bid;
      OnTick();
   }         
}
//+------------------------------------------------------------------+

图片[1]-Range Bars-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
图片[2]-Range Bars-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
图片[3]-Range Bars-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
图片[4]-Range Bars-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
图片[5]-Range Bars-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站

© 版权声明
THE END
喜欢就支持一下吧
点赞9 分享
相关推荐