setPriceBarColor()

ICE Data Services -

setPriceBarColor()

 

setPriceBarColor( Color, [WickColor], [bThinWick], [bHollow] )

 

  • Color:  A valid color definition or RGB value.
  • WickColor: Optional - set wick color.
  • bThinWick: Optional - set thin wick (true or false).
  • bHollow: Optional - set hollow candle (true or false).

 

Sets the bar color for the current bar.

 

Example: 

setPriceBarColor( Color.green );

 

Colors

setDefaultPriceBarColor()

setColorPriceBars()