Hello,
In one of my indicator, I need to set the background color between y = 0 and y = 1000 at the position of 1 bar ago. Is it possible to do it using either setBar(Bar.BgColor, ... ) or setBarBgColor() instead of using drawLineRelative(-1, 0, -1, 1000, ..)? I am able to set background between ymin and ymax only at the bar currently being processed instead of n bar ago. Help is greatly appreciated.
- Clearpicks
In one of my indicator, I need to set the background color between y = 0 and y = 1000 at the position of 1 bar ago. Is it possible to do it using either setBar(Bar.BgColor, ... ) or setBarBgColor() instead of using drawLineRelative(-1, 0, -1, 1000, ..)? I am able to set background between ymin and ymax only at the bar currently being processed instead of n bar ago. Help is greatly appreciated.
- Clearpicks