Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Series synchronisation

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

    Series synchronisation

    Hello

    I am not too sure what the synchronisation of a custom series to the primary or secondary series in a strategy actually means, or does.

    I am coding a strategy that relies on a custom series of highs / lows of an indicator applied to a secondary series.

    As the custom series is only made of highs / lows, it obviously has less bars than the series to which the indicator is applied to, so my question is: do I still have to sync the highs / lows custom series to the series to which the indicator is applied, or not?

    Finally what does the sync actually do and what would happen if it is not done when it should be?

    Thank you

    #2
    Hi itrader46, thanks for your post.

    We have this example on synchronizing a data series to a secondary data series:



    It is just to make sure that one bar object gets created in the custom series for every bar that the second series has.

    No matter what, in the custom series a bar slot will be created for every bar on the chart. You could fill in the non-used slots with 0 or with the last known value.

    Please let me know if I can assist any further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    47 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X