Is there any way of drawing a solid rectangle like the example attached ?
For the sake of the example this starts at 2170 1:00 a.m and ends at 2150 10:00 a.m.
It's easy to draw it not solid (4 TLs are enough or using the link left by TJ) but I don't know how to do that solid without consuming too much CPU.
I can imagine doing that with many thick plots or horizontal/vertical thick TLs but that's sounds quite heavy.
Text box doesn't sound a solution either.
Any way of doing that easier ? I thing Easy Language has a TL rectangle but this is not available in Power Language.
How to code a solid rectangle ?
Have you ever considered to just 'plot' it ? Doesn't need any resources.
I shortly wrote a basic study to plot a 'rectangle'. Of course you could write something to set the start- & end time of the plots as well as where to plot it as variables & not inputs.
Link : https://vimeo.com/181037737
lease bar in mind that a background set with TL's would always stay above the bars/candles and you would not be able to change that, except with plot's for the background.
Would it be helpful ?
Kind Regards
Ben
I shortly wrote a basic study to plot a 'rectangle'. Of course you could write something to set the start- & end time of the plots as well as where to plot it as variables & not inputs.
Link : https://vimeo.com/181037737
lease bar in mind that a background set with TL's would always stay above the bars/candles and you would not be able to change that, except with plot's for the background.
Would it be helpful ?
Kind Regards
Ben