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 pechtri, 06-22-2023, 02:31 AM
    9 responses
    122 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by frankthearm, 04-18-2024, 09:08 AM
    16 responses
    65 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by habeebft, Today, 01:18 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by benmarkal, Today, 12:52 PM
    2 responses
    13 views
    0 likes
    Last Post benmarkal  
    Started by f.saeidi, Today, 01:38 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X