Hello traders and developers!
I was wondering how built-in "dev" function in Pine is calculated so I made a little research.
I examined 7 samples:
0) "dev" function itself
1) "dev" according to its description: series - sma(series)
2) Mean Absolute Deviation
3) ratio of the absolute difference from 1) divided by period
4) ratio of the difference from 1)...
This indicator can apply my previous indicator, Historical and Standard Stochastic, to Money Flow (ADMF) or Absolute Strength Index (ASI) or both at the same time. It can also display those two indicators in regular mode as well as showing visual cues when the indicators make new ATH or ATL.
ASI is basically a new name I am giving to my Gain/Loss Moving Average...
As you can see in the chart below, regular ATR is not useful for long term analysis. Normalizing it, fixes the issue. This indicator can be used to measure absolute volatility. It has a built-in stochastic as well for relative volatility. ATR counts high and low in the equation unlike Bolinger Band...
Measures the period's change in terms of the instrument's value (e.g. pip, dollar, etc) instead of as a percentage. I generally use it on a daily time frame with a period=1 to see how the current day's move compares with prior days' moves in order to gain a perspective into how this move ranks historically.
The Absolute Price Oscillator displays the difference between two exponential
moving averages of a security's price and is expressed as an absolute value.
How this indicator works
APO crossing above zero is considered bullish, while crossing below zero is bearish.
A positive indicator value indicates an upward movement, while negative readings
Balihuntul Normalized Absolute Volume by RagingRocketBull 2018
This indicator shows absolute and/or normalized volume for an asset, allows for more accurate volume based comparisons (like a log scale for volume).
Volume is measured in coins traded, not USD traded, so direct comparisons of different price moves may not be accurate.