Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Fixed plot in right margin area
Collapse
X
-
Hello Cyph3r,
While you cannot render in the price margin, you can render a line within the chart panel area on the right side.
Draw.TextFixed() will allow you to draw text in the bottom right of the chart.
https://ninjatrader.com/support/help..._textfixed.htm
OnRender() is the method run on each render pass where you can add objects to be rendered to the RenderTarget.
Create a TextLayout object and set the text in the string text parameter, then draw the text with RenderTarget.DrawTextLayout().
Included with NinjaTrader is the SampleCustomRender indicator that demonstrates how to render.
I can also provide an example that renders text.
https://ninjatraderecosystem.com/use...bol-watermark/
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
-
Fixed plot in right margin area
Does anyone know how to place a line/text in a fixed space on the right side margin on NT8? Meaning that as you horizontally scroll to the left, the indicator remains fixed in the extended/margin area on the right side of the chart.
I *think* the OnRender() function is the key, but I'm not sure what to do with it. https://ninjatrader.com/support/help.../?onrender.htm
Thanks!Last edited by Cyph3r; 11-21-2020, 01:07 PM.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Paul Penton, Today, 10:42 PM
|
0 responses
1 view
0 likes
|
Last Post
![]()
by Paul Penton
Today, 10:42 PM
|
||
Started by goddilybuy, Today, 10:22 PM
|
0 responses
2 views
0 likes
|
Last Post
![]()
by goddilybuy
Today, 10:22 PM
|
||
Started by goddilybuy, Today, 10:21 PM
|
0 responses
1 view
0 likes
|
Last Post
![]()
by goddilybuy
Today, 10:21 PM
|
||
Started by godaily1, Today, 10:20 PM
|
0 responses
1 view
0 likes
|
Last Post
![]()
by godaily1
Today, 10:20 PM
|
||
Started by godaily1, Today, 10:19 PM
|
0 responses
2 views
0 likes
|
Last Post
![]()
by godaily1
Today, 10:19 PM
|
Leave a comment: