- Clearpicks
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 strategist007, Today, 07:51 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,968 views
3 likes
|
Last Post
by jhudas88
Today, 06:59 PM
|
||
Started by rbeckmann05, Today, 06:48 PM
|
0 responses
4 views
0 likes
|
Last Post
by rbeckmann05
Today, 06:48 PM
|
||
Started by rhyminkevin, Today, 04:58 PM
|
4 responses
58 views
0 likes
|
Last Post
by dp8282
Today, 06:13 PM
|
||
Started by iceman2018, Today, 05:07 PM
|
0 responses
6 views
0 likes
|
Last Post
by iceman2018
Today, 05:07 PM
|
Comment