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

Re: Intrabar strangeness



PureBytes Links

Trading Reference Links

> vars:  Stoch(0), GreenDot(False), RedDot(False);
> Stoch = SlowK(20);
> GreenDot = Stoch > Stoch[1] and Stoch < 30;
> RedDot   = Stoch < Stoch[1] and Stoch > 70;
> if GreenDot then plot1(70, "Green");
> if RedDot   then plot2(30, "Red");
> plot3(Stoch, "Stoch");

You have a plot to spare so I'd probably use an erase dot as plot3. Make
the Stoch plot4 so the black dot can't hide it.

vars:  Stoch(0), GreenDot(False), RedDot(False);
Stoch = SlowK(20);
GreenDot = Stoch > Stoch[1] and Stoch < 30;
RedDot   = Stoch < Stoch[1] and Stoch > 70;
if GreenDot then plot1(70, "Green")
  else plot3(70, "Black");
if RedDot   then plot2(30, "Red")
  else plot3(30, "Black");
plot4(Stoch, "Stoch");

-- 
  Dennis