Forum

I'm curious; what's the advantage of copybuffer over direct array requests?

So I'm used to accessing an array values directly; and so it made perfect sense to me in MQL4. It was driving me nuts trying to figure out how to do it MQl5 so I gave up and asked the 'evil AI' what's going on and it's solution was Copybuffer; In MQL5, you can still work with arrays directly, but

oh wow MQL5 is a mindtrip /rant

OK, I'm new'ish'. I just spent a month learning MQL4, and by and large it seemed fairly intuitive to me (i do have some coding background). It took me a month; but I was flying..... Then the trading system/broker that I use 'updated' to MT5 last week so I have to update my scripts to be MT5

So I just discovered that my EA's don't work in the weekends

haha gotcha! but actually, I can't run back testing on my EA's in the weekends, because I use 'MODE_TICKVALUE' in my calculations; and if the markets are closed, it pulls the 'live' value for that 'constant'; which is ZERO. you got me good, MT4. double tickValue = MarketInfo( Symbol ()

EA closes every trade on the new candle (unintended) MQL4

Hi guys; I've been coding for years, and playing in stocks/forex a long while besides... fairly new to MQL4, however. I've made several EA's successfully and have a pit of a workflow going now for all my ideas, which is nice. However, I've run into an issue that I can't get to the bottom of; When I