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

add an output to an existing indicator

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

    add an output to an existing indicator

    Hello
    I'd like to know how to add readable output in the data box to an existing indicator that already displays information in the data box.
    Before posting, I searched and found this https://forum.ninjatrader.com/forum/...e-display-only but it doesn't answer my question or I didn't understand.
    Thank you for your help and patience​

    #2
    Hello bicou,

    Thanks for your post.

    The databox specifically would be able to display the Plots of your indicator. For other items such as strings or bools, you would likely need to instead create your own display instead of using the databox specifically.

    Please review this forum thread which details more information about this topic: ​https://forum.ninjatrader.com/forum/...les-to-databox
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Obviously I didn't make myself clear and that's certainly because I want to use my bad English.
      I'm using a translator here, so it should be OK.
      I'm trying to add a new plot to a graph indicator that already has several plots displayed so that it can also be displayed in the data box.
      I'm trying to find out how to declare this new plot in the code.​

      Comment


        #4
        Hello bicou,

        Thanks for your clarification.

        The AddPlot() method could be used in OnStateChange() when the State == State.Configure to add a plot to a NinjaScript indicator.

        You could then assign a value to that added plot within the OnBarUpdate() section of the indicator's code.

        See this help guide page for more information about AddPlot() and sample code: https://ninjatrader.com/support/help...t8/addplot.htm

        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by halgo_boulder, 04-20-2024, 08:44 AM
        2 responses
        21 views
        0 likes
        Last Post halgo_boulder  
        Started by mishhh, 05-25-2010, 08:54 AM
        19 responses
        6,189 views
        0 likes
        Last Post rene69851  
        Started by gwenael, Today, 09:29 AM
        0 responses
        5 views
        0 likes
        Last Post gwenael
        by gwenael
         
        Started by Karado58, 11-26-2012, 02:57 PM
        8 responses
        14,830 views
        0 likes
        Last Post Option Whisperer  
        Started by Option Whisperer, Today, 09:05 AM
        0 responses
        2 views
        0 likes
        Last Post Option Whisperer  
        Working...
        X