double projectedhigh = Low[0]+Bars.Period.Value*TickSize;
double projectedlow = High[0]-Bars.Period.Value*TickSize;
Phigh.Set(projectedhigh);
Plow.Set(projectedlow);
if (FirstTickOfBar)
{
Phigh.Reset(1);
Plow.Reset(1);
}
I thought this would plot the hash for every bar and reset the value on the previous bar (1) each time a new bar was formed so all I would see is the current bar hash or dot.
Unfortunately, I see no plot at all. If I alter the .Reset(1) to .Reset(), I see the hash, but it is persistent from the implementation point forward. If I remove the resets altogether, of course I see hashes for all bars.
Is there a more detailed description or tutorial available than is provided in the help section? or am I misunderstanding the use for reset? I have used this technique several times before in non-price panels and it works fine.
Snap

Comment