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 usazencort, Today, 01:16 AM
    0 responses
    1 view
    0 likes
    Last Post usazencort  
    Started by kaywai, 09-01-2023, 08:44 PM
    5 responses
    603 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by xiinteractive, 04-09-2024, 08:08 AM
    6 responses
    23 views
    0 likes
    Last Post xiinteractive  
    Started by Pattontje, Yesterday, 02:10 PM
    2 responses
    22 views
    0 likes
    Last Post Pattontje  
    Started by flybuzz, 04-21-2024, 04:07 PM
    17 responses
    230 views
    0 likes
    Last Post TradingLoss  
    Working...
    X