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
Need Help - Horizontal Line on Indicator
Collapse
X
-
Seahawk13,
Thank you for your post.
You would use the DrawHorizontalLine(). In the overloads for that DrawObject you would use MAX() to get the Max value of the Momentum 12 period.
Example -
Code:DrawHorizontalLine("MyLine", MAX(Momentum(50)[0], 12), Color.Black);
DrawHorizontalLine
Let me know if this is the answer you are looking for.Cal H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rbeckmann05, Today, 05:50 AM
|
0 responses
1 view
0 likes
|
Last Post
by rbeckmann05
Today, 05:50 AM
|
||
Started by doihaveto13, Today, 05:45 AM
|
0 responses
2 views
0 likes
|
Last Post
by doihaveto13
Today, 05:45 AM
|
||
Started by giulyko00, 04-24-2024, 12:03 PM
|
9 responses
43 views
0 likes
|
Last Post
by giulyko00
Today, 05:13 AM
|
||
Started by memonic, Yesterday, 01:23 PM
|
2 responses
25 views
0 likes
|
Last Post
by memonic
Today, 04:26 AM
|
||
Started by merc410, Today, 03:41 AM
|
2 responses
17 views
0 likes
|
Last Post
by merc410
Today, 04:16 AM
|
Comment