Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CalculateOnBarClose question

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

    CalculateOnBarClose question

    I'm writing a strategy that references 2 seperate indicators and wish to refeerence one with CalculateOnBarClose = true and the other with CalculateOnBarClose = false. Are there any code snipets posted somewhere which might help me with this?

    Thanks,

    Safetrading

    #2
    Hi safetrading,

    You can use FirstTickOfBar for this, as seen in this sample: http://www.ninjatrader.com/support/f...ad.php?t=19387
    TimNinjaTrader Customer Service

    Comment


      #3
      thanks so much, just what I needed. Have a great day.

      Safetrading

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      571 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      331 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      549 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      549 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X