Exit strategy if Limit order is not executed for 15 mins

Hi all,

I am placing a Limit order if my entry conditions are satisfied, it looks like this:

However, I will have to wait for a maximum of 15 minutes if limit order is not executed. How do I identify if a Limit order is executed or not in my exit condition?

Thanks,
Raj Pawan Gumdal

Hi any limit order will be cancelled only when Universal exit happens.

Thank @Ujjwal for the reply,

This raises another question. How do I know the time elapsed in the strategy since entry? I would want to have a universal exit condition if the strategy has been entered but it does not hit target or stoploss for 30 mins. I do get “EntryTime” and “Time” of NSE for comparison, but the problem is they are in the format of Number but representation is in time format. So, for example if the strategy has entered at 2:55 PM the Number representation is 1455. However, when time switches to 3 PM the number representation would be 1500. So if I get absolute difference 1500 - 1455 this will be 45 and hence greater than 30 minutes.

Any help would be appreciated!