Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is it possible to draw texts to the right of the last bar?

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

    Is it possible to draw texts to the right of the last bar?

    Is it possible to draw texts to the right of the last bar? The barAgo parameter in DrawText only accepts positive value, which results the texts are always drawn to the left of the last bar on the chart.

    - Clearpicks

    #2
    Not via any of our supported methods. You can by overriding the plot method and just drawing via .NET graphics. See the indicator CustomPlotSample.
    RayNinjaTrader Customer Service

    Comment


      #3
      When drawing via NET graphics, how can I specify the y position in price instead of pixels? That is, how can I draw a text at price = 1.60 but 10 bars to the right of the last bar on $EURUSD chart? It seems not possible, right?

      - Clearpicks

      Originally posted by NinjaTrader_Ray View Post
      Not via any of our supported methods. You can by overriding the plot method and just drawing via .NET graphics. See the indicator CustomPlotSample.

      Comment


        #4
        Unfortunately this is not supported.
        RayNinjaTrader Customer Service

        Comment


          #5
          Please add the feature to allow text on the right side of the last bar (in the right margin area). This is a feature that I use constantly in Tradestation 8.x.

          Comment


            #6
            Thanks for your suggestion. We'll add it to the list of future considerations.

            Comment


              #7
              Here is an example. Perhaps it will help motivate you .

              This is actually from MultiCharts but it looks the same in TradeStation (same code).
              Attached Files

              Comment


                #8
                You might want to try writing at bar index 0 and padding the text with leading blanks, so that it appears to the right of bar 0.

                Originally posted by shawnj View Post
                Here is an example. Perhaps it will help motivate you .

                This is actually from MultiCharts but it looks the same in TradeStation (same code).

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                578 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                334 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                553 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                551 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X