Script gap statistics for a currency pair

Such a phenomenon as a gap in Forex has brought quite a lot of trouble to many traders; it is this phenomenon that prevents stop orders from being triggered.

To be more precise, they work, but only after the price gap has ended and at the price of its completion.

There are also a lot of strategies that use gaps as entry signals, and are guided by a pattern that says that every price gap must necessarily close.

Therefore, it is so important to choose a currency pair for which price gaps rarely occur or, conversely, to find an instrument with the largest gap size.

For these purposes, a script for statistics of gaps on Forex in the context of currency pairs was invented.

RECOMMENDED BROKER
the best choice at the moment

A fairly simple script that you just need to download and add to the scripts folder of your terminal, then open the terminal and run gap_info, that’s what our script is called.

As a result, in the currency pairs chart window you will see:

Gepp statistics for several currency pairs over a period of several months.

When you first launch it, statistics for 1970 may be displayed for some currencies, so you need to click on the script again.

The tool has virtually no settings, and to edit the default currency pairs, just go to MetaEditor and edit the pairs in this line:

string txt[9] = {"EURUSD","USDJPY","EURGBP","GBPUSD","EURCHF","GBPJPY","USDCHF","AUDUSD"}

If you use the script without editing, you will see statistics on the pairs listed above for the past months.

Overall a fairly simple and at the same time useful tool.

Download Script statistics gap for a currency pair

Joomla templates by a4joomla