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 Noerclou, Today, 04:55 AM
        0 responses
        1 view
        0 likes
        Last Post Noerclou  
        Started by llanqui, Yesterday, 09:59 AM
        2 responses
        16 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by ThoriSten, Today, 03:56 AM
        0 responses
        6 views
        0 likes
        Last Post ThoriSten  
        Started by PhillT, 04-19-2024, 02:16 PM
        3 responses
        20 views
        0 likes
        Last Post mangel2000  
        Started by TraderBCL, Today, 02:37 AM
        0 responses
        4 views
        0 likes
        Last Post TraderBCL  
        Working...
        X