PureBytes Links
Trading Reference Links
|
In-Reply-To: <008001c0c99e$c139f2b0$f800a8c0@xxxx>
Ah, this is interesting. The first set of bands was plotted as a ShowMe
which doesn't have a Scaling option. I transferred the code to an
Indicator and plotted it on top of the chart so I could see the
difference.
When Scaling is set to Screen (which is what the price data is set to) you
can usually see the difference between the Indicator and ShowMe plots.
However... scrolling through the chart, at some points the ShowMe line
disappears. What's more, when it disappears, the price bar doesn't display
correctly vis a vis the bands.
I've discovered that if remove the ShowMe from the display and set the
Indicator to Same as price data, the chart displays price and bands
correctly most of the time. BUT, not always... Or so it seems. The system
is actually triggering some signals when the Low>bottom band which it
shouldn't do...
Anyway, I've rambled on enough...
Thought - how many decimal places do the compare functions - < > - work
to? When the system incorrectly triggers a signal it seems to be when the
difference between the band and the price lies in the third decimal place.
Eg, 0.7470 and 0.7447, although prices 0.7433 and 0.7401 don't work,
either.
Argh...
Cheers,
Ian
> Check the scaling of the indicator and be sure it is set to "Same as
> Symbol".
>
> Randall
>
> ----- Original Message -----
> From: "Ian Waugh" <ianwaugh@xxxxxxxxxxxxxxxxxxx>
> To: <omega-list@xxxxxxxxxx>
> Cc: <ianwaugh@xxxxxxxxxxxxxxxxxxx>
> Sent: Friday, April 20, 2001 08:37
> Subject: Differences between graphs and maths
>
>
> > I've been experimenting with Bollinger Bands (9 period, 2 Stdev), with
> > setups which trigger when the high or low or close is above or below a
> > band.
> >
> > The calculations seem to work correctly and the Data window confirms
> > this
> > but the graphic display with the BBs drawn on doesn't always seem to
> > show this correctly. For example, the calculations might show the low
> > below a band but in the graph it might be slightly above. This makes
> > eyeballing the patterns impossible.
> >
> > Has anyone else experienced this with any indicators? Comments,
> > suggestions?
> >
> > Running TS 4, latest update on 21" monitor at 1152 x 864 16-bit
> > colour.
> >
> > Cheers,
> > Ian
|