Linear Regression

FrankUnique

Newbie
1 0
Hi guys
I've made this indicator some days ago, I know that there are lots of indicators like this one but most of then looks like a Moving Average. I've made based upon the formula Simple Linear regression - Wikipedia, the free encyclopedia and it gets some data(high or open or close or low) then calculates and draw an straight line obtained throught the data.

Sorry if it's the same thing of other indicator, I did because I saw some requests in other foruns too but no indicator that draw the line this way. So I hope this thing get useful for someone.

On the image you'll see the indicator, the white line that passes through the chart, it's setted to get the close data of 24 candles. It draws the line as soon as it get the number of data setted.
Cyah
 

Attachments

Last edited: