Announcement

Collapse
No announcement yet.

Buffer overrun on build 628

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

  • #16
    Hi Ziggy,

    You are most welcome. Saving was a misnomer, I was referring to where I was declaring a large number of arrays as global variables using setGlobalValue ().

    Relative to your use of toFixed(4)
    var myMACD = myStudy.getValue(0).toFixed(4);
    Since toFixed(4) converts the number to a string, I suggest var myMACD = myStudy.getValue(0).toFixed(4)*1; which converts it right back to a number.

    You can always use debug statements liberally in your efs, then when your system crashes, look at the formulaoutput.log in the eSignal folder to narrow down in your efs where the problem is.

    Comment

    Working...
    X