Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Good Evening,
I'm trying to Plot Dots on the current 4 or 5 Bars but eliminate them from the left edge of the chart. As each new bar plots, I want the plotted new dot but the plots beyond a certain index (ie [4]) and all the way to the left edge of the chart to be a double.MinValue.
[CODE]
int fromHereOn = (Bars.Count-5);
int fromHereOn2 = (CurrentBar - fromHereOn);
if (CurrentBar >= fromHereOn)
MAPlot3[0] = Median[0];
else
if (fromHereOn2 >= 4)
{
MAPlot3[0] = double.MinValue;
PlotBrushes[1][0] = Brushes.Transparent;
}
Any help making this work would be much appreciated.
kz
Can you help answer these questions from other members on NexusFi?
For example, when a new bar comes in or closes, Reset the Plot in question at 5+1, that way you keep the last 5 and the one slot before them gets reset so it won't plot.