DonovanWall

Quadratic Regression Slope [DW]

This is a study geared toward identifying price trends using Quadratic regression.

Quadratic regression is the process of finding the equation of a parabola that best fits the set of data being analyzed.

In this study, first a quadratic regression curve is calculated, then the slope of the curve is calculated and plotted.

Custom bar colors are included. The color scheme is based on whether the slope is positive or negative, and whether it is increasing or decreasing.
Versionshinweise: Updates:

-> Migrated to v4.
-> Updated QRS function for improved performance.
-> Added an offset parameter to the script, which will base current value on offset values of the extrapolated QR curve.
-> Included some experimental signal processing procedures:
- Added an option to normalize the oscillator scale using RMS.
- Added an optional compression algorithm to the script. This can be used to reduce transients (short duration, high amplitude values) by a specified level of intensity.
-> Updated color scheme.
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?
For my full list of premium tools, check the blog:
https://wallanalytics.com/

Reach out on Telegram:
https://t.me/DonovanWall

Kommentare

What would be your entry point and exit point of this indicator?
+2 Antworten
Great work. It’s great to see you publishing again. I’m looking forward to see what demons you release over the next while.
+2 Antworten
Thanks PROFESSOR
+1 Antworten
Awesome. Thanks for sharing your work, much appreciated!
+1 Antworten
Yea I can't get smoothing to work with V4, nothing happens when I change it. It's always level 1 smoothness no matter what number is entered in the field. My opinion is that version 3 was better and V4 should be a different indicator entirely. V3 which had the ideal level of functionality should have been left alone and preserved as the impressive work that it was.
Antworten
DonovanWall Skipper86
@Skipper86, Ah, thanks for pointing that out. It appears when I reconstructed the function, I left out the final smoothing stage. I'll fix that in the next update.
Antworten
Would variables x, t, and n take the place of the out of the function declared variables such as src, per and smper? Thanks.
Antworten
DonovanWall syracusepro
@syracusepro, my apologies on the late response. I've been working on a lot of projects lately.
To answer your question, QRS requires two inputs, x and t, which correspond to src and per in the script, respectively. smper is the sampling period for exponential smoothing of the QRS outside the function's definitions. n is the current bar number.
Antworten