--- title: "Ultimate Oscillator (UO)" slug: "ultimate-oscillator" description: "Unveil price momentum with the Ultimate Oscillator (UO), combining 7, 14, and 28-period timeframes to identify buy/sell signals through divergences." updated: 2024-10-31T16:12:23Z published: 2024-10-31T16:12:23Z canonical: "devexperts.com/ultimate-oscillator" --- > ## Documentation Index > Fetch the complete documentation index at: https://devexperts.com/dxcharts-docs/llms.txt > Use this file to discover all available pages before exploring further. # Ultimate Oscillator (UO) [![](https://cdn.document360.io/50ec49af-63d7-47b5-a626-625abdd7cece/Images/Documentation/v1.webp)](https://devexperts.com/dxcharts/?utm_source=kb&utm_medium=banner&utm_campaign=dxcharts) --- **Ultimate Oscillator (UO)** is a momentum oscillator that shows the price momentum based on the weighted average of three different time frames: 7-period, 14-period, and 28-period. UO oscillates on the scale from 0 to +100 and generates buy and sell signals related to divergences between the oscillator line and price. *UO = 100 x [(4 x Avg7 + 2 x Avg14 + Avg28)] / (4 + 2 + 1)* *Avgi = sum of BP / sum of TRi BP = Current Close - Minimum (Current Low or Previous Close) TR = Maxiumum (Current High or Previous Close) - Minimum (Current Low or Previous Close)* where: Avgi – weithed average TR – True Range BP – Buying Pressure i – the number of periods used in calculation ![Stoller Average Range Channel Bands](https://cdn.document360.io/50ec49af-63d7-47b5-a626-625abdd7cece/Images/Documentation/Ultimate%20Oscillator.png)*Ultimate Oscillator* ### INPUTS | Input | Description | | --- | --- | | FastLength | The number of bars used in calculation of the fast weighted average | | MediumLength | The number of bars used in calculation of the medium weighted average | | SlowLength | The number of bars used in calculation of the slow weighted average | ### PLOTS The plot renders the data you are working with on the chart. You can show/hide a plot by clicking the corresponding item in the settings. Every plot has a set of basic settings that you can change: color, weight, and type. | Plot | Description | | --- | --- | | UO | The Ultimate Oscillator plot | | Color | | --- | | Click the color rectangle under the plot's name to open the palette. Use the slider at the bottom to set the opacity of the color. ![](https://cdn.document360.io/50ec49af-63d7-47b5-a626-625abdd7cece/Images/Documentation/Color_picker.png)*Palette* To create a custom color: 1. Click![](https://cdn.document360.io/50ec49af-63d7-47b5-a626-625abdd7cece/Images/Documentation/add_custom_color_icon.png)to open the color picker 2. By using the slider at the bottom, adjust the main color 3. Then, set a shade for the main color on the palette The custom-created colors are added to your palette. To remove a custom color, drag it out of the palette. | | Weight | | Change the value (in px) to adjust the thickness of the plot. | | Type | | The following plot types are available: - **Linear.** The plot is displayed as a line. - **Column.** The plot is displayed as a histogram. - **Difference**. The plot is displayed as a line which represents the difference between High and Low prices of the bar. - **Points**. The plot is displayed as points. - **Text above candle**. The plot is displayed as the price labels above candles on the chart. - **Text below candle**. The plot is displayed as the price labels below candles on the chart. - **Triangle above candle**. The plot is displayed as triangles above candles on the chart. - **Color candle**. The candles on candle-type charts are highlighted with specified colors. | ### OVERLAYING Check **Overlaying** to display the indicator on the chart. Otherwise, the indicator is shown in a study pane down below. **Note**: To reset the settings, click **Restore to Default** next to the *SETTINGS: INDICATOR'S TITLE*