I want to enter on the 6th candle irrespective of what the price is.
Entry: will be on the 6th candle if that candle breaks 5th candle high.
Short Entry(Short sell) : Will be on the 6th candle if that candle breaks 5th candle low.
Can anyone please help me with the code. The 6th candle refers to the intraday 1min daily chart.
Every day on a 1min chart my entry will be on the 6th candle(either Buy or Short sell with reference to the above condition which ever satisfies).