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 argusthome, Yesterday, 10:06 AM
|
0 responses
22 views
0 likes
|
Last Post
by argusthome
Yesterday, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
19 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
14 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
10 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
41 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment