Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Slight modification needed

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

    Slight modification needed


    Does anybody know of a multi-instrument indicator like this one in the link below exists in NT8?
    If not - I need this indicator to accept multiple instruments, rather than just 2.
    can anybody modify it for me?
    Thank You
    Plots the Spread of two instruments The first instrument is the primary chart data series. The secondary instrument is specified by the parameter "Symbol2". The Parameters "Qty1" and "Qty2" are multipliers which are applied to each instrument's price before adding the two; default values are "Qty1=1" and "Qty2=‐1" which will simply plot the difference between […]

    #2
    Hello Blackbull,

    Thanks for your post.

    I am not aware of a freely available indicator that offers this functionality for multiple instruments.

    If you would like to expand the indicator to support multiple instruments, I suggest reading into the following:

    1. Working with Price Series - Learn how to work with Series objects and how to reference different bars in NinjaScript
    2. AddPlot - Learn how to add plots and assign values to plots
    3. Multi Time Frame and Instruments - Learn how multi time frame scripts work and how to build them.

    We will also leave the thread open for community feedback, or if a community member wants to provide you a modification.

    Keep in mind, the NinjaTrader EcoSystem has NinjaScript Consultants and vendors available to create or modify any existing script at your request. If you are interested in enlisting the services of a consultant and want to learn more, let us know and we can have a colleague reach out with more information.

    We look forward to assisting.

    Comment

    Latest Posts

    Collapse

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