Thanks in advance.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Horizontal Lines
Collapse
X
-
Hello Linda1507,
Thanks for your post.
The Draw.HorizontalLine() code generated in the strategy builder does not contain the method overloads to create a global line.
You could create your strategy as needed and then "unlock" the code and change the Draw.HorizontalLine method overload needed to support a global line. To see the overload, please review the help guide link here: https://ninjatrader.com/support/help...zontalline.htm
Once your strategy builder code is unlocked, you would be unable to use the strategy builder on that particular strategy and could only change it through the Ninjascript editor, going forward.
Please note that a global line drawn by the strategy would be removed from all charts when the strategy is removed or becomes disabled.
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment