Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnBarUpdate and live/backfill data

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

    OnBarUpdate and live/backfill data

    Hi, say, I want to send myself an email when SMA crossover on bar update, I notice that it is also called when I'm enabling the strategy while Ninja is backfilling the data when the conditions are met. That's mean I'm getting a lot of emails from this.

    Is it possible to distinguish backtest/backfill data vs live running data/strategy?

    Many thanks!

    #2
    Thanks for the post here lawrence124, you could work with Historical here to work only on live seen data for your script :

    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    23 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
    22 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