When we draw lines in TradingView we can set on daily time frames and after finishing drawings we can go to lower time to reach more precision. What I need to do is drawing on higher time frame and keep them in lower time frame by coding. There are 2 problem:
1- when I set max_bars_back=5000 in my study and max_bars_back(time, 4000) in my code the code gives error in lower time frame. 2- I have to swipe right a lot to go back in time and wait for TradingView to draw what it's supposed to.
For instance, Imagine these to lines mentioned in the attached picture and we wish to see the lines at the last candle (present time) in lower time frame like 5-minute.
Any solution in Pine script please