OPEN-SOURCE SCRIPT

Rough Average

Updated
The Rough Average indicator is a unique technical tool that calculates a modified average to provide insights into market conditions. It incorporates a combination of mathematical operations and existing indicators to offer traders a different perspective on price movements.

The Rough Average indicator aims to capture market dynamics through a specific calculation method. It utilizes two main components: a check for the approximate scale of the price and a profile calculation based on the Relative Strength Index (RSI) of the closing price.

Methodology:
  • Approximate Scale: The indicator determines the approximate scale of the price by analyzing the magnitude of the closing price. This step involves a mathematical process that identifies the power of 10 that best represents the scale. This function reduces overall lag and gives a better smoothing to the output of the calculation
  • Profile Calculation: The indicator calculates a profile value by summing the absolute values of the RSI of the closing price over a specified period. The RSI provides insights into the strength or weakness of price movements. The profile calculation considers a range of prices based on the determined scale.

Indicator Calculation:
The Rough Average is derived by applying the Exponential Moving Average (EMA) to the calculated profile. The EMA is a smoothing technique that emphasizes recent price data. The resulting value represents the modified average of the indicator.

Utility:
The Rough Average indicator offers traders an alternative perspective on market conditions. By utilizing a modified average calculation, it can reveal potential trends, reversals, or periods of market strength or weakness. Traders can use the Rough Average to complement their analysis and identify possible trading opportunities.

It is important to note that the effectiveness of the Rough Average indicator may vary depending on the specific market and trading strategy. It is recommended to combine its analysis with other technical indicators and conduct thorough testing before making trading decisions.

Key Features:
  • Customizable OB\OS Levels
  • Bar coloring methods: Trend, Reversions, Extremities


Example Charts:
snapshot
Release Notes
Updated license
averageCentered OscillatorsmeanreversionOscillatorsoverboughtoversoldpricemovementrelativestrengthRelative Strength Index (RSI)roughtrendindicator

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer