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

RE: Intrabar strangeness



PureBytes Links

Trading Reference Links

Hi Gary and Dennis,

If you use TS2K you can use NoPLot(Item):

if GreenDot then plot1(70, "Green") else Noplot(1);
if RedDot   then plot2(30, "Red") else Noplot(2);

Item represents the number of the plot you want to remove.

Rgds,
Phil

-----Message d'origine-----
De : Dennis Holverstott [mailto:dennis@xxxxxxxxxx]
Envoyé : mardi 18 juillet 2000 22:21
À : fritz@xxxxxxxx
Cc : omega-list@xxxxxxxxxx
Objet : Re: Intrabar strangeness


> 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