Announcement

Collapse
No announcement yet.

Is it possible to set background of the area between y0 and y1 at bar -1?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it possible to set background of the area between y0 and y1 at bar -1?

    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
Working...
X