setHistogramBase()

eSignal EFS 2

setHistogramBase()

Top  Previous  Next

 

setHistogramBase( value )

 

Sets the base of a histogram plot to this value. Used in conjunction with setPlotType( PLOTTYPE_HISTOGRAM ).

 

Parameters

 

value

the value to use as the histogram base

 

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 );

 

}

 

setPlotType()