PureBytes Links
Trading Reference Links
|
To all(I'm answering my own message):
Thanks to Stuart Lynskey for an easy solution to my problem. To wit, add
the OBV indicator to my formula as an additional plot, and the scaling for
the formula will be the same for both plots.
Thus:
Inputs: VolAvg(10);
Plot1(Average(OBV,VolAvg),"OBVAvg");
Plot2(OBV,"OBV");
John
----- Original Message -----
From: "John Clemens" <jbclem@xxxxxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Monday, July 30, 2001 3:22 PM
Subject: MA of OBV: scaling problem
> I've written a simple formula for a moving average of On Balance Volume
and
> can't get it to plot correctly. I'm not sure if it's a scaling problem or
> something in the formula. In TS4 the formula is:
>
> Inputs: VolAvg(10);
> Plot1(Average(OBV,VolAvg),"OBVAvg");
>
>
> If I set the OBV scaling to "user defined" and the OBVAvg scaling to
> "screen". This gives a plot that looks right but moves around(in
relation
> to the actual OBV plot) depending on the bar spacing used. That makes it
> useless if you're looking for crossovers.
>
> If I set the OBVAvg to "user defined" and use the exact same numbers used
in
> the OBV "user defined" scaling, the plot keeps its relationship to the OBV
> plot, regardless of bar spacing, but still does not look right. Most of
> the time it plots below the OBV plot and even when the OBV is moving
> sideways the OBVAvg plots below the OBV, acting as if it is a displaced
> average(but one displaced down instead of sideways).
>
> I would guess there is something wrong with one of the formulas, but I am
> using the OBV formula straight out of the TS4 indicator menu. Any ideas?
>
> John
>
>
>
|