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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
150 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
302 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
243 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
345 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
174 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment