I would like to submit an entry order after 3 bars(or X bars) after the signal is generated. At the moment , I submit a buystop or a sellstop order at the end of the bar that triggers signal and it works fine. However, I do not know how to effectively defer order submission until X bars after signal occurred. I am using only one Primary series on the Chart.
Example: if I Close[0] > Close[1], then enter Long and vice-versa. One way to defer order submission is to check for Close[3] > Close[4] and submit at the end of Close[0], which is three bars away from entry signal. I will also add a check to see if Close[0] > Close[1] and Close[1]>Close[2] and Close[2]> Close[3]
Can some one please review and advise if there is a better way to control order submission after X bars (1,2,3 or 4 bars )
Thanks,
Nag
Comment