Based on your condition, the entry will only happen if the 12:15 candle’s close crosses above the high of 12pm candle.
Todays 12pm candle high was 185.20, and the close of 12:15 candle was 184.40, so the crosses above did not happen for the 12:15 candle so it did not trigger the trade.
@Streak Thanks for clarification…
Since I’m new to streaks… Is there a way to code that prices crosses above 12pm’s high? Instead of close…
I need entry in 12:15 candle only when even price croses…
Yes, what you have created does exactly that, but today that condition did not happen.
Just try backtesting for a larger date range, and check the backtest trade log, with kite charts, when ever the crossover has happened the trade will happen.
@Streak… Its confusing… If program created is for cross over then why was is not executed on 10th June?? The cross over has happened, but you told me the program is close above???
Pls clarify me…
The condition was not true on 10th so it did not generate a signal.
The cross over has not happened, please refer to the chart prices, mentioned in the response.
On June 10th 12PM’s candle high was 185.20, while 12:15 PM’s candle had made a high of 185.60… according to my requirements , i should have made an entry irrespective of 12:15PM’s candle close …
Here you are talking about the high of 12:15 candle crossing above high of 12 candle.
But you had initially asked CLOSE of 12:15 candle crossing above high of 12 candle.
If you want to check with high, in you strategy just change from “close crosses above Nth candle(high,15min,12)” to “HIGH crosses above Nth candle(high,15min,12)” and keeping the rest same, you will get the results as per your requirement.
@Streak I had already tried the above program its not working the way i expected… Request to pls help asap… As already explained June 10th had a crossover explained above.