Hey everyone. Greetings from Down Under. I have been trying to implement an indicator that downloads higher timeframe price data in MQL5. I have used various versions of the CheckLoadHistory() functions, including this one
Hello MQL5 people. I'm wondering if anyone knows of a way to read to Commissions and Swaps from the terminal, rather than needing to calculate them programatically. I calculate these within my EA at present, but would rather read them off the
Hello everyone. I find the need to convert an MT5 Netting Mode EA into Hedging Mode due to my broker no longer offering demo netting accounts. My EA does not make use of hedging positions. Either BUY or SELL are open at any one time but not both
Not sure if anyone has this same problem. I have a demo account with AUD 10,000 as the Account Currency . When I run the Strategy Tester, the Account Currency is read as USD - with the same dollar amount(i.e USD 10,000). Any ideas
I have probably misunderstood the documention for the ArraySort() function in MQL5. https://www.mql5.com/en/docs/array/arraysort states " Sorts the values in the first dimension of a multidimensional numeric array in the ascending order
Hello everyone; I've been testing an EA and using historical data on an Alpari Demo Account. When I run in Strategy Tester , the available bars are a little more than 500,000. However when I run in trading mode, there is a little over 50,000. The
I often get Error 4753 although it does not seem to impact on trade operation or testing. After some research on this forum and wider, I haven't really found any answers that applied to my problem, so I did some experimenting. It seems to me that if
Hello All; I have an iCustom call in an EA. It works fine in live mode. It was working fine in Strategy Tester as well - but no longer does. I have not made any changes to any of my system. The log in Strategy Tester has the following messages
Hello MT5 programmers. I've been putting together a multi-symbol EA and am sharing the part of the expert that may be of some interest to some of you. Please note that I am no programmer and have only started using MT5 in the last 2 weeks, so the
Hello all; I switched to MT5 a few days ago - so apologies in advance for my ignorance. My focus is on multi-pairs (hence the switch to MT5). However I am struggling to get things to work the way I would expect them (probably my lack of
HI all. Just recently converted to MT5 to use multi-pair strategies. Currently trying to write a currency strength meter indicator that looks at 28 pairs. At present, the only way I can make Bars("XXXYYY",PERIOD_CURRENT) work across all 28 pairs is