Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Levels Extended
Collapse
X
-
Levels Extended
Hello, I am trying to extended levels X number of bars to the right of the current bar and then have a label below the level identifying the level, please see red line in pic as an example. However, I am struggling to generate the code that will allow me to do this. Can someone please advise? Thank you.Tags: None
-
Hello gregorious13,
You can try using a negative bars ago for one of the anchors of a line or text drawing object however that may or may not work as negatives are technically unsupported. The correct way to do that would be using custom rendering from OnRender so you can project a line to the panel edge. The Ray tool would be an alternative, you would set the start anchor to 1 bars ago and the end anchor to 0 bars ago, that would project the ray to the right.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
49 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
69 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
36 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
96 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
59 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment