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 RubenCazorla, Today, 09:07 AM
    0 responses
    1 view
    0 likes
    Last Post RubenCazorla  
    Started by BarzTrading, Today, 07:25 AM
    2 responses
    28 views
    1 like
    Last Post BarzTrading  
    Started by devatechnologies, 04-14-2024, 02:58 PM
    3 responses
    21 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by tkaboris, Today, 08:01 AM
    0 responses
    6 views
    0 likes
    Last Post tkaboris  
    Started by EB Worx, 04-04-2023, 02:34 AM
    7 responses
    165 views
    0 likes
    Last Post VFI26
    by VFI26
     
    Working...
    X