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.
เอกสารเผยแพร่: 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.
สคริปต์โอเพนซอร์ซ

จากใจ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ยินดีด้วย! คุณสามารถใช้มันได้ฟรี แต่การใช้โค๊ดนี้ซ้ำเพื่อการเผยเเพร่ อยู่ภายใต้ กฎของเรา คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้กับชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

ความคิดเห็น

What would be your entry point and exit point of this indicator?
+2 ตอบกลับ
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 ตอบกลับ
Thanks PROFESSOR
+1 ตอบกลับ
Awesome. Thanks for sharing your work, much appreciated!
+1 ตอบกลับ
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.
ตอบกลับ
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.
ตอบกลับ
Would variables x, t, and n take the place of the out of the function declared variables such as src, per and smper? Thanks.
ตอบกลับ
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.
ตอบกลับ