It's a copy of the code found in the program itself, listed below. Repeating, I'm looking for the routine to alert me when the price trades above a standard deviation line above or below the regression line.
Thanks
//{{EFSWizard_Description
//
// Fires an alert when the price moves below or higher the lower or upper Linear Regression lines.
//
//}}EFSWizard_Description 7532
//{{EFSWizard_Declarations
var vLinReg20 = new LinearRegressionStudy("Close", 20, 1);
var vLastAlert = -1;
//}}EFSWizard_Declarations 10369
/**
* This function is called only once, before any of the bars are loaded.
* Place any study or EFS configuration commands here.
*/
function preMain() {
//{{EFSWizard_PreMain
setPriceStudy(true);
setStudyTitle("Linear Regression Breakout");
//}}EFSWizard_PreMain 8010
}
/**
* 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 main() {
Comment