About Ultimate Oscillator
The Ultimate Oscillator measures buying pressure: how far each close is above the bar's true low, compared with the bar's true range, over three lengths at once. This version draws it with 30, 50 and 70 lines and marks on the price chart the bars where UO breaks out of a divergence with price, following the divergence steps that come with this oscillator.
How UO is worked out
- Buying pressure = close − the lower of the low and the previous close. True range = the higher of the high and the previous close − the lower of the low and the previous close.
- UO = 100 × (4 × A7 + 2 × A14 + 1 × A28) ÷ 7, where A7 is the sum of buying pressure over 7 bars divided by the sum of true range over 7 bars. Lengths and weights are settings. With the defaults the values match MetaTrader 5's example Ultimate Oscillator.
- UO stays between 0 and 100. The line is gray, blue below the lower level (30) and red above the upper level (70).
Arrows
- Swings: a UO low lower than the 3 bars before it and not above the 3 bars after it (setting). Highs the other way round.
- Bullish: the two latest UO lows within 60 bars, the first one below 30, the second one higher, while price made a lower low around them. The arrow goes on the first bar where UO closes above its highest point between the two lows, within 20 bars after the second low is confirmed. Label: Bullish divergence.
- Bearish: the same with UO highs, the first one above 70, a lower second high while price made a higher high, and a close below UO's lowest point between them. Label: Bearish divergence.
- A line joins the two price lows (highs) on the chart and the two UO lows (highs) in the UO window, with a dotted line at the level UO broke.
- Upper level is 70 by default, the same distance from 50 as 30. The original divergence rule for bearish setups uses 50; set Upper level to 50 to follow it.
- Decided on closed bars; the forming bar never has an arrow. Arrows sit beyond the highest high or lowest low of the signal bar and the 5 bars before it.
Exit marks
- Off by default. After a bullish arrow: UO above 70, or UO above 50 and then below 45. After a bearish arrow: UO below 30, or UO above 65. A diamond and the label Exit.
- A new arrow in the same direction waits until one of these happens or an arrow in the other direction appears, even with the exit marks hidden.
Signal line and higher timeframe
- Signal line: an MA of UO (EMA, SMA, SMMA or LWMA). Off by default (period 0).
- Higher-timeframe UO: a dotted line from the closed bars of a higher timeframe, so past values do not change. Auto picks the nearest timeframe at least 4 times the chart timeframe, or choose M5 to MN1. Off by default.
Alerts
- Choose arrows, exit marks (when shown) or both, and bullish, bearish or both directions, for example "Bullish UO divergence breakout 156.300: USDJPY H1" or "Bullish divergence exit (UO above 70) 156.420: USDJPY H1".
- Checked once per closed bar, and not when the indicator is first added. Popup, sound, push notification and email, all off by default. Alerts are at least 60 seconds apart (setting); ones that come in between are sent together, not dropped.
For EAs
- Buffer 0: UO. Buffer 3: signal line. Buffer 4: higher-timeframe UO.
- Buffer 5: bullish arrow. Buffer 6: bearish arrow. Buffer 7: exit after a bullish arrow. Buffer 8: exit after a bearish arrow. They hold the close of the bar (never 0), are filled even when the marks are hidden, and the forming bar is always empty.
Notes
- UO reaches 30 or 70 only now and then, so the arrows are few.
- The arrows show where UO broke out of a divergence with price. They do not say which way price goes next.
- A charting tool, not financial advice.
Common questions
Which platforms and brokers do your indicators work with?
MetaTrader indicators come with both the MT4 and the MT5 version in one download. TradingView scripts run on TradingView. Each product page lists its platforms.
The MetaTrader versions run in any broker's standard MT4 or MT5 terminal, on any symbol and timeframe. There is no broker lock-in.
Do your indicators repaint?
It depends on the tool, and each product page says how its marks behave. Arrows and marks that are checked at the close of the bar stay where they are once printed.
Tools that find swing highs and lows with ZigZag can only confirm a swing after price has moved away from it, so the newest swing can still move until then. Lines and oscillators update on the bar that is still forming, like any indicator, and are final when that bar closes.
What exactly do I get, and in what format?
MetaTrader products: you download a single .zip containing the compiled builds — .ex4 for MT4 and .ex5 for MT5.
TradingView products run on your TradingView account — there is nothing to download.
Paid products include updates for as long as they are offered. Free tools stay free.
How is it delivered?
Free tools download straight from this site with no signup. Free TradingView scripts are added from their TradingView page.
Paid MetaTrader tools: the download is ready right after checkout through our payment provider, Whop.
Is it a one-time purchase or a subscription?
Each product page says what you get and for how long. Access sold for a fixed period ends when the period ends and does not renew unless the page clearly says it is a subscription. Prices are in USD. See our Terms.
Can I get a refund?
Paid products are digital and delivered immediately, so they are not refundable once delivered — except when a product does not work as described and we cannot fix it. Email us within 14 days of purchase and we will refund it.
Rights your local consumer law gives you are not affected. Full details are in our Terms.
Do you offer support?
Yes, by email: questions about how a tool works, installation problems, bugs, payments and refunds. Each product page and this FAQ cover installation and use, so most answers are already there.
We do not offer one-to-one setup sessions or trading advice.
See all FAQs