PureBytes Links
Trading Reference Links
|
Hello
I read here about an EasyLanguage Function to calculate the Fibonacci number
, and I am looking for many times to a function or indicator that calculate automatically the Fibonacci numbers , because I think that Fibonacci numbers are fundamental to any analysis technique ; these numbers are fundamental for a correct interpretation of any chart .
Can You explain how is possible to write this function ?
Massimo
----------
Da: clyde lee <clydelee@xxxxxxx>
Inviato: luned́ 11 gennaio 1999 18.32
A: Peter Iovanella <ivo1@xxxxxxxxx>
Cc: Code List <code-list@xxxxxxxxxxxxx>; omega-list@xxxxxxxxxx
Oggetto: Re: CL_Using Length of Swing points in a system
Peter,
The following is the frontend documentation from the Swing_Lee
function which is a part of the LOS indicator.
{********************************************************************
Study : Swing_Lee
Last Edit : 12/13/97
Provided By : Clyde Lee (c) 1997
Notes: Uses HighestHigh and LowestLow to determine Turning
Points for Swing Analysis.
Returns number of bars back to last swing point.
Negative if low. Positive if high.
********************************************************************}
The absolute value of the returned value from a call to this routine
is the number of bars back to the swing point.
With this information you can find the High or Low (if return is
negative) price and date/time if desired.
If you did something like:
Return=SwingLee(xxx); {xxx is number of days used in picking H/L}
AbsRet=AbsValue(Return);
If return>0 and return[1]<0 then begin
TPHIGH=H[AbsRet]
TPDIR=-1;
.
.
End
Else If return<0 and return[1]>0 then begin
TPLOW=L[AbsRet]
TPDIR=+1;
.
.
End
{ Then TPHIGH and TPLOW will contain the high and low values
you need for computing Fib values. TPDIR will tell you
which (high or low) to base projections.
Clyde Lee
Peter Iovanella wrote:
>
> I'm trying to design a system for day trading that will calculate Fibonacci
> numbers based on the most recent Swing High and Low, and was looking over
> Clyde Lee's (I believe it's his) code for the Length of Swing indicator in
> hopes of using his method of determining swing points in my system. But I'm
> not a tech-savvy guy, and have been having trouble figuring out exactly how
> to do this correctly. I mean, I know how to tell the system to calculate
> the Fibonacci numbers - that's pretty easy. But how can I get it to use the
> swing points as the inputs for doing the calculations? Any ideas? Thanks.
>
> Peter
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Clyde Lee Chairman/CEO (Home of SwingMachine)
SYTECH Corporation email: <clydelee@xxxxxxx>
7910 Westglen, Suite 105 Work: (713) 783-9540
Houston, TX 77063 Fax: (713) 783-1092
SM available at: ftp://intrepid.com/pub/clyde
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -}
.
|