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 CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    24 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    28 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X