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

Chart Panel for Text Only

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

    Chart Panel for Text Only

    Trading from charts, I have add quite some text (DrawTextFixed) infomation to every chart which get messy now.

    I wanted to create an empty panel on my chart and put the text there, which seems to be not easy as NT does not support writing text to another panel from a strategy, heck I dont even know if a new panel could be created in a strategy.

    So I guess one workaround for this missing feature might be to have an indicator building an (empty) panel and then somehow have the indicator writing text information (based on data from the strategy) to the chart?

    Anybody some advice? Thanks!

    #2
    BillCh,

    You cannot create panels from strategies. You can call indicators that are added to new panels though. If you want the indicator to draw on the indicator panel instead of the price panel use DrawOnPricePanel = false in the Initialize() method of the indicator.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I understand I could create an indicator to have text printed on its panel 2, like the difference of high and low or so. But how could I have printed position or execution information from my main strategy (which would use this indicator)?

      Comment


        #4
        Unfortunately you cannot. You would have to print that from the strategy which would be in the price panel.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by nicthe, Today, 09:24 AM
        1 response
        5 views
        0 likes
        Last Post nicthe
        by nicthe
         
        Started by samish18, Today, 10:13 AM
        0 responses
        4 views
        0 likes
        Last Post samish18  
        Started by kenz987, Yesterday, 10:20 AM
        2 responses
        13 views
        0 likes
        Last Post kenz987
        by kenz987
         
        Started by nicthe, 08-23-2023, 07:53 AM
        7 responses
        197 views
        0 likes
        Last Post nicthe
        by nicthe
         
        Started by stalt, 12-28-2015, 01:36 PM
        6 responses
        1,536 views
        0 likes
        Last Post giulyko00  
        Working...
        X