setHistogramBase() |
Top Previous Next |
setHistogramBase( value )
Sets the base of a histogram plot to this value. Used in conjunction with setPlotType( PLOTTYPE_HISTOGRAM ).
Parameters
Usage
function preMain() {
setPriceStudy(false); setStudyTitle("Example Script"); setCursorLabelName("RSI", 0); setDefaultBarFgColor( Color.blue, 0 ); setDefaultBarBgColor( Color.yellow, 0 ); setDefaultBarStyle( PS_SOLID, 0 ); setDefaultBarThickness( 2, 0 );
setPlotType( PLOTTYPE_HISTOGRAM, 0 ); setHistogramBase( 50 );
setShowTitleParameters( false );
}
|