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 PaulMohn, Today, 03:49 AM
      0 responses
      7 views
      0 likes
      Last Post PaulMohn  
      Started by inanazsocial, Today, 01:15 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by rocketman7, Today, 02:12 AM
      0 responses
      10 views
      0 likes
      Last Post rocketman7  
      Started by dustydbayer, Today, 01:59 AM
      0 responses
      4 views
      0 likes
      Last Post dustydbayer  
      Started by trilliantrader, 04-18-2024, 08:16 AM
      5 responses
      23 views
      0 likes
      Last Post trilliantrader  
      Working...
      X