Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Open_Oscillator

Open_Oscillator calculates Open price change dynamics for a specified period of time. It draws two lines - minimum and maximum Open prices for the range relative to the current values, as well as two signal lines.

It has two configurable parameters:

  • Period - calculation period;
  • Signal period - signal lines smoothing period.

Calculation:

Low = MinPos - Open  High = Open - MaxPos  SignalLow = EMA(Low, Signal period)  SignalHigh = EMA(High, Signal period)  

where:

  • MinPos - lowest price within the Period range;
  • MaxPos - highest price within the Period range.
The location of the signal lines relative to each other indicates a trend, the crossings of the signal and the oscillator lines indicate the entry direction.

MetaTrader Experts, Indicators, Scripts and Libraries

21543