public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT7 to NT8
Collapse
X
-
NT7 to NT8
Hello,
I am trying to convert a NT7 indicator that overrides PLOTS. I am attempting to override OnRender to accomplish this. The Plots override is written like this:
public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
Where do I get the values for bounds, min, and max in the OnRender Event in NT8? Do I obtain the charting space (panel 1) x and y (max width and height) from bounds or min and max? I cant find documentation on this. There isn't an NT8 version of these elements in the ninjatrader code breaking documentation, at least none that I could find.
I am trying to use the internal PIVOTS indicator as a model to convert this, but I cant seem to find a direct conversion for bounds, min, and max
Thanks,Tags: None
-
So, is it mapped as follows:Originally posted by NinjaTrader_ChelseaB View Post
NT7 Plots min = NT8 ChartPanel.MinValueFROM: Plot(Graphicsgraphics, Rectanglebounds, doublemin, doublemax)protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
TO:
NT7 Plots max = NT8 ChartPanel.MaxValue
NT7 Plots bounds.Height = NT8 ChartPanel.H
or
NT7 Plots bounds.Height= NT8 ChartPanel.Heightbounds.Height
or
NT7 Plots= NT8 ChartPanel.ActualHeight
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
640 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
366 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
569 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment