Hi again (sorry for all the messages),

I forgot something.  I don't only want to get the % of a slope, but rather
how smooth it is.  I want a smooth slope from a high point. Do you know how
to do this?

Thanks,

Louis

2008/9/4 Ara Kaloustian <[EMAIL PROTECTED]>

>    Try this:
>
> HHV(Var,period);   // find value of highest high
> HHVBars(Var,period); // Find number of bars - distance from HHV to current
> bar
> %slope = ((Highest high - currentclose) / Highest high) / number of bars *
> 100;
>
> You may choose to define slope in a different way, but this is the basic
> structure
>
> A
>
> ----- Original Message -----
> *From:* Louis P. <[EMAIL PROTECTED]>
> *To:* [email protected]
> *Sent:* Thursday, September 04, 2008 9:34 AM
> *Subject:* Re: [amibroker] How to calculate a slope % with Rsquared
> without a loop?
>
> Hi,
>
> Thanks for your response.  I should have said I want to calculate a slope
> from a high point; I'd like to get a smooth slope from a HHV... How would
> you do that?
>
> Thanks a lot!
> Louis
>
> 2008/9/4 Ara Kaloustian <[EMAIL PROTECTED]>
>
>>    %slope = (variable - Ref(Variable,-x) ) / Ref(Variable,-x) * 100;
>>
>> ----- Original Message -----
>> *From:* Louis P. <[EMAIL PROTECTED]>
>> *To:* [email protected]
>> *Sent:* Thursday, September 04, 2008 9:20 AM
>> *Subject:* [amibroker] How to calculate a slope % with Rsquared without a
>> loop?
>>
>> Hi,
>>
>> I was wondering how to calculate the % of a slope without doing any loop.
>> Anybody has any idea?
>>
>> Thanks,
>>
>> Louis
>>
>>
>  
>

Reply via email to