- Clearpicks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Is it possible to draw texts to the right of the last bar?
Collapse
X
-
Is it possible to draw texts to the right of the last bar?
Is it possible to draw texts to the right of the last bar? The barAgo parameter in DrawText only accepts positive value, which results the texts are always drawn to the left of the last bar on the chart.
- ClearpicksTags: None
-
When drawing via NET graphics, how can I specify the y position in price instead of pixels? That is, how can I draw a text at price = 1.60 but 10 bars to the right of the last bar on $EURUSD chart? It seems not possible, right?
- Clearpicks
Originally posted by NinjaTrader_Ray View PostNot via any of our supported methods. You can by overriding the plot method and just drawing via .NET graphics. See the indicator CustomPlotSample.
Comment
-
You might want to try writing at bar index 0 and padding the text with leading blanks, so that it appears to the right of bar 0.
Originally posted by shawnj View PostHere is an example. Perhaps it will help motivate you
.
This is actually from MultiCharts but it looks the same in TradeStation (same code).
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
23 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
13 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
8 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
10 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
16 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment