I want to integrate linear/polynomial regression directly into my EA so that I can avoid having to access an indicator through iCustom(). I need greater speed of execution. All I am interested in is the regression's current value and the regression's value at last bar's close (as it was before the repaint).
I am no mathematician so it is hard for me to understand how exactly the regression is calculated in the mql code. I need to trim it down and make it usable without an iCustom() call.
I'd appreciate any help/tips I can get..
I am no mathematician so it is hard for me to understand how exactly the regression is calculated in the mql code. I need to trim it down and make it usable without an iCustom() call.
I'd appreciate any help/tips I can get..
Attached File(s)
i-Regr.mq4
4 KB
|
710 downloads