I know i can use the Line but the process to draw a horizontal line is slower and implicate more steps, draw the line first, then click it again and hold ****, scroll the chart, etc.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Limit the lenght of Horizontal Lines
Collapse
X
-
Limit the lenght of Horizontal Lines
I use Horizontal Lines a lot for backtesting to mark key levels for specific days, so i have to delete them for the next day so the chart is not a mess, and when I get back to backtesting I have to draw them again, and then delete them again, and so on. I want to keep the horizontal lines, so i don't have to draw them again everytime i want to backtest, so I want these to start and stop at the beggining and end of that day, there's any way to do this via script?
I know i can use the Line but the process to draw a horizontal line is slower and implicate more steps, draw the line first, then click it again and hold ****, scroll the chart, etc.Tags: None
-
Hello dj0ntz,
Thank you for posting on the NinjaTrader forums.
There are a couple of ways you can go about this- you could possibly do this via NinjaScript but not sure how involved this would be. If you haven't done so already, you check via the NinjaTrader Ecosystem to see if this is something a programmer can assist you with.
Additionally, what you can also do is create the lines you are looking for and then go to its properties to change its data points.
Instead of having to manually go to change the length of the line and meet your needs, this would be a good alternative.
Thank you!
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
68 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
41 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
24 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
27 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
54 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment