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

Re: A simple question



PureBytes Links

Trading Reference Links

At 07:34 PM 02/21/98 -0600, you wrote:
>how about hhf(ref(high,-1),5)? Will this work?
>
>Harley
>
>IONCY@xxxxxxx wrote:
>
>> Greetings:
>>
>> I'm relatively new at this as this as this question will probably
>> suggest but
>> I'm trying to devise a "If" formula that will indicate when todays
>> close is
>> higher then the highest high of the last five days. I've tried using
>> the "hhv"
>> function but that doesn't work since it includes the current day. Any
>> suggestions? I'd appreciate them.
>>
>> Thanks
>
>If the above suggestion doesn't work, try (MS v. 5.11 syntax):

If ( c > ref(H,-1) and c > ref(H,-2) and c > ref(H,-3) and c > ref(H,-4) and
c > ref(H,-5),1,0)

        john