Been coding in MT4 for years, as in like 15. Today either OrderSelect or OrderType no longer works. I can't get trades closed. I get error messages I don't even recognise. 2018.12.20 21:03:26.914 multi-order EA AUDJPY,M15: Trying to
Hi Folks, I'm convinced there's an article that explains how to use the common data folder for classes. But I can't find it. I've searched via google and via this search form. I've tried to create classes in the folder, doesn't want to do it
Does anyone know if the new language in MT4 allows login of simultaneous accounts yet from one instance? Instead of having to maintain separate libraries be nice if I could maintain one and tell MT which account to use for which and the settings for
For some reason my EA's files are no longer being read in the new editor. No error messages, but it doesn't get done. I presume it's a location issue. I started looking for information, can't find any. Does MT handle this now or do I have to specify
I've been testing code for months now, just letting it run. Must be on month 7 already. Was rock solid, then in the last week I've suddenly developed "terminated by timeout" issues. Didn't change anything my side. Anyone else having issues
Hi Folks, So I'm setting arrays, in particular I want to remember which pairs and profit for that pair per individual trade, which appear to be a problem already. I can't seem to have a String and Double Array, so Pairs[string
Hi guys, I'm using satellite comms, so I can't spend much time searching and browsing, bit expensive. What I need to do is close blocks of trades, say I have some buys open, say 0.01 lot, 0.05 lot and 0.14 lots = 0.2 lots total. Now I need to close
I'm battling with lots vs units oanda style.... My base is $USD - I want to sell $10000 eurusd @ 1.3890 and $10 000 eurjpy @ 105.97 each. So on the oanda platform it gives it as 7 179 units each, what would that be in lots for MetaTrader and how do I
Hi, Having a temporary moment of confusion. Lets say I want to sell the same $ amount of EURUSD , EURCHF and EURJPY, lets say $10 000. How do I calculate the lots sizes. I would have thought it's $10 000/Current Price/ Lot size, so for a mini account
Hi, I'm not a programmer, so be gentle. I'm trying to close out trades when conditions are met, so: if (A < B) - in this case close out BuyTrades till A is no longer less than B. But the thing runs away and closes as many trades as it wants to or
Hi Folks, I'm probably going to look like a right ass now, but I can't get this figured. Might be the flu that's fried the brain, but instead of hurting myself trying to figure this out I thought I'd ask. I want to calculate the positions value. So
I trade a lot of pairs and want to duplicate the open charts in a different directory. Normally I'd have to open the platform and then tediously add all the charts. But I'm sure if I re-install MT4 in a different directory and just copy the right
Hi Folks, Need some help please. I trade fully automated over 30 pairs. 500 or a 1000 trades a week is not unusual. Now to go work out which pairs are making a profit and which not, i have to go dump all of that in an excel spreadsheet and then sort