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

Re: Normalizing Two Indicator Values



PureBytes Links

Trading Reference Links

You can normalize them to some date in the past as follows:

Var: DoInit(TRUE);

if DoInit and Date >= 1040101 then begin
   DoInit = FALSE;      {Save prices as of this date}
   Price1 = Close data1;
   Price2 = Close data2;
end;

Plot1(Close data1 / Price1, "D1");
Plot2(Close data2 / Price2, "D2");

Bob Fulks

At 03:32 AM 10/1/2004, Ross S Bond wrote:

>I am plotting two price-based indicator values and I would like to
>normalize them so that I can see them both displayed over a similar
>scale regardless of the actual price of the market being tested,
>but while still retaining the relationship between the two values.
>
>I can normalize them using the formula:
>[(Series - SeriesLL)/(SeriesHH - SeriesLL)] * 100
>
>but that scales both indicator values from 0-100, while I really want
>to preserve the relationship between them - if value1 is really half
>the size of value2 then I would like to be able to see that.
>
>Any suggestion? TIA!