So, pending orders in time instead of price. I started thinking how can I do that, probably in blocks "Buy pending order" and "Sell pending order" with another options that makes it possible to delay the order with time and to execute it as a trade at the price whatever it will be in the future. But I'm still not sure about the consequences of this approach, because another blocks (like "No pending order exists") must be updated as well, and some driver needs to be added to detect the time to react, which will also slow down the backtesting a tiny bit.
If it is a block like "Delay passing" which will allow the EA to continue working, then some more problems will be on the table, because there is no context here, it's something general. For example you can have "No trade is running -> Delay passing -> Buy now", but how will "No trade is running" know that we expect "Buy now" to be executed after some time? It will just continue passing and executing "Delay passing" over and over again, which will create multiple delays for the same thing and at the end we will end up with multiple "Buy now" executions. Again, this is in the general case when "Delay passing" is not aware what it controls.
Because of that, and because it looks a little bit fancy (and who knows if others will need it), I will ask you for the exact situation that you want to work on. It happens very often someone to ask for A, but to want to achieve B that does not actually need A. And sometimes there are various ways to do something. So, with what time do you want to delay the signal? You know... if we talk for indicators only, and the signal you want to delay is something like 1 candle or few candles, then you can just check past candles for that signal and react at the moment, this is how things are done normally 🙂