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 aussugardefender, Today, 01:07 AM
    0 responses
    3 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    238 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    4 views
    0 likes
    Last Post oviejo
    by oviejo
     
    Started by pechtri, 06-22-2023, 02:31 AM
    10 responses
    125 views
    0 likes
    Last Post Leeroy_Jenkins  
    Working...
    X