Is a Linear regression EA possible ??

Back to topics list To post a new topic, please log in or register
avatar
28
Patricia_T 2015.07.18 17:03
 
Can someone tell me if it is possible to code an EA to draw a linear regression channel and open and close trades on breaks from the channel??
avatar
12985
WHRoeder 2015.07.18 18:16 #
 
Many LR exist, search center of gravity.
avatar
250
ffoorr 2015.07.19 02:15 #
 

yes it is possible, here is the obj_regression :

https://docs.mql4.com/constants/objectconstants/enum_object/obj_regression

an EA already exist for trading in a channel, in the list of the MT4 article,

https://www.mql5.com/en/articles/1375


avatar
28
Patricia_T 2015.07.19 18:26 #
 
ffoorr:

yes it is possible, here is the obj_regression :

https://docs.mql4.com/constants/objectconstants/enum_object/obj_regression

an EA already exist for trading in a channel, in the list of the MT4 article,

https://www.mql5.com/en/articles/1375

 

Thank you.  I found the code for the regression channel but can not figure out how to add it to my EA. 

Back to topics list  

To add comments, please log in or register