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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
80 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment