Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using labeled line

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

    Using labeled line

    Hello, i use a labeled line in ninjatrader 8, but I always have to manually label "all charts" to show up in other workspaces. How to do a labeled line to be written to all graphs at once? Thanks for the reply.

    #2
    Hello Románek,

    In the indicator you are developing you can supply a value of true for the isGlobal bool parameter for a draw method.

    Draw.Line(NinjaScriptBase owner, string tag, bool isAutoScale, int startBarsAgo, double startY, int endBarsAgo, double endY, bool isGlobal, string templateName)
    https://ninjatrader.com/support/help.../draw_line.htm

    By drawing this with isGlobal enabled, this will draw the object on all charts of the same instrument.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I'm sorry, I tried, but I really don't know what to do with it. Where can I specifically find "Ninja script"?

      Comment


        #4
        Hello Románek,

        NinjaScriptBase owner is the hosting script that drew object. Typically we put 'this', as in the script class instance thats running as the owner of the object.

        Draw.Line(this, "MyObject"+CurrentBar, true, 5, Close[5], 0, Close[0], true, string.Empty);

        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Amazing that this platform can't produce a simple line tool you can label, AND see on ALL CHARTS.

          Comment


            #6
            Hello scottntfutures,

            Welcome to the NinjaTrader forums!

            Are you referring to the Labeled Lines Drawing Tool?
            This is an expansion of the the NinjaTrader Lines Drawing Tool(s) that adds text boxes to each line that will show prices associated with the endpoint or where the line crosses the price scale. Vertical lines will show time stamps. Your own messages can be added to each text box. New settings can be set […]


            This can be set to All charts to be made global..

            Are you setting this to All Charts and are not seeing it on other charts with the same instrument?

            Similar scripts:
            This indicator will read the horizontal lines that you have applied to a chart and display the price at which that line sits.

            When applied to a chart LabeledRays will render the end anchor price level for all Ray drawing objects.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            637 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            366 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            107 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            569 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            571 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X