Indicators: Polynomial Regression

 

Polynomial Regression:

A polynomial regression channel.


Author: Scriptor

 
Strategy Algorithm Examples - TrendDetectorChanal Indicator .
 
Serqey Nikitin:
Strategy Algorithm Examples - TrendDetectorChanal Indicator .

The first time - I thought it was an accident. Turns out it wasn't. I'll have to ban you

 

Hi!

Could anyone help me with the following matters? 1- How could I modify the code in such a way that this indicator can be applied on another indicator (on a MA for example) ? 2- How could I modify the code in such a way that another indicator (a MA for example) can be applied on this indicator ? 3- Finally, how could I use this indicator in my own EA code ?

Thanks for the help that can be offered to me!

 

There is a mistake when tried to compile:

It says and gives 25 error:


'matrix' - name expected Polynomial_Regression.mq5 108 58"


 
cuneytates #:

There is a mistake when tried to compile:

It says and gives 25 error:


'matrix' - name expected Polynomial_Regression.mq5 108 58"


change all the words "matrix" with another word. I changed mine to matr1x and then it compiled, no errors.

 
Revo Trades #:

change all the words "matrix" with another word. I changed mine to matr1x and then it compiled, no errors.

Hi Revo, thank you for your advice. Its works.