Available translations

Average VS Average

foundations.png
Summary: An oscillator that considers averages of price, volume and "open interest".
Average VS Average
The Average VS Average Oscillator can be used to recognize changes between a fast average and a slow average. It measures Price Movement, Volume and a so called Open Interest.
The idea is to visualise if the trend weakens or gets stronger, within the current trend.
The indicator is a zero-line cross indicator that is best used with an own rate and scale (in order to place it below the candle chart).
The elements in the indicator are:
  • A mid-line that represents the slow average of the elements (it always has the value 1).
  • A green line that shows fast average Bull Power compared to the slow average.
  • A dotted line that shows the fast average Open Interest compared to the slow average.
  • Faded green and red bars in the background that shows the fast average volume compared to the slow average volume. It changes colors depending on the previous value.
  • Non-faded green and red bars close to the zero-line showing the fast price average compared to the slow price average. It changes colors depending on the previous value.
What is "Open Interest"?
The idea of measuring Open Interest - is that a red candle might not be an indication of a bearish interest and vice versa. Considering volume, candle direction and amount movement defines the strength of Open Interest.
  • Bull Candle and Volume Increase = Bull Interest
  • Bull Candle and Volume Decrease = Bear Interest
  • Bear Candle and Volume Increase = Bear Interest
  • Bear Candle and Volume Decrease = Bull Interest
How is the Average VS Average calculated?
  • Bull Power is defined by measuring the value between candle min and candle close, out of the total candle range. Comparing the fast average Bull Power through the slow average Bull Power.
  • Volume is measured by the fast average Total Volume through the slow average Total Volume.
  • The fast average Price is compared to the slow average Price.
  • The fast average Open Interest is compared to the slow average Open Interest.
Change the input to optimise it for your use case!
Most of Omega indicators can use different period values. To change periods:
  • Put the text marker in the edit box, and press Arrow Up until you reach the top of the code.
  • Look for "User defined values".
  • Enter the values of your choice.
Products, Properties & Examples
Product Name Product Variable Properties
Average VS Average averageVsAverage bullPriceDeviation, smaPrice, volumeDeviation, openInterestDeviation
 /* EXAMPLES */

// Average price is increasing compared to the slow average price
chart.at01hs.averageVsAverage.previous.smaPrice < 
chart.at01hs.averageVsAverage.smaPrice

// Bull Power crosses the mid-line (mid-line is always '1') (Bullish)
chart.at01hs.averageVsAverage.previous.bullPriceDeviation < 1 &&
chart.at01hs.averageVsAverage.bullPriceDeviation > 1

// Bull Power crosses the mid-line while Open Interest is above mid-line (Bullish)
( chart.at01hs.averageVsAverage.previous.bullPriceDeviation < 1 &&
chart.at01hs.averageVsAverage.bullPriceDeviation > 1 ) &&
chart.at01hs.averageVsAverage.openInterestDeviation < 1

// Volume increases and SMA Price is below mid-line and SMA Price is getting stronger
chart.at01hs.averageVsAverage.previous.volumeDeviation < 
chart.at01hs.averageVsAverage.volumeDeviation &&
chart.at01hs.averageVsAverage.smaPrice < 1 &&
chart.at01hs.averageVsAverage.previous.smaPrice < 
chart.at01hs.averageVsAverage.smaPrice
Previous
ARPS Slow & ARPS Fast
Next
Arnaud Legoux Moving Average (ALMA)