I need to check for the second candle in a session.
session.isfirstbar
checks for the first candle but how to check for the second candle
Any help is apprecaited. (This is pine script)
secondbar = session.isfirstbar[1]
I need to check for the second candle in a session.
session.isfirstbar
checks for the first candle but how to check for the second candle
Any help is apprecaited. (This is pine script)
secondbar = session.isfirstbar[1]