setPriceBarColor() |
Top Previous Next |
setPriceBarColor( color [, wickColor] [, bThin] [, bHollow] )
This function sets price bar color for the current bar. Used in conjunction with setColorPriceBars() and setDefaultPriceBarColor()
Parameters
Usage
function main() { var myVar;
... ...
if ( myVar > 0 ) { setPriceBarColor( Color.green ); } else { setPriceBarColor( Color.red ); }
return( myVar );
}
|