Range BreakOut Indicator

Avatar

Input:

  • Range Start Time : The starting time of the range creation
  • Range End Time : The ending time of range creation
  • Trade End Time : The time where the line of range zone high/low will be extended to
  • Minimum Size : The minimum size of the range in point
  • Maximum Size : The maximum size of the range in point

If the range size is between the minimum and maximum, indicator will print the 1st color (blue).

Original:

https://www.mql5.com/en/code/59204

Image 6449

This example gives a "Buy" and "Sell" signal when it is inside the colored rectangle

Image 6452

Outside the rectangle it does not give a signal

Image 6453

In this case, together with the "Stochastic" indicator in "Close on Collective signal" mode

Indicator:

RangeBreakOut.ex5
RangeBreakOut.mq5


Config:

Test_v2.61.set