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 lightsun47, Today, 03:51 PM
              0 responses
              5 views
              0 likes
              Last Post lightsun47  
              Started by 00nevest, Today, 02:27 PM
              1 response
              8 views
              0 likes
              Last Post 00nevest  
              Started by futtrader, 04-21-2024, 01:50 AM
              4 responses
              44 views
              0 likes
              Last Post futtrader  
              Started by Option Whisperer, Today, 09:55 AM
              1 response
              14 views
              0 likes
              Last Post bltdavid  
              Started by port119, Today, 02:43 PM
              0 responses
              9 views
              0 likes
              Last Post port119
              by port119
               
              Working...
              X