A Quick Setup Guide to the Constant Volume Charts on MT4

Download

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

For making the Constant Volume chart on MT4 we need the generator indicator 

Download TickBar.ex4

And for live control of the volume tick size we will need additional indicator

Download OfflineRemote.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 TickBar.ex4 and OfflineRemote.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 Constant Volume chart 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 TickBar 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 Constant Volume 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 Constant Volume 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 Constant Volume 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 OfflineRemote 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 Constant Volume chart :

  1. volume (in ticks)
  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 Constant Volume indicator to front)

Now you have full control of the tick size directly in the chart. You may switch the sizes 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 Constant Volume chart is working and you may control parameters directly from the chart.

What else should you do for even better Constant Volume chart? One weak point is that Constant Volume chart 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/ScriptsMove 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 Constant Volume 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 Constant Volume 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 Constant Volume 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.

0 Comments
Posted on 2014 Jul 10
Name:
E-mail: (optional)

Powered by CuteNews