Download Ultimate Oscillator for MetaTrader 5

Ultimate Oscillator

Ultimate Oscillator

This software component for MetaTrader 5 is built to enhance the capabilities of your trading environment. This technical indicator acts as a specialized analysis tool designed to visualize market data. It helps traders identify emerging trends, momentum shifts, and key support or resistance levels by plotting statistical calculations directly onto price charts.

How to Setup and Use Ultimate Oscillator

1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.

2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.

3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.

4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.

Frequently Asked Questions

Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."

Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).

Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.

Description & Settings


Usually oscillators compare the smoothened price of a financial tool and its value n periods ago. Larry Williams once noticed that the efficiency of such oscillator can vary and depends on the number of single periods you take for the calculation. So he created the Ultimate Oscillator that uses a weighted total of three oscillators with different calculation periods.
Larry Williams first described the oscillator in 1985 in the "Technical Analysis of Stocks and Commodities" magazine. The values of the indicator vary in a range from zero to 100 and the center is the 50 value. Values below 30 correspond with the overbought zone, and values between 70 and 100 - with the oversold zone.The oscillator uses three time periods that you can set manually. On default, they are equal to 7, 14 and 28 bars. Mind that longer periods comprise shorter ones. That means that 28-period values discount 14-period and 7-period values. Therefore, we use the values of the shortest period three times, so these values influence the result of the oscillator most of all.
Larry Williams recommended that you should open a position when a divergence appears.
You should buy if:

A bull divergence appeared: the prices have reached a lower minimum that hasn't been confirmed by a lower minimum of the oscillator;

The oscillator fell below 30 when such bull divergence appeared;

Then the oscillator rose above the maximum level reached in the time of bull divergence forming. This is the moment when you should buy.
Close long positions if:

The oscillator rose above 50 and then fell below 45;

The oscillator rose above 70 (sometimes you'd better wait till it drops below 70);

Sell signals appeared.
Sell if:

Bear divergence appeared: the prices have reached a higher maximum that hasn't been confirmed by a higher maximum of the oscillator;

The oscillator grew above 50 when at a bear divergence;

The oscillator fell below the minimum level reached in the time of bear divergence forming.
Close short positions if:

The oscillator grew above 65;

The oscillator fell below 30;

Buy signals appeared.
Ultimate Oscillator
Calculation:
1. Define current "True Low" (TL) - the least of two values: the current minimum and the precious closing price.
TL (i) = MIN (LOW (i) || CLOSE (i - 1))
2. Find current "Buying Pressure" (BP). It is equal to the difference between current closing price and current True Low.
BP (i) = CLOSE (i) - TL (i)
3. Define the "True Range" (TR). It is the greatest of the following differences: current maximum and minimum; current maximum and previous closing price; current minimum and previous closing price.
TR (i) = MAX (HIGH (i) - LOW (i) || HIGH (i) - CLOSE (i - 1) || CLOSE (i - 1) - LOW (i))
4. Find the sum of BP values for all three periods of calculation:
BPSUM (N) = SUM (BP (i), i)
5. Find the sum of TR values for all three periods of calculation:
TRSUM (N) = SUM (TR (i), i)
6. Calculate the "Raw Ultimate Oscillator" (RawUO)
RawUO = 4 * (BPSUM (1) / TRSUM (1)) + 2 * (BPSUM (2) / TRSUM (2)) + (BPSUM (3) / TRSUM (3))
7. Calculate the "Ultimate Oscillator" (UO) value according to the formula:
UO = ( RawUO / (4 + 2 + 1)) * 100
where:

MIN - means the minimum value;

MAX - the maximum value;

|| — a logical OR;

LOW (i) - the minimum price of the current bar;

HIGH (i) - the maximum price of the current bar;

CLOSE (i) - the closing price of the current bar;

CLOSE (i - 1) - the closing price of the previous bar;

TL (i) - the True Low;

BP (i) - the Buying Pressure;

TR (i) - the True Range;

BPSUM (N) - the mathematical sum of BP values for an n period (N equal to 1 corresponds with i=7 bars; N equal to 2 corresponds with i=14 bars; N equal to 3 corresponds with i=28 bars);

TRSUM (N) - the mathematical sum of TR values for an n period (N equal to 1 corresponds with i=7 bars; N equal to 2 corresponds with i=14 bars; N equal to 3 corresponds with i=28 bars);

RawUO - "Raw Ultimate Oscillator"

UO - stands for Ultimate Oscillator.

You May Also Like

RobotFX does not own any of the code provided on this platform. All tools are freely available on the internet; we simply index and re-offer them for download. We are not responsible for any financial losses that may occur. Trading responsibilities rely solely on the traders downloading and using the displayed Expert Advisors, indicators, and scripts. These tools are provided for educational purposes only and may require modification or optimization to align with a trader's specific strategy or needs.
© ROBOTFX - Best MetaTrader Expert Advisors & Indicators