Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


WideRangePredictor - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 19
2012.12.06 07:52
2016.11.22 07:32

The logic is quite simple and based on the alternation of narrow and wide ranges. Draw the indicator in the following way:

  1. The histogram of the range of each candlestick (high - low).
  2. The line of average value of the range.
  3. The histogram of candlesticks body (abs(close - open)).
  4. The line of the average value of candlesticks body.

If there are several candlesticks in a row and both the range and the body size are less than their average value, so the next bar with the extended range is expected. Besides, if we have a series of candlesticks with the range and body size less than average and these candlesticks are located on the same price level, then a strong single directed movement is expected.


  • It is recommended to use the indicator on a period not lower than H4. Usually 3-5 "small" candlesticks are enough.
  • As a variant of the system, after series of the bars with a small range (the first histogram is blue) and a small body (the second histogram is lettuce green), set stop orders above and under high and low values of the last series bar. If the order is triggered, close the position on the candlestick closing.

Translated from Russian by MetaQuotes Software Corp.
Original code:

USDx dollar index USDx dollar index

USDX is an index which measures the dollar's value against a basket of six basic currencies

Exp_BrakeParb Exp_BrakeParb

The trading system based on the signals taken from the BrakeParb semaphore, signal, trend indicator

CloseSeries CloseSeries

The indicator displays a series of internal, external and single directed closing and prompts exit points on short-term trend trading

Exp_BullsBears Exp_BullsBears

The trading system based on the signals taken from the BullsBears semaphore signal trend indicator.