[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intrabar strangeness



PureBytes Links

Trading Reference Links

> So, in theory, when running on every tick, this indicator should be 
> comparing the current value of Stoch with the value from the last 
> bar.  The green dot should flash on or off as appropriate.

Nope. Once it plots it stays displayed on the screen. It doesn't "turn
off" although it can move on each tick. You can work around it with
something like

plot1(100, "Green");
if GreenDot then plot1(70, "Green");

or you can plot an "erase" dot the same color as the background.

if GreenDot then plot1(70, "Green")
else plot2(70, "Black");

-- 
  Dennis