Hi,
I want to plot a point only on the last bar that is ticking, and when the bar steps forward, I don't want to get a track of the point on previous bars. Is it possible to do this?
Thanks!
Plot a point only on the last bar
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Plot a point only on the last bar
Hello orad,
Here is how to do that:
Here is how to do that:
protected override void CalcBar()
{
if (Bars.Status != EBarState.Close)
plot1.Set(Bars.CloseValue);
else
plot1.Reset();
}