Tired running an EFS from Chris's fileshare here are the global variables, getting an error on line indicated by //coment
PHP Code:
var myLib = addLibrary( "dsFunctions.efsLib" );
var grID = 0;
var nBarCounter = 0;
var nStatus = 0;
var nStudy1 = null;
var nStudy2 = null;
var nOsc = null;
var nVal = null;
var nVal_1 = null;
var aFPArray = new Array();
var bInitialized = false;
function preMain() {
var x;
setPriceStudy(true);
setStudyTitle("Elliott System");
setShowTitleParameters( false );
setShowCursorLabel(false);
grID = 0;
x=0;
// following lline generates error, array has no properties...
aFPArray[x] = new FunctionParameter( "OscLen1", FunctionParameter.NUMBER);
with( aFPArray[x] ) {
setName( "Osc Len #1" );
setLowerLimit( 1 );
setUpperLimit( 9999 );
setDefault( 5 );
}
Comment