There are times when the following functions would be very helpful. Like trying to create a below the chart study using price bars created with a histogram. Seems that this processes faster than drawLineRelative().
getBarBgColor( [nBarIndx] [, nCount] )
getBarFgColor( [nBarIndx] [, nCount] )
nBarIndx: Optional. Same as value returned from getCurrentBarIndex(). Default to current bar.
nCount: Optional. If your study returns multiple values, the position in array being returned.
getBarBgColor( [nBarIndx] [, nCount] )
getBarFgColor( [nBarIndx] [, nCount] )
nBarIndx: Optional. Same as value returned from getCurrentBarIndex(). Default to current bar.
nCount: Optional. If your study returns multiple values, the position in array being returned.
Comment