Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Data Series dialog on indicator

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

    Data Series dialog on indicator

    Good morning. I need to add a custom ISeries<double> to an indicator.

    I've found a few examples on the forum that show how to do this for use within code, by instantiating the indicator's static constructor and passing in the series. This works great.

    However when adding this to a chart, the indicator's properties do not produce the Data Series dialog to allow me to select a series from another indicator.

    Is there any way I can have an ISeries<double> as a property on an indicator, and allow this to be selected from the indicator properties as shown in the screenshot?
    Attached Files

    #2
    Hello kevinenergy,

    Thanks for your post.

    A public Series<double> can expose these values for scripts, but the Series will not be accessible through the UI. If you would like to expose a Series<T> that could be accessible throughout the UI, I would suggest adding a plot which will create a Series<double> that can be used in such a way.

    From the Input Series window, you would then select the indicator and then select the plot to be used as the driving input series.

    I've included publicly available documentation for AddPlot() below which demonstrates adding and using plots. You could use a transparent brush to hide the plot from the data box and on the chart.

    AddPlot() - https://ninjatrader.com/support/help...us/addplot.htm

    If there is anything else we can do to help, please let us know.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by pechtri, 06-22-2023, 02:31 AM
    8 responses
    122 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by frankthearm, 04-18-2024, 09:08 AM
    16 responses
    64 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