Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Ultimate_Oscillator - MetaTrader 5 script - MQL5 #792

author EAcpu | 5 reads | 0 comments |

Ultimate_Oscillator - indicator for MetaTrader 5

The Ultimate Oscillator ( Ultimate Oscillator ), proposed by Larry Williams, is calculated as a three-weighted stochastic indicator, calculated according to fast, medium and short term. Cycle ratios are selected as follows: 1:2:4 (doubled) or 1:2:3. The cycle depends on the market. Recommended values ​​are: 7-14-28 or 7-14-21.

Larry Williams recommends entering a position after a divergence has formed.

To close a long position:

To close a short position:

This indicator was first implemented in MQL4 and released in the code base on February 9, 2007.

The indicator uses classes from the SmoothAlgorithms.mqh library, as described in the article " Average price series for intermediate calculations without using additional buffers ".

Ultimate_Oscillator - indicator for MetaTrader 5

final oscillator


Attachment download

📎 smoothalgorithms.mqh (133.8 KB)

📎ultimate_oscillator.mq5 (6.86 KB)

Source: MQL5 #792

Verification code Refresh