Announcement

Collapse
No announcement yet.

nested reloadEFS() error message

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • nested reloadEFS() error message

    I have an EFS which in earlier releases seemed to run fine but in the latest version the reloadEFS() function is not being executed generating the "nested reloadEFS() call ignored" in the formula output window.

    Here is the portion of code that is failing.


    PHP Code:
    function Reloader(genome)
    {
    //    
        
    var i;
        
        if(
    genome !== null)
        {
            
            for(
    i in genome.gene)
                eval(
    genome.gene[i].variable+" = genome.gene[i].value");
                            
            
    bFirstTrade false;    // used to make first trade only once
            
    bReloading true;
            
    reloadEFS();    // reload the chart to test with the new parameters
        
    // end of if statement
        
    else
        {       
            
    vButtonState DONE;
            
    drawButtons();
        }
            
    // end of function Reloader 
    Last edited by demarcog; 08-04-2009, 08:16 AM.
    Glen Demarco
    [email protected]

  • #2
    Re: nested reloadEFS() error message

    Glen
    I have some scripts that use the reloadEFS() function and they appear to be working at my end using 10.5
    You may want to post a complete code example that illustrates the issue you are seeing
    Alex


    Originally posted by demarcog
    I have an EFS which in earlier releases seemed to run fine but in the latest version the reloadEFS() function is not being executed generating the "nested reloadEFS() call ignored" in the formula output window.

    Here is the portion of code that is failing.


    PHP Code:
    function Reloader(genome)
    {
    //    
        
    var i;
        
        if(
    genome !== null)
        {
            
            for(
    i in genome.gene)
                eval(
    genome.gene[i].variable+" = genome.gene[i].value");
                            
            
    bFirstTrade false;    // used to make first trade only once
            
    bReloading true;
            
    reloadEFS();    // reload the chart to test with the new parameters
        
    // end of if statement
        
    else
        {       
            
    vButtonState DONE;
            
    drawButtons();
        }
            
    // end of function Reloader 

    Comment


    • #3
      Alex,

      The reason I didn't post the complete EFS is that There is alot of code involved via function libraries, many thousands of lines of code.

      There is only one reloadEFS() within the code and that is the portion of code I posted. I saw some earlier posts regarding nested reloadEFS() issues and thought perhaps there was an issue with the global variable settings as in the earlier post. I was trying to avoid creating more work for you supplying all the additional code.

      Thanks very much for your offer of assistance.
      Thanks again,

      Glen
      Glen Demarco
      [email protected]

      Comment


      • #4
        Does anyone know when the new code that checks for nested loadEFS was added so I can restore to an earlier version of eSignal, before the check was added?

        I have an efs that runs a backtest using one set of variable values and cycles through various combinations of backtest/variables. It currently will not function do to the test for nested loadEFS.

        Thanks,

        Glen
        Glen Demarco
        [email protected]

        Comment


        • #5
          reloadEFS() compatability

          Is it possible to raise the threshold for the ignoring of a reloadefs()? Apparently although not really a nested reloadEFS() issue there is now code in eSignal 10.5 to limit the number of times this call can be made.


          I have an extenisve amount of code that runs many backtests via a reloadEFS() via a Function Library and has worked for many past versions of eSignal and no longer works.

          There is no nesting in the sense as the reloadEFS() appears in only a single place in my EFS yet this message prevents it from running. If necessary I can provide the failing EFS and associated libraries, however there are thousands of lines of code and several libraries.

          Thanks very much,

          Glen
          Glen Demarco
          [email protected]

          Comment


          • #6
            Glen,
            Did you ever manage to get a resolution to this problem?
            I have the same issue after recently upgrading to 10.6 to take advantage of the extended data. Now all my backtesting strategies that use reloadEFS are failing. I went back to 10.5 and still have the problem. Looks like I'll have to go back to 10.2 and forgo the extended data which is a complete pain.
            Let me know if you've got a work around.
            richthomas

            Comment

            Working...
            X