alexgrover

Kaufman Adaptive Correlation Oscillator

Introduction

The correlation oscillator is a technical indicator that measure the linear relationship between the market closing price and a simple increasing line, the indicator is in a (-1,1) range and rise when price is up-trending and fall when price is down-trending. Another characteristic of the indicator is its inherent smoothing which provide a noise free (to some extent) oscillator.

Such indicator use simple moving averages as well as estimates of the standard deviation for its calculation, but we can easily make it adaptive, this is why i propose this new technical indicator that create an adaptive correlation oscillator based on the Kaufman adaptive moving average .

The Indicator

The length parameter control the period window of the moving average, larger periods return smoother results while having a low kurtosis , which mean that values will remain around 1 or -1 a longer period of time. Pre-filtering apply a Kaufman adaptive moving average to the input, which allow for a smoother output.


No pre-filtering in orange, pre-filtering in yellow, period = 100 for both oscillators.

If you are not aware of the Kaufman adaptive moving average , such moving average return more reactive results when price is trending and smoother results when price is ranging, this also apply for the proposed indicator.

Conclusion

Classical correlation coefficients could use this approach, therefore the linear relationships between any variables could be measured. The fact that the indicator is adaptive add a certain potential, however such combination make the indicator have the drawback of kama + the correlation oscillator, which might appear at certain points.

Thanks for reading !
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?
Patreon: https://www.patreon.com/alexgrover

Become a Patreon and get access to exclusive technical indicators!

You can also check out some of the indicators I made for luxalgo : https://www.tradingview.com/u/LuxAlgo/#published-scripts

תגובות

always follow your great work
I make this one from it
+2 השב
alexgrover RafaelZioni
@RafaelZioni, Glad it could help.
השב
Thank you. You are teaching me very much
+1 השב
alexgrover Peeinthebutt
@Peeinthebutt, Thanks for your suport :)
השב
Hi Alex,

Thanks for sharing!!!!!! Always unique!!!!!! Love it!!!!!!!
+1 השב
alexgrover sudhir.mehta
@sudhir.mehta, Thx for the nice comment :)
השב
brilliant alex… you are a-maze-ing :)
+1 השב
alexgrover idrisbengali
@idrisbengali, Thx for the praise, i hope the indicator will be of use to you :)
השב
Your mathematical know hows and clean codes are really impressive, always giving me something to think about. Thank you :)
+1 השב
alexgrover Pratik_4Clover
@Pratik_4Clover, I'am glad i can inspire with my work, you are welcome :)
+1 השב