Range Bars Manual

  • Uploaded by: Artur Zas
  • 0
  • 0
  • February 2021
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Range Bars Manual as PDF for free.

More details

  • Words: 1,221
  • Pages: 11
Loading documents preview...
How to setup RANGE charts on MT4 using the RangeBarChart_v2xxxl indicator (rev B)

1. Installing the plug-in. To start the installation process download the latest plug-in from: http://www.the-forex-strategy.com/downloads/rangebars_setup.exe and follow these steps: 1. Open MT4 , 2. Enable DLL imports in MT4: This is done in the Expert Advisors tab of the MT4's “Options” window ( press CTRL-O to bring up the options window)

Make sure that you have enabled the options presented on the screen above. 3. Close MT4 , 4. Run the downloaded installation program. You will see the following window:

© 2010-2012 www.the-forex-strategy.com

After clicking [Next > ] the following window will be displayed:

This is where you enter your product key* and click [NEXT >]. *) The Product Key field should be left blank if you're using the 7 day evaluation. © 2010-2012 www.the-forex-strategy.com

After you accept the license agreement and click NEXT, you will need to select the MT4 installation folder where RangeBars should be installed.

The “\RangeBars” suffix will automatically be appended to the folder name. It is important that you do not change the resulting path!

© 2010-2012 www.the-forex-strategy.com

The installation process will place the plug-in files in the correct folders once you press [NEXT >] and choose Install

You may now start you MT4 terminal and start using range bars.

© 2010-2012 www.the-forex-strategy.com

2. Using the plug-in. To use the plug-in, first attach the RangeBarChart_v2xxx custom indicator to a1M chart of the chosen instrument (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 (RangeBarChart_v203e on the picture above) in the Navigator window. This action will bring up the following screen, where you can set the plug-in parameters:

© 2010-2012 www.the-forex-strategy.com

The variables and their meaning is described below: PipRange – This variable influences the size or range of each bar, which simply means how many pips (from high to low) will each candle measure. OfflineTimeFrame – This variable reflects the output time frame for the actual range bar chart. Remember that the time value has no meaning here whatsoever. It describes a unique “container” which will host the live range charts. You can input any value here as long as you do NOT use the standard MT4 time frames (1,5,15,30,60,240,1440, etc.) and you do not use the same values for other instances of the plug-in (i.e. if you want to setup several different range bar charts for a single instrument). You can leave this setting at default (2) if you are only going to use one range bar chart per instrument. RefreshChartOnAskPriceChange – This variable defines whether to send an update tick to the range chart on Ask price changes (TRUE) or only on Bid price changes (FALSE). This setting is intended to be used for running an EA directly from the range chart. You have to decide if your EA needs to recalculate on ASK price changes or will BID price changes be sufficient. Keep this setting at FALSE for normal usage (saves some CPU cycles). RenderUsing1MhistoryBars – This variable defines the amount of historical bars which will be rendered on the range chart. It defines the amount of 1M data which will be processed in order to create the historical range chart. A setting of 0 will result in using all available data on the 1M chart . RefreshOnHistoryUpdates – This variable defines whether to update the renko chart when the terminal receives missing M1historical data for the used instrument. This is usually needed if you have poor internet connection with your broker's MT4 server. UseSoundSignalOnNewBar – Set this TRUE if you want to hear a sound alert when a new range bar is formed. The corresponding variable is SoundFile, which defines the sound signal to be used. DisableComment – This setting is used to suppress the standard comment displayed by the plug-in in the top-right corner of the 1M chart when you apply the plug-in (see picture below).

© 2010-2012 www.the-forex-strategy.com

Once you set the values described above to the appropriate settings and press the [ OK ] button you will see the following comment in the top-right corner of the 1M chart (only if DisableComment is set to FALSE):

Now you need to open the generated offline chart (i.e. XAUUSD,M2 - as presented in the displayed comment) to access the LIVE range chart: 13.0 pip range bars @ offline XAUUSD,M2

To do this go to the File menu in your MT4 terminal and click on the Open Offline menu item: © 2010-2012 www.the-forex-strategy.com

This will open the “Open Offline Chart” window:

Locate the appropriate chart (XAUUSD,M2 in our example) and click [ OPEN ] - this will result in opening a new chart :

The “offline” chart will start "ticking" when new quotes are received by MT4 and new bars © 2010-2012 www.the-forex-strategy.com

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).

3. The Back testing feature: The back testing feature for RangeBars is available via RangeBarsBacktesting script, which is located in the Navigator window's Scripts branch.

When you double-click the script or drag it onto the selected instrument's chart you will see the following backtesting options:

© 2010-2012 www.the-forex-strategy.com

The variables and their meaning is described below: BactestingRangeBars – This is used to select one or more pip ranges which should be prepared for bactesting using all historical data available in MT4 (on the 1 minute chart). The values should be separated by a comma: i.e. 3,13,20 = 3 pip range, 13 pip range, 20 pip range BacktestingSpreadInTicks – This is used to select the spread value that should be used for backtesting. This value is entered in ticks so if your broker has 5 decimal quotes you should enter 20 for a 2 pip spread. RenderUsing1MhistoryBars – This variable defines the amount of historical bars which will be used to create the range chart for backtesting. It defines the amount of 1M data which will be processed in order to create the historical range chart. A setting of 0 will result in using all available data on the 1M chart. BackTestingServerName – This is the name of the virtual MT4 server that you will need to logon to in order to use the rangebars with MT4's backtester.

Once you set the values above and press [OK], the script will begin to setup the virtual server for backtesting. Once this procedure is completed you will see the following message:

© 2010-2012 www.the-forex-strategy.com

Now you can logon to the “range” server by choosing Logon from MT4's File menu

Simply enter “range” in the Server field and click Login. Your MT4 should now show “No connection”

Next you need to shout down MT4 and reopen it again. This time you will see the selected range bar symbols ready for backtesting:

Now you can open MT4's strategy tester and select the range bar value to be used by the backtester:

IMPORTANT! - Always choose M5 for the period used for backtesting as the range bar chart is stored on this time frame.

© 2010-2012 www.the-forex-strategy.com

Related Documents

Range Bars Manual
February 2021 1
Range Bars
January 2021 1
Manual De Access Bars
January 2021 1
Bars It
January 2021 1

More Documents from "renehernandezromero"

Range Bars Manual
February 2021 1
January 2021 0
Dancando..., Em894.pdf
February 2021 0