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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
35 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
13 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
19 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
22 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment