setStudyTitle() |
Top Previous Next |
setStudyTitle( title )
This function is used to set the title of the study.
Parameters
Usage
function preMain() {
//we want this script to plot its results in the //price pane setPriceStudy(true);
//set the study title to "Example Script". this title //will be displayed at the upper-left of the chart setStudyTitle("Example Script");
//this script returns 3 values to be plotted on the chart. //use setCursorLabelName() to set a name for each return //value
setCursorLabelName("EMA", 0); setCursorLabelName("SMA", 1 ); setCursorLabelName("WMA", 2 );
setDefaultBarFgColor( Color.blue, 0 ); setDefaultBarFgColor( Color.red, 1 ); setDefaultBarFgColor( Color.green, 2 );
setShowTitleParameters( false );
}
|