Deprecated: Array and string offset access syntax with curly braces is deprecated in /data/web/virtuals/7496/virtual/www/domains/forex.ovo.cz/en/cutenews/core/core.php on line 1318

Deprecated: Array and string offset access syntax with curly braces is deprecated in /data/web/virtuals/7496/virtual/www/domains/forex.ovo.cz/en/cutenews/core/core.php on line 1350
A Quick Setup Guide to the Range Bars on MT4
A Quick Setup Guide to the Range Bars on MT4

Download

The first step is taking the correct software and make it working.

For making the range bars on MT4 we need the generator indicator 

Download RangeBar.ex4

And for live control of the Range bars range we will need additional indicator

Download OmniaRemote.ex4


 

Installation

Now switch to the MT4 and open the data folder from menu File->Open Data Folder. Navigate to folder MQL4/indicators. Move the downloaded RangeBar.ex4 and OmniaRemote.ex4 here.

When the indicators are in place, notify the MT4 to update the indicator list. Re-launching the MT4 Terminal does the task.

Find or open a chart for the symbol, which you need the range bars for. The chart timeframe does not matter, use the one you prefer.

In the MT4 Navigator (Ctrl+N) unfold the Custom Indicators list. Drag and drop the RangeBar item onto the open chart.

A dialogue pops up. Look at the Inputs tab. Pay attention only to the Output TF entry and fill in some value (e.g.  M10). Let the rest fields default.

In the Common tab enable DLL imports.

Confirm the dialogue. The indicator appears at chart bottom in a subwindow.

You may repeat steps and add more range bar indicators to this single chart.

The second button indicates the output timeframe entered in the inputs dialogue. Clicking the button opens a hint. Open the suggested chart from menu File->Open Offline.

The chart that opens is our range bars chart.

You may open the offline chart multiple times if you need it more than once.

You may finish the guide right here and use the range bar chart as it is. But the next indicator will make your chart interactive - the way you may need.


Remote Control

In the MT4 navigator (Ctrl+N) unfold the Custom Indicators list. Drag and drop the OmniaRemote item onto the offline chart.  A dialogue pops up. Confirm the dialog. The indicator appears in a subwindow at the chart bottom.

The subwindow pane contains controls for the range bars:

  1. bar range (in points)
  2. session breaks (whether ignore trading sessions or restart the chart with a new session open)
  3. navigation shortcut to the feed chart (click the button to bring the original range bar indicator to front)

Now you have full control of the range bars directly in the chart. You may switch the range of candles as easily as you can switch the time frame.

The remote may be removed and re-attached to the offline chart any time, without affecting the chart.


History download

Now the range bars chart is working and you may control parameters directly from the chart.

What else should you do for even better range bars? One weak point is that range bars generator cannot load much history data on its own. Download as much data as you can for it - with a help of a script.

Download LoadAllHistory.ex4

Navigate to folder MQL4/Scripts. Move the downloaded item here. Re-launch the MT4 to reload the script list.

In the MT4 navigator (Ctrl+N) unfold the Scripts node. Drag and drop the LoadAllHistory to the chart with the symbol you need to download the history data for and wait for about a minute for the script to complete.


Strategies and Testing

Can strategies and strategy tester work with the range bar chart? Yes, they can in same way as with a regular chart, but we need some workaround for testing. Download the helper script for enabling the testing strategies with the range bars chart:

Download OfflineTestHelper.ex4

Navigate to folder MQL4/ScriptsMove the downloaded script here. Re-launch the MT4 to reload the script list.

In the MT4 navigator (Ctrl+N) unfold the Scripts node. Drag and drop the OfflineTestHelper onto the range bar chart you intend to use with the strategy tester.

Follow instructions it displays.

Note: The script disconnects from the current broker, so be sure you are not on the MT4 instance that may break your running strategies.

6 Comments
Posted on 2014 May 10
by burak guran @ 29 Jan 2015 08:30 am
by ovo @ 29 Jan 2015 09:52 am
Hello Burak, supposing you followed the instructions there should not be any problem. Please check the guide once more, or you might prefer the youtube video:
https://www.youtube.com/watch?v=23OAQxs6nc8
by Rakesh Chand @ 16 Feb 2015 11:01 pm
Hi there, I will be purchasing the Range Bar Indicator but can I install in 2 Pc's. I have an older PC which I use occasionally but recently bought a new Surface Pro which I carry with me when I am out and about. Response is appreciated.
by ovo @ 17 Feb 2015 04:17 am
Hello Rakesh, you can activate it on 3 PCs.
by Rakesh Chand @ 19 Feb 2015 11:37 pm
Thanks for the response on my previous query.
I have loaded and installed the Range bar and seems ok but I do have an issue with regards to the generation of the BARS. In the candle range ion sticks section I have put in a value of 20 in the hope of getting new bars every 2 PIPS for a 5 min chart. That however does not seem to happen. Am I doing something wrong. Assistance is appreciated. Regards Rakesh
by ovo @ 20 Feb 2015 05:25 am
Hello Rakesh, could you please send me a screenshot explaining what you meant? I am afraid I got lost in your description. Thank you.
Name:
E-mail: (optional)

Powered by CuteNews