setDefaultBarStyle() |
Top Previous Next |
setDefaultBarStyle( style [, series] )
This function sets the default line style for a series value that is being returned to the chart for plotting. Generally called from within preMain()
Parameters
Pen Styles
Usage
function preMain() {
setPriceStudy(true); setStudyTitle("Example Script"); setCursorLabelName("EMA", 0); setDefaultBarFgColor( Color.blue, 0 ); setDefaultBarBgColor( Color.yellow, 0 ); setDefaultBarStyle( PS_SOLID, 0 ); setShowTitleParameters( false );
}
|