Is there a hybrid way of doing this?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How do I align text to the left of the chart, but at a particular price?
Collapse
X
-
Yes, ChartControl.FirstTimePainted. This is documented as well with NT8.Originally posted by neoikon View Post
ChartScale.GetYByValue(), this is documented as well.I understand that I could use Draw.TextFixed(), but this is mainly for positioning at the corners or edges of the chart and not at a particular price.
Is there a hybrid way of doing this?
NT8 uses OnRender() as the new Plot() method for drawing. There are plenty of Indicators that use this method, best one to start with is the CustomPlotSampleI've done it before in NT7 using a complicated approach by overriding Plot(), but I was hoping for a more elegant way in NT8. What is the replacement approach in NT8 for tasks we originally accomplished by overriding the Plot()?
-
How do I align text to the left of the chart, but at a particular price?
I understand that I can use Draw.Text() to specify a particular price and a particular bar, but I want to be aligned to the left (or right) of the chart. Is there a way to determine the left-most, visible bar on the chart?
I understand that I could use Draw.TextFixed(), but this is mainly for positioning at the corners or edges of the chart and not at a particular price.
Is there a hybrid way of doing this?
I've done it before in NT7 using a complicated approach by overriding Plot(), but I was hoping for a more elegant way in NT8. What is the replacement approach in NT8 for tasks we originally accomplished by overriding the Plot()?
Any help is greatly appreciated!Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, Today, 06:46 AM
|
0 responses
13 views
0 likes
|
Last Post
by Mindset
Today, 06:46 AM
|
||
|
Started by M4ndoo, Yesterday, 05:21 PM
|
0 responses
19 views
0 likes
|
Last Post
by M4ndoo
Yesterday, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
16 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
82 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
51 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Leave a comment: