TradingView
DonovanWall
30 ตุลา 2018 เวลา 7 นาฬิกา 38 นาที

Quadratic Regression Slope [DW] 

EUR/USDOANDA

คำอธิบาย

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.
ความคิดเห็น
BillionaireLau
What would be your entry point and exit point of this indicator?
RNavega
@BillionaireLau, I think it's the same for all momentum indicators, when you have an inflexion point (when it changes direction, AKA bar color). So on a downtrend you have bright red bars increasing in size, then suddenly the next red bar is smaller and is dark red. This is the entry/exit point. Same thing for green, wait for the bar to change from bright green to dark green, that's your entry/exit point.
overttherainbow
Great work. It’s great to see you publishing again. I’m looking forward to see what demons you release over the next while.
Heroturk
Thanks PROFESSOR
AltJams
Awesome. Thanks for sharing your work, much appreciated!
OutsourcE
@DonovanWall , hi! Can you please update this script?
Skipper86
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, 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.
syracusepro
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, 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.
เพิ่มเติม