Hi everyone, apologies in advance for the frustrated rant.
I want to know the D1 14 period ATR in MQL5, for use in an EA. That's all. In MQL4, it was a simple, one-line instruction: "ATRD1 = iATR(Symbol(),PERIOD_D1,14,0);"
But in MQL5, it seems to be an absolutely insurmountable development challenge. Dozens of lines of code. Umpteen arrays, buffers, handles, preprocessing, error handling, clearance/destruction after utilisation, otherwise the entire EA/platform/machine will flake out. I mean... seriously?! For a single value? This, in my opinion, typifies why MQL5 struggles to gain traction.
Sarcastic, self-satisfied programming gods on here, don't waste your time. I've seen the way you belittle others with simple queries on here and frankly, I'd rather continue to struggle than put up with your attitude. But any fellow mortals who feel this pain, advocate a simple solution and have found a way, I would be most appreciative to hear from. Thank you!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi everyone, apologies in advance for the frustrated rant.
I want to know the D1 14 period ATR in MQL5, for use in an EA. That's all. In MQL4, it was a simple, one-line instruction: "ATRD1 = iATR(Symbol(),PERIOD_D1,14,0);"
But in MQL5, it seems to be an absolutely insurmountable development challenge. Dozens of lines of code. Umpteen arrays, buffers, handles, preprocessing, error handling, clearance/destruction after utilisation, otherwise the entire EA/platform/machine will flake out. I mean... seriously?! For a single value? This, in my opinion, typifies why MQL5 struggles to gain traction.
Sarcastic, self-satisfied programming gods on here, don't waste your time. I've seen the way you belittle others with simple queries on here and frankly, I'd rather continue to struggle than put up with your attitude. But any fellow mortals who feel this pain, advocate a simple solution and have found a way, I would be most appreciative to hear from. Thank you!