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

DrawTextFixed

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

    DrawTextFixed

    This is nice; however, it has some problems that inhibit usage...

    I expected it to print in the same pane as DrawText; however, it did not.
    With Overlay=false, DrawText prints to the Indcator pane unfortunately DrawTextFixed prints to the price pane.

    Could you fix this?

    Also, it would help if I could add an adjustment to the position (like when I need to print two items, I certainly do not want them on top of one another... unless you wish to auto-adjust depending on what has already been sent to that position?

    BTW, in the Price pane,
    BottomLeft has interference from your copyright statement.
    TopRight has interference from your white triangle
    BottomRight has interference from your BarTimer.

    #2
    Will look into this, not sure if there is a reason why we could not change it.

    Thanks for the other suggestions.
    RayNinjaTrader Customer Service

    Comment


      #3
      Forgot to mention, next beta update, DrawTextFixed() is drawn over top of any other draw objects on the chart.
      RayNinjaTrader Customer Service

      Comment


        #4
        Hi Lost Trader !

        We added support for DrawTextFixed(...) for indicator panels. This will be available with the next beta of NinjaTrader.

        Kind regards,
        Christian
        ChristianSenior Software Developer

        Comment


          #5
          Originally posted by NinjaTrader_Christian View Post
          We added support for DrawTextFixed(...) for indicator panels. This will be available with the next beta of NinjaTrader.
          That's great, Christian. Thank you!
          I look forward to it.

          Comment


            #6
            Can someone post a simple indicator with the DrawTextFixed

            Sorry, new at this. But can someone post a simple indicator with the DrawTextFixed line of code in it? I just want to put a fixed lable in the upper corner of my chart. If i am understanding correctly the NT8.5 now has DrawTextFixed. I am not sure how to put it in an indicator form yet. I learn a lot by opening an indicator and looking at the code when I am doing something very simiilar. Thanks.

            Comment


              #7
              Please check out this reference sample: http://www.ninjatrader-support.com/v...ead.php?t=3917

              It used DrawTextFixed() to report the strategy position at the bottom right of the chart.
              Josh P.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by ct, 05-07-2023, 12:31 PM
              6 responses
              202 views
              0 likes
              Last Post wisconsinpat  
              Started by kaywai, Today, 06:26 AM
              0 responses
              1 view
              0 likes
              Last Post kaywai
              by kaywai
               
              Started by kevinenergy, 02-17-2023, 12:42 PM
              118 responses
              2,778 views
              1 like
              Last Post kevinenergy  
              Started by briansaul, Today, 05:31 AM
              0 responses
              9 views
              0 likes
              Last Post briansaul  
              Started by traderqz, Yesterday, 12:06 AM
              11 responses
              28 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Working...
              X