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 josh18955, 03-25-2023, 11:16 AM
    6 responses
    435 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    3 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    18 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by frslvr, 04-11-2024, 07:26 AM
    9 responses
    126 views
    1 like
    Last Post caryc123  
    Started by selu72, Today, 02:01 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Working...
    X