//{{EFSWizard_Description
//
// This formula was generated by the Alert Wizard
//
//}}EFSWizard_Description 7532
//{{EFSWizard_Declarations
var vROC1 = new ROCStudy(1, "Close");
var vRSI3_of_vROC1 = new RSIStudy(3, vROC1, ROCStudy.ROC);
var vLastAlert = -1;
//}}EFSWizard_Declarations 15329
function preMain() {
/**
* This function is called only once, before any of the bars are loaded.
* Place any study or EFS configuration commands here.
*/
//{{EFSWizard_PreMain
setShowTitleParameters(false);
setPriceStudy(false);
setStudyTitle("JB Momentum Pinball");
setCursorLabelName("Momentum Pinball", 0);
setDefaultBarStyle(PS_SOLID, 0);
setDefaultBarFgColor(Color.red, 0);
setDefaultBarThickness(1, 0);
setPlotType(PLOTTYPE_LINE, 0);
//}}EFSWizard_PreMain 30637
}
function main() {
/**
* The main() function is called once per bar on all previous bars, once per
* each incoming completed bar, and if you don't have 'setComputeOnClose(true)'
* in your preMain(), it is also called on every tick.
*/
function postMain() {
/**
* The postMain() function is called only once, when the EFS is no longer used for
* the current symbol (ie, symbol change, chart closing, or application shutdown).
*/
}
Comment