Announcement
Collapse
No announcement yet.
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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
647 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
368 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
571 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment