setDefaultPriceBarColor() |
Top Previous Next |
setDefaultPriceBarColor( color )
This function sets the default price bar color. Used in conjunction with setColorPriceBars() and setPriceBarColor(). Can only be called from within the preMain() function.
Parameters
Usage
function preMain() {
setPriceStudy(true); setStudyTitle("Example Script"); setCursorLabelName("EMA", 0); setDefaultBarFgColor( Color.blue, 0 ); setDefaultBarBgColor( Color.yellow, 0 );
setColorPriceBars(true); setDefaultPriceBarColor( Color.black );
setShowTitleParameters( false );
}
|