Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Checking VAR INT in the pass

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

    Checking VAR INT in the pass

    Hello,

    Assuming that I have a series of math calculations C1, C2, C3 (SMA, mult, div, etc) that determine the value of VAR1 (INT).

    What's the most efficient way of checking the value of VAR 3, 2, and 1 bars ago?

    I'm trying to avoid to copy all the formulas three times ...I tested [x] after the var but NT does let one to apply indexing to an INT...

    Thanks!

    #2
    Correct, for being able to use indexing on an int you would need to work with a so called IntSeries -

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Cool, testing...Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Jonafare, 12-06-2012, 03:48 PM
      5 responses
      3,986 views
      0 likes
      Last Post rene69851  
      Started by Fitspressorest, Today, 01:38 PM
      0 responses
      2 views
      0 likes
      Last Post Fitspressorest  
      Started by Jonker, Today, 01:19 PM
      0 responses
      2 views
      0 likes
      Last Post Jonker
      by Jonker
       
      Started by futtrader, Today, 01:16 PM
      0 responses
      8 views
      0 likes
      Last Post futtrader  
      Started by Segwin, 05-07-2018, 02:15 PM
      14 responses
      1,792 views
      0 likes
      Last Post aligator  
      Working...
      X