PureBytes Links
Trading Reference Links
|
Stephane,
I have less than a highschool education so that could be getting in
the way but I think that the first part of the equation determines if
the slope is positive or negative, the last part of the equation just
establishes the period to divide by to get the slope. I just
recently began studying this though so could be wrong.
Thanks
wdbaker
--- In amibroker@xxxx, "Stephane Carrasset" <nenapacwanfr@xxxx> wrote:
>
>
> > the w & y issue, I think the equation goes slope=(endval-
startval)/
> > (time or bars) and the way you have it written would give me a
> > negative # of bars I think.
>
> yes, negative and
> if endval-startval is positive ( startval< endval)the slope is
> negative and
> if endval-startval is negative( startval>endval) the slope is
positive
>
> why do you want that the slope is always positive??
>
> stephane
|