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 f.saeidi, Today, 12:14 PM
        4 responses
        11 views
        0 likes
        Last Post f.saeidi  
        Started by Russ Moreland, Today, 12:54 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by philmg, Today, 12:55 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by TradeForge, 04-19-2024, 02:09 AM
        2 responses
        32 views
        0 likes
        Last Post TradeForge  
        Started by aprilfool, 12-03-2022, 03:01 PM
        3 responses
        329 views
        0 likes
        Last Post NinjaTrader_Adrian  
        Working...
        X