@greg In the project option

As the title says, how to know how many orders (e.g. buys) are open in the backtest at the same time? (without reading the report of course)

@weius You must first create the mq5 environment (new project == > mql5 == > name)

@alphaomega Open the "more setting" menu in the condition's block, you can choose the referring time frame, and always remember to specify candle ID1

@trader-philipps @l-andorrà hi, in that post there are my basis project, I attach them below, the file .ex4 works, the. mq4 file has two errors, probably in the meantime there have been some updates and it no longer compiles
0_1577746373504_1535097327522-my_news_filter.ex4
0_1577746383813_1535097334008-my_news_filter.mq4
if you open the mq4 file you can see where to copy the code of the indicator
And this is the project from where to start
https://fxdreema.com/shared/161Bg5qQd
It will probably give the same errors
Thank you so much to @Traderz for doing this wonderful job
@svenw8 Here works, what's the problem?


Have you put the indicator in the "Indicators" folder on MT4?
See the journal for some errors.
@svenw8 Put candle ID 1 , if not works please upload the indicator
@alphaomega Hi, these are the buffers you need

@trader-philipps Thank you, but the problem is not on the custom indicator but on the input of the expert advisor (as if it were a bool true/false). I mean: open only buy orders or open only sell orders or open in both directions. Any suggestion?
Hi there! Please, how to build these multi choice dropdown menu?
Thanks in advance

@lelamtb Something is missing in importing the .mq4 indicator (some buffer is lost in the tester), do this: import the file .ex4 and fill all inputs. I only put buffers to see if it works and in fact it works


@edmundtan Try this, a little cumbersome .....
https://fxdreema.com/shared/fXoCGJyFd
@rupp Probably because it is not necessary, in MT5 the trades are always redrawed
@mdallacourt that block it's not necessary, somethings is wrong, check out this example, it works fine

@mdallacourt in the block "for each trade" put 1 in the "not more than n trades" field