Topic: Open logic

How do you add a delay in time or seconds in the opening logic?

For example i want an order to be delayed by  30sec/ 1min / 2min etc before being executed?

Re: Open logic

I don't see an easy way to do this.

The expert must write somewhere at what time it raised the signal.
At every tick, the expert must check this record  and to decide if the defined time span is passed.
When it is time to make a deal, it must calculate the order params (Price, SL ,TP... because they will be different) and to execute the signal.

Re: Open logic

If you are trading on M1 chart, you can use signal shift.

Re: Open logic

Would have been nice to have such an option, was hoping to test some time delay strategy on a shorter time frame using mathematics with some indicators

Sleep option wouldn't work?

Re: Open logic

It would be great to be able to have repeated orders!