Plug-in installation
To start the installation process download the latest renko plug-in and follow these steps:
First, open MT4 and make sure that you have enabled DLL imports. This is done in the Expert Advisors tab of the MT4’s Options window (you can press CTRL-O to bring up this window in MT4):
Make sure that you have enabled “Allow DLL imports” as presented on the screen above. “Allow automated trading” can also be enabled, but it is not required for the plug-in to work correctly.
The screen above may look different in various MT4 builds, but the “Allow DLL imports” option is present in all of them.
When finished with the above, you’ll need to close MT4 and run the downloaded renko setup program.
You can follow the installation process covered in the following video or read through the text below it:
When you run the setup program you will see a window similar to the following one:
After clicking [Next > ] and accepting the license agreement, you will need to select the installation folder where Renko bars should be installed. This needs to be your MT4 installation folder (not the /experts, /experts/indicators or any other sub-folder). The installed files will automatically be synchronized with your data folder, so no manual file copying is required.
The illustration above is only an example. You’ll need to select your own MT4 program folder, which is where you installed Metatrader and where terminal.exe is located.
When in doubt please read this short guide.
The installation process will begin once you select the destination location, click [ OK ] and press [NEXT >].
Once the installation process is complete, you’ll need to activate the software using the “Activate.exe” utility. The activation process is described in the readme file on google drive.
Using the RenkoBarChart plug-in
To use the plug-in, first attach the RenkoBarChart_b574 indicator to a 1M chart of an instrument of your choice (i.e. currency pair, index, etc.). This can do this by dragging the indicator from the Navigator window’s Custom Indicators branch onto the selected M1 chart or by double-clicking the indicator name (RenkoBarChart on the picture below) in the Navigator window.
This action will bring up the following screen, where you can set the plug-in parameters:
Note: Charts may not automatically build during the weekend, but will start once the market opens on Sunday/Monday. However, clicking refresh on the chart will also force the history to build.
The variables and the meaning of their values are described below.
- RenkoBoxSizeInPips
- OfflineTimeFrame
- useFirstRenkoOffset & FirstRenkoPipOffset
- BarType
- ResetOpenOnNewTradingDay
- RenderUsing1MhistoryBars
- StartFromBar
- RefreshOnHistoryUpdates
- RefreshChartOnAskPriceChange
- chartUpdateInterval
- Dynamic Bar Size Setting section
Once you set the values described above to the desired settings and press the [ OK ] button you will see the following comment in the lower part of the M1 anchor chart:
Now you need to open the generated offline chart (i.e. USDCAD,M3 – as shown in the comment displayed above) to access the LIVE renko chart. To do this go to the File menu in your MT4 terminal and click on the Open Offline menu item:
This will open the Open Offline Chart window, where you’ll need to locate the appropriate chart on the list (USDCAD,M3 in our example) and click [ OPEN ] to access the RENKO chart in your terminal.
The “offline” chart will start displaying live price action as soon as new quotes are received by MT4 and new RENKO bars will be created as they are formed.
Please note that every time the plug-in is attached (or MT4 terminal is restarted) it will recalculate all historical data so keep this in mind when you set the “RenderUsing1MhistoryBars” to 0 (all of history).
Backtesting RENKO
There are two valid ways of backtesting RENKO charts in MT4 – both have been described in separate blog posts:
- Backtesting using completed bar analysis only
- Backtesting using tick data (every tick is backtested and taken into account)
Using the Tick Chart plug-in
To use the TickChart plug-in, simply attach the TickChart_b574 EA to an instrument of your choice (i.e currency pair, index, etc.) and set the TicksPerBar and OfflineTimeFrame parameters accordingly:
Next, open the offline chart (i.e. GBPUSD,M3 – as defined in your EA settings) to access the LIVE tick chart. This procedure is described in detail in the “Using the RENKO plug-in” section just above.
TickCharts are built on-the-fly, while new ticks are received by The MT4 terminal. Historical tick charts are not available due to the limitations of the MT4 terminal.
Updating the plug-in to the latest version
The plug-in(s) can be easily updated once new plug-in features or bug fixes are released.
To update your plug-in close your MT4 terminal and run the updater program which will automatically check for newer versions, download the new files, and patch your existing plug-in installation. If you have multiple MT4 installations on your system, you should update all instances by using the updateRenkoPlugin.bat file, which is located in your MT4 installation folder.
JAN
2014