Is there a way I can override the value the Price Marker is displayed at? I'd like to set it to the current bar normalized Close value I'm calculating in OnRender. I'm already using FormatPriceMarker to change what is displayed, but am not able to set where the Priice Marker is displayed on the Chart Scale.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Override the value the Price Marker is displayed at
Collapse
X
-
Override the value the Price Marker is displayed at
I have an indicator I've written that normalizes the Value data from several Plots in the OnRender method. I do this so I can display multiple plots with different value ranges in a single panel using the Overlay scale justification.
Is there a way I can override the value the Price Marker is displayed at? I'd like to set it to the current bar normalized Close value I'm calculating in OnRender. I'm already using FormatPriceMarker to change what is displayed, but am not able to set where the Priice Marker is displayed on the Chart Scale.Tags: None
-
Price markers are displayed at the [0] index of the plot, so make sure the [0] elementOriginally posted by gregschr View PostIs there a way I can override the value the Price Marker is displayed at?
has your calculated value from OnRender ... and it should work.
Make sure the plot's color is not Transparent, or the same as chart panel background
color.
-
Thanks for the suggestion bitdavid, I can't change the value of the plot because that data series is used to calculate the normalized values. Changing a plot value would corrupt future normalized value calculations.
Comment
-
Hello gregschr,
Thank you for your reply.
We would suggest trying to use a separate Series<double> for what you are normalizing and to use the plot and FormatPriceMarker to display what you want where you wish. There's no other way to draw a price marker than to use a plot.
Please let us know if we may be of further assistance to you.
Comment
-
Thanks, that was my fall back approach. It's a bit messy but doable. I'm actually plotting the normalized values, so I'll store the original values in the separate Series<double>.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
606 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
351 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
560 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
561 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment