Page 4 of 5

Re: Polynomial regression

PostPosted: Mon Sep 02, 2013 10:49 am
by Himalaya
Patrick,

Yes I am looking for a feature different then Scratpower's Poly-reg-Static which fixes in time the centerline/MA.

I.e., on a D1 chart I am interested to to see where the Deviation Channels where last week, last month or on any given date.

Having an adjustable start date will allow one to truly see where the channel was historically as the end date is already adjustable through the "Period" setting.

This will allow visual backtesting of any method using Polynomial Regression Channels on any time frame as one could go back in time and verify where the channels where on any given date/time series.

Thanks for your support of the feature request. When I look at code it looks like hieroglyphics so I am not sure how difficult or easy adding this type of feature is.

Himalaya

Re: Polynomial regression

PostPosted: Tue Sep 03, 2013 2:11 am
by Apprentice
I'm not sure whether I understand you.
Do you want Polynomial regression for the whole period from the first this last,
or Do you want Polynomial regression, for the current period,
from current-period Thill current period.

Re: Polynomial regression

PostPosted: Tue Sep 03, 2013 9:05 am
by Himalaya
Hi Apprentice,

I would like to be able to see where the Polynomial Regression Channel was in the past.

Currently if the "Period" parameter is set to 100, the indicator will use the current bar/candle as the first data point and then include the previous 99 data points.

I would like the indicator to have an adjustable "Start Bar/Candle" feature (an offset first data point). So that a user could set the first data point "X" bars back. The indicator would then use that "Start" bar as the first data point and then look back 99 bars or whatever the user had chosen in the "Period" parameter.

Let me know if I have still not explained it clearly.

Himalaya

Re: Polynomial regression

PostPosted: Thu Sep 05, 2013 1:56 am
by Apprentice
Your request is added to the development list.

Re: Polynomial regression

PostPosted: Thu Sep 05, 2013 11:56 am
by Apprentice
Customizable_Polynomial_Regression has the desired functionality.
See topmost (first) post of this topic.

Re: Polynomial regression

PostPosted: Thu Sep 05, 2013 3:24 pm
by Himalaya
Big Thanks Apprentice,

This is exactly what I was looking for.

Himalaya

Re: Polynomial regression

PostPosted: Mon Sep 23, 2013 4:47 am
by Apprentice
Polynomial Regression Moving Average added.

Re: Polynomial regression

PostPosted: Thu Oct 02, 2014 5:41 am
by volnmar
can you please add alert after price cross Deviation?

Re: Polynomial regression

PostPosted: Sat Oct 04, 2014 2:40 am
by Apprentice
Can you specify for which of indicators above, you're interested.

Re: Polynomial regression

PostPosted: Mon Oct 06, 2014 7:16 am
by volnmar
Polynomial_Regression.lua and Customizable_Polynomial_Regression.lua