Switch off EA if no operation is performed.
-
I need when every "Monday to Friday" day of the Weekday filter block is Rejected, hit the Terminate button.
Or: If you have not done operations from Monday to Friday, terminate the EA.
I need this to get the optimization faster, ending tests immediately that have not opened positions.
-
I'm not sure that Terminate will work in optimization. You can check if there were trades created or closed in the last few days.
- Bucked of Closed Trades - this one has time filters inside. Here is how to use these blocks: https://fxdreema.com/demo/mt4-bucket-trades
- Check profit (period of time) - I made this block for such cases, when people want to know what happened in the last day(s). Normally used to check when certain profit is reached, but you want the opposite. I didn't tested it for that situation, but I hope it will work.
- For each Closed Trade (set it to not more than 1 history trade) - > check age - the idea is that if the first history trade that is found is older than what you want, then you can run Terminate or whatever block.
I noticed that the optimizer is much slower that regular backtesting and I don't know why. Can you confirm the same thing? I mean... let's say you backtest one EA for 1 minute. Then, does it take 2 minutes in the optimizer for 2 iterations, or it takes more time?
-
The Terminate block also works in optimization. I tested it here.
I will be trying the Check profit (period of time) block because as it will not have open positions, this is ideal.
Regarding optimization I did not notice the time difference in optimization and backtesting. I did not know you would have this difference. When I can, I use the cloud to optimize faster.
-
@fxDreema hi how can a select other bucked id ,i need 9 block of bucked but there are only 8 colour