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

Paint Bar ELA doesn't quite work?



PureBytes Links

Trading Reference Links


The following  Paint Bar has three conditions, but only the first two are
affecting the Paint Bar.  The third, the Stochastic moving in the same
direction as the upticks, is being ignored.  Can someone help me figure 
this out?

IF xaverage(upticks,20)>xaverage(upticks,20)[1] AND
xaverage(downticks,20)<xaverage(downticks,20)[1]
AND xaverage(FastK(10),10) > xaverage(FastK(10),10)[1] THEN BEGIN

  Plot1(High,"High");
  Plot2(Low, "Low");

  IF CheckAlert Then Alert=TRUE;

End;