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


Ultimate_Oscillator - indicator for MetaTrader 5

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

Published by:
Nikolay Kositsin
votes: 20
2012.02.06 14:01
2016.11.22 07:32

Real author:


The Ultimate Oscillator (Ultimate Oscillator), proposed by Larry Williams is calculated as weighted value of three Stochastic indicators, calculated for fast, middle and short periods. The periods ratio is selected as follows 1:2:4 (doubling) or 1:2:3. The periods depend on market. The recommeneded values are: 7-14-28 or 7-14-21.

Larry Williams recommend to open position after formation of divergence.

Buy signals:

  • The bullish divergence has appeared: the price at new minimum, the indicator is not at new minimum;
  • During the bullish divergence formation the oscillator < 30;
  • The oscillator grow higher than maximum level, achieved during formation of bullish divergence. It's the best time to buy.

Close long positions:

  • The Oscillator value achieved 50 and fall lower than 45;
  • The oscillator value > 70 (in some cases it's recommened to wait the fall to 70;
  • Sell signal has appeared.

Sell signals:

  • The bearish divergence has appeared: the price at new maximum, the indicator is not at new maximum;
  • During the bearish divergence formation the oscillator > 50;
  • The oscillator fall lower the minimum level, achieved during formation of the bearish divergence.

Close short positions:

  • Oscillator > 65;
  • Oscillator < 30;
  • Buy signal has appeared.

This indicator was first implemented in MQL4 and publised in Code Base 09.02.2007.

The indicator uses the classes from SmoothAlgorithms.mqh library, described in article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Ultimate Oscillator indicator

Ultimate Oscillator indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:


Internal Bar Strength Indicator measures the "inner strength" of each bar by subtracting the close price from the low and dividing the resulting number by the difference between high and low bars.

X2MA_KLx3_Cloud X2MA_KLx3_Cloud

Keltner Channel displayed as colored background.

TrendManager TrendManager

Visual trend indicator that shows the direction and power of the current price movement.

Sidus Sidus

This indicator is based on the first version of Sidus trading method. It shows market entry points.