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 algospoke, Yesterday, 06:40 PM
      2 responses
      19 views
      0 likes
      Last Post algospoke  
      Started by ghoul, Today, 06:02 PM
      3 responses
      14 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by jeronymite, 04-12-2024, 04:26 PM
      3 responses
      45 views
      0 likes
      Last Post jeronymite  
      Started by Barry Milan, Yesterday, 10:35 PM
      7 responses
      21 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by AttiM, 02-14-2024, 05:20 PM
      10 responses
      181 views
      0 likes
      Last Post jeronymite  
      Working...
      X