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 alifarahani, Today, 09:40 AM
      6 responses
      29 views
      0 likes
      Last Post alifarahani  
      Started by Waxavi, Today, 02:10 AM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by Kaledus, Today, 01:29 PM
      5 responses
      13 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Waxavi, Today, 02:00 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by gentlebenthebear, Today, 01:30 AM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X