my problem is that I cannot close my open position at the end of a day because I am using the ranko chart pattern. as you know in ranko candle time is not fixed so how can I use IST time in pine script to exit every day at a particular time.
in without Renko chart, i was using this code to exit poison
if (hour==15 and minute==29)
strategy.close_all("Day Close")