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

Re: Up/Down Ratio



PureBytes Links

Trading Reference Links

Thanks Denis,

That does the trick!

Also, in comparing the results of your formula with my Quotes Plus version,
in case anyone wants to use it, I realized that mine suffers from the "off
by 1 syndrome".  To fix this, the first line of the for loop should be
changed to:

                                          for i = Startindex to 0

Thanks,
    Barry



----- Original Message -----
From: Denis Trover <dtrover@xxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Sunday, November 26, 2000 5:59 PM
Subject: Re: Up/Down Ratio


> Barry,
>
> I have been using the Up/Down Volume Ratio in MetaStock for some time.
The
> easiest way to enter the indicator formula is as:
>      Sum(If(C>Ref(C,-1),V,0),50)/Sum(If(C<Ref(C,-1),V,0),50).
>
> Hope this is what you are looking for.
>
> Denis Trover
>