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!
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
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 ninza33, Today, 07:16 AM
|
1 response
4 views
0 likes
|
Last Post
by ninza33
Today, 07:47 AM
|
||
Started by ellington, Today, 07:40 AM
|
0 responses
1 view
0 likes
|
Last Post
by ellington
Today, 07:40 AM
|
||
Started by Atticus20, Today, 07:27 AM
|
0 responses
3 views
0 likes
|
Last Post
by Atticus20
Today, 07:27 AM
|
||
Started by linkcou, Today, 07:01 AM
|
0 responses
7 views
0 likes
|
Last Post
by linkcou
Today, 07:01 AM
|
||
Started by brunoviveiros, 02-17-2020, 05:31 AM
|
4 responses
65 views
0 likes
|
Last Post Today, 06:25 AM |
Comment