Forum

MT5 / MT4 Multi-asset testing

Hi, Anyone have any good advice as to what software could be used to optimize several pairs simultaneously. I don't mean independent of each other but rather to find what the best universal setting would be for an EA. I use MT4 now and I understand it can not be done in Strategy Tester . All the

Using MTF. Printing values that confirm that this should work but still it doesnt?

I can confirm by comments that this code is calculating the desired values but it violates its own rules. For example, for a BUY, even when Close[0] is less then limitBuy it still closes trades. Even when I am printing the values to confirm. Can anyone tell me why that is? Thanks for your time void

Using Multi Time Frames

Hi, If using an EA running on H1, what is needed to use values from other timeframes? I am currently calling the data using code such as this to call it: iClose ( NULL , PERIOD_M1 , 1 ) Still, I am only getting the H1 closing price. Even when running it on Tick data. What am I missing here? Any help

Delete and Re-submit order

Hi, My purpose with this function is to delete and re-submit my strategies order if market keep closing below/above my former STP-entry price. This is only for pending orders . It seems nothing happens from this code which confuses me. Anyone have any idea why it wont delete and re-enter pending

OrdersHistoryTotal not reading history when starting EA

Hi, I have a a couple of loops counting P/L trades and it works without issues in back-test but when I start the EA live, they fail to get the trades with matching magicnumber from Account History. Note that it still gets the live OrdersHistoryTotal number when starting EA live but can no longer