Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using labeled line
Collapse
X
-
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
-
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
-
Amazing that this platform can't produce a simple line tool you can label, AND see on ALL CHARTS.
Comment
-
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.
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
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
366 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
569 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
571 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment