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 CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
198 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
364 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
283 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment