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??
- Indicators: Linear Regression Channel
- Need help indentifying indicator
- Indicators: Linear Regression Channel
Many LR exist, search center of gravity.
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,
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,
Thank you. I found the code for the regression channel but can not figure out how to add it to my EA.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register