Thanks in advance.
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
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.Paul H.NinjaTrader Customer Service
- Likes 1
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Waxavi, Today, 02:10 AM
|
1 response
16 views
0 likes
|
Last Post Today, 03:03 PM | ||
Started by Kaledus, Today, 01:29 PM
|
5 responses
13 views
0 likes
|
Last Post Today, 02:56 PM | ||
Started by Waxavi, Today, 02:00 AM
|
1 response
12 views
0 likes
|
Last Post Today, 02:53 PM | ||
Started by alifarahani, Today, 09:40 AM
|
5 responses
23 views
0 likes
|
Last Post Today, 02:53 PM | ||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
3 responses
17 views
0 likes
|
Last Post Today, 02:41 PM |
Comment