I am trying to create a strategy using regression channel but there is no 'Regression Channel' (Linear Regression Channel' indicator
Linear regression is used to calculate a best fit line for the price data. In addition an upper and lower band is added by calculating the standard deviation of prices from the regression line.
I need the regression channel indicator to allow me to have variables for number of bars(periods) and std deviation and also when I use the indicator in a strategy I need to be able to specify upper, lower, or mid line; or have 3 indicators: Regression Channel-Upper, Regression Channel-Lower, Regression Channel-Mid
Any help would be appreciated.
Size:
Color:
Wealth-Lab has
Linear Regression indicator which can be used to build the StdDev bands (or most other type of bands for that matter) around it. This simple example a start for your strategy:
CODE:
Please log in to see this code.
Size:
Color: