Dan
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Scaling problem
Collapse
X
-
Scaling problem
I was working on a multi-color version of volume and discovered the histogram bars cross the upper threshold of the panel and the y axis is below 1. All bars are the same visible size since I cannot see the tops.Thinking I did something wrong I made a copy of the VolumeUpDown indicator, removed one of the plots and handling of the plot (reminiscent of NT6.5) and attempted to change the colors of the single plot with PlotBrushes. The new indicator performs exactly the same as the original project. What am I doing wrong?
DanTags: None
- Likes 1
-
I am thinking that the:Originally posted by eDanny View PostI was working on a multi-color version of volume and discovered the histogram bars cross the upper threshold of the panel and the y axis is below 1. All bars are the same visible size since I cannot see the tops.Thinking I did something wrong I made a copy of the VolumeUpDown indicator, removed one of the plots and handling of the plot (reminiscent of NT6.5) and attempted to change the colors of the single plot with PlotBrushes. The new indicator performs exactly the same as the original project. What am I doing wrong?
Dan
AddPlot(new Pen(Brushes.Transparent, 2), PlotStyle.Bar, "UpDnVolume");
Line should not use a transparent color to start. Try using a visable color as your over-write it in the OnBarUpdate, but NT8 may have decided to ignore scaling since it sees the chart might be transparent(doesn't check for this to change later after historical/realtime data starts to flow).
Change it to:
AddPlot(new Pen(Brushes.Red, 2), PlotStyle.Bar, "UpDnVolume");
and try again.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, Yesterday, 11:51 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:51 AM
|
||
|
Started by CarlTrading, Yesterday, 11:48 AM
|
0 responses
23 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
18 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
24 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment