I have created strategy to take intraday position in Nifty 50 stocks when Entry criteria satisfies.
Now say entry criteria satisfies for multiple stocks in the List but I just want to take position only in first stock that satisfies the criteria.
Can you tell me how can we do that?
My Simple intraday strategy is -
First 1 hour candle touches or crosses the previous day Low but eventually closes above previous day low. and then after that if any 15 minutes candle gives closing above VWAP.
then enter into trade.
My Entry condition is -
( Time ( ‘NSE’ ) >= Number ( ‘1016’ ) ) and ( Position ( LOW ( Symbol ( Instrument Name ( ‘NSE,|NIFTY 50|,’ ) , ‘1h’, ‘All’ ) ) , ‘-1’ ) <= Position ( LOW ( Symbol ( Instrument Name ( ‘NSE,|NIFTY 50|,’ ) , ‘day’, ‘All’ ) ) , ‘-1’ ) ) and ( Position ( CLOSE ( Symbol ( Instrument Name ( ‘NSE,|NIFTY 50|,’ ) , ‘1h’, ‘All’ ) ) , ‘-1’ ) > Position ( LOW ( Symbol ( Instrument Name ( ‘NSE,|NIFTY 50|,’ ) , ‘day’, ‘All’ ) ) , ‘-1’ ) ) and ( Position ( CLOSE ( Symbol ( Instrument Name ( ‘NSE,|NIFTY 50|,’ ) , ‘15m’, ‘All’ ) ) , ‘-1’ ) > Position ( VWAP Series ( Instrument Name ( ‘NSE,|NIFTY 50|,’ ) , ‘15m’ ) , ‘-1’ ) )