Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy/indicator synchronization

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

    strategy/indicator synchronization

    when a strategy uses e.g. smaFast = SMA(Fast) & smaSlow = SMA(Slow) are the strategy & SMA series synchronised?

    e.g. current historical bar being processed by strategy[0] is also the current historical bar being processed by smaFast[0]?

    hope this makes sense?

    #2
    Hello delTik,

    When an indicator is called in Configure, this will use the primary data series as the input series.
    Yes, by using the primary series as the input series, the indicator (using the same data) will be in sync with the primary series of the script calling the indicator.

    If you were to create a custom data series and set this to sync with a secondary added data series and used this as the input series for the indicator, at that point it would not be in sync with the primary series and would be in sync with the secondary series.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    12 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    15 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    47 views
    0 likes
    Last Post PaulMohn  
    Working...
    X