Happy: if there is a least square function in MQL5 ?
- In the language MQL5, no.
- Standard Library / Graphic Objects / Channel Objects / CChartObjectRegression - Reference on algorithmic/automated trading language for MetaTrader 5
- Or, make your own. Polynomial Regression Channel (PRC) == Center Of Gravity (COG)
Fitting a parabola - MQL4 programming forum Not John Ehlers' Center of Gravity oscillator.
And you can search here for liner regression there exist already quite a lot of different solutions.
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
Hello everyone,
Thank you for helping. (i just started learning MQL5 few days ago)
I'm trying to find my way in the documentation, it is so big. Maybe you can help me with this.
I'm trying to make my own linreg(source, lenght) function. maybe you have some advices or you know if there is a least square function in MQL5 ?