Announcement

Collapse
No announcement yet.

What can be stored as Global Value?

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

  • What can be stored as Global Value?

    I am a novice eSignal programmer but a veteran programmer.
    My question is what can be stored as a global value aside of scalar values (numbers, strings, etc.).
    Can I:
    setGlobalValue("aMyArray", new Array(10));
    Can I:
    setGlobalValue("oBollinger", new BollingerStudy(20, "Close", 2));

    Thanks

  • #2
    I really have not tried these..

    I would think they should work, but have not tried.

    The other thing is you may have to create a regular global variable, then assign an array or study to it. But I would think this would work without any problems (because it is basically the same as variables within an EFS).

    B
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment


    • #3
      Hi,

      I'm pretty sure I have saved arrays to universal globals before. I have never tried the second case but I agree with Brad, my guess is it will work.

      G
      Garth

      Comment

      Working...
      X