TradingView
peacefulLizard50262
26 Nov 2022 pukul 20.43

Outlier Detecting Cumulative Moving Average (ODCMA) 

Bitcoin / TetherUSBinance

Huraian

This is a simple moving average with a rolling length that resets whenever there is an outlier in the data. I have also included volume weighting.

The length represents the lookback period for the outlier detection and the "Outlier Detection" is the deviation level to trigger the detection. You can select from: price detection, volume detection, price or volume detection, price and volume detection.

I hope you can find this script useful. Its like a session weighted moving average but instead it retriggers the cumulative sum whenever there is an outlier.

Nota Keluaran



I added true range outlier detection as option

Nota Keluaran

Fix to volume score

Nota Keluaran

added pivot points and smoothing
Komen
cooney_s
I like the concept! Good work!!!
peacefulLizard50262
@cooney_s, thank you very much!!
Lebih