At the moment, default volume profile of NT8 plots the rectangles at float xpos = chartControl.GetXByBarIndex(ChartBars, !Bars.IsTickReplay ? ChartBars.FromIndex : Math.Max(1, Math.Max(ChartBars.FromIndex, firstBarIdxToPaint)) - 1);
I am trying to move the plot to the right end of the chart. please note I am using 100 margin property in my script for bars to plot at a distance from the right edge of the chart, but I want the profile to plot at the right edge.
second, how do I limit the rectangles to remain within that 100 margin so that it does not overlap my bars on the chart?
If anyone can help, will be helpful.
Comment