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 AaronKoRn, Today, 09:49 PM
      0 responses
      2 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Today, 08:42 PM
      0 responses
      7 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Today, 07:51 PM
      0 responses
      8 views
      0 likes
      Last Post strategist007  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,975 views
      3 likes
      Last Post jhudas88  
      Started by rbeckmann05, Today, 06:48 PM
      0 responses
      9 views
      0 likes
      Last Post rbeckmann05  
      Working...
      X