UO (Ultimate Oscillator)¶
What it shows: buying pressure measured over three windows at once (short, medium and long) and blended into one number from 0 to 100.
How people use it: below 30 is oversold, above 70 overbought. Mixing three windows makes it less jumpy than a single-window oscillator.
Pairs well with: a moving average or ADX for the trend.
Settings¶
| Setting | Default | What it does |
|---|---|---|
| Fast | 7 | The short window. Must be smaller than Medium. |
| Medium | 14 | The middle window. Must be smaller than Slow. |
| Slow | 28 | The long window. |
| Oversold | 30 | The "low" line. |
| Overbought | 70 | The "high" line. |
You set the defaults on the Indicators page. A condition can use its own settings, which override the defaults for that condition only.
Ready-made conditions¶
| For | Condition | Fires when |
|---|---|---|
| Buy | UO below 30 | every candle UO is below 30 |
| Buy | UO crosses above 30 | the one candle UO moves from below 30 to above it |
| Sell | UO above 70 | every candle UO is above 70 |
| Sell | UO crosses below 70 | the one candle UO moves from above 70 to below it |
"Above", "below", "is" and "rising" / "falling" stay true on every candle the state lasts, so they can fire many candles in a row. "Crosses" and "flips" fire once, on the candle it happens, so you get one signal per move. Numbers in the condition names follow your settings on the Indicators page.
Warnings you may see¶
- "UO(7,14,28) only moves between 0 and 100, so 200 can never be reached.": a number you typed is outside the range this line can take, so the condition can never be true (or is always true). Check the number. You can still save it.
- "It can never be true: a cross happens on one candle, so it cannot happen on N candles in a row. Use 'within the last N candles' instead.": a "crosses" condition with a "… in a row" lookback of 2 or more. Switch the lookback to Within the last.
- "Fast must be between 1 and 1000" / "Fast must be a whole number": shown in the condition editor when a condition's own value is out of range. Fix the number; the condition can't be saved until then.
- "Medium must be between 1 and 1000" / "Medium must be a whole number": shown in the condition editor when a condition's own value is out of range. Fix the number; the condition can't be saved until then.
- "Slow must be between 1 and 1000" / "Slow must be a whole number": shown in the condition editor when a condition's own value is out of range. Fix the number; the condition can't be saved until then.
- "Fast must be smaller than Medium": in a condition, Fast has to stay below Medium.
- "Medium must be smaller than Slow": in a condition, Medium has to stay below Slow.
- "Fast must be smaller than Slow": in a condition, Fast has to stay below Slow.
Where they show: on the Strategies page, open Create entry conditions / Edit entry conditions (or the exit ones). Each condition's messages appear right under it. The setting messages ("must be between", "whole number", "must be one of", "must be smaller than") start with the indicator's short name, for example "MACD: Fast must be between 1 and 1000", and keep the conditions from being saved until fixed. The other warnings never block saving and are repeated in the strategy's Entry or Exit section, starting with the condition's name.
Good to know¶
- It is worked out from each candle's high, low and close (not volume).
- It needs some history before its value settles: the Slow length + 1 candles (29 at the defaults). Apathia loads that history for you.