Announcement

Collapse
No announcement yet.

Arrays

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

  • Arrays

    How would you retrieve the values from this array?
    I have ten days but I only want the value for yesterday.


    var aValues = getValue( "Close", 0, -10 )

  • #2
    jnorton:

    Most current value would be:

    x = aValues[0];

    value from one bar back would be

    x = aValues[1];

    value from two bars back would be

    x = aValues[2];

    etc.

    Chris

    Comment

    Working...
    X