I'm trying to understand if I can use multiple cores on this EA: I read an array of trades from disk: Buy ENQ on March 1 Buy ENQ on March 10 Buy ENQ on March 17 ..... Etc. ... and then loop through them, calling OrderSend() for each With one core active the trades are executed in order, but
I have an EA that uses OnTimer() to read a file from disk, trade on the basis of its contents, and close it. Things go fine when I backtest the EA 4 times with static input values of 50 and 100 for two input variables (4 different runs). But when I try to use the optimizer with input values Start =
Can I programmatically clear the StrategyTester journal on the start of my backtest run? Thanks
I'm clearly missing something because the timer is not beating appropriately for me in the ST. Here's my test program: //+------------------------------------------------------------------+ //| test.mq5 | //| Copyright
So I'm looking for a way to download my daily trades in pairs - Enter trade; Exit trade. I only have 1 Entry and one Exit per trade. Looping through the deals works unless the entry and exit times are crossing. When they are, it's problematic. I know there must be a relatively easy solution, but
Does the ST create a list of trades and deals or do I have to create that myself programmatically? Thanks
This is a run from the strategy tester. The open of the trade is on the open of the bar but the close of the trade is not on the close of the bar. Is this caused by a strategy tester setting? Thanks
So I have a file in the metaeditor that has a bunch of #includes. The error tab gets filled up with echos of these filenames, burying my coding errors down several screens. I can't tell if the file has compiled correctly without scrolling through them Can I turn these echos off? Thanks