Forum

How does optimizer divide work across cores

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

Optimizer problem mql5

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 =

Clear the journal programmatically

Can I programmatically clear the StrategyTester journal on the start of my backtest run? Thanks

Timer in the Strategy Tester

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

Retrieving trades in order

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

Create list of trades/deals from strategy tester

Does the ST create a list of trades and deals or do I have to create that myself programmatically? Thanks

Close price from strategy tester doesn't match

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

Echo of include files names

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