Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plot Line every X number of pips
Collapse
X
-
Hello matkiefer,
Welcome to the forum and I am happy to assist you
You can achieve the same without any programming by simply setting the Horizontal grid line property accordingly.- Double click on the Y-Axix (or right click on the Y Axix, and select properties).
- Set the field “Horizontal grid line interval value” as desired
- Click Ok.
Please let me know if I can assist you any further.JoydeepNinjaTrader Customer Service
-
Well yeah
I basically am going to want to calculate these lines real time, instead of filling up the chart with a lot of lines. Like at bar open one line that is 5 pips below that bar, open line 5 pips above, and then when I get a break above close above, it plots a new line, and takes the last line off.
I know how to do this is if wrote every pip in individually but I don't know how to do it dynamically.
Comment
-
Hello matkiefer,
Thanks for the input.
For static lines you can refer to the ConstantLine indicator which comes with NinjaTrader.
Unfortunately you cannot add Plot dynamically. However you can use the DrawLine or preferably, DrawHorizontalLine function to add lines dynamically.
Please let me know if I can assist you any further.JoydeepNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
601 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
347 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
559 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
558 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment