Professional Documents
Culture Documents
Gartley 222
Gartley 222
{Gartley 222
Original Code written by Mark Conway
=================
Modified
by
deMicron
Oct. 09, 2004
1. Option to Delete Multiple Re-Draw Lines
2. Added 2-more Lines to complete the pattern
================
}
Inputs:
Length(100),
Strength(8),
Tolerance(0.10),
BullColor(Blue),
BearColor(Red),
thickness(2),
DelMulti(TRUE); { Deletes Multiple Re-Draw Lines}
Variables:
F1(0.618),
F2(0.786),
F3(1.27),
F4(1.618),
P1Bar(-1),
P2Bar(-1),
T1Bar(-1),
T2Bar(-1),
P1(0.0),
P2(0.0),
T1(0.0),
T2(0.0),
PTValid(False),
HLValid(False),
InZone(False),
GD(0.0),
XA(0.0),
AB(0.0),
BC(0.0),
CD(0.0),
AD(0.0),
C1(False),
C2(False),
C3(False),
C4(False),
ABdXA(0.0),
BCdAB(0.0),
CDdBC(0.0),
ADdXA(0.0),
TL1(-1),
TL2(-1),
TL3(-1),
TL4(-1),
TL5(-1),
TL6(-1),
TL7(-1),
TL8(-1);
{----- end of variables -----}
P1Bar
P2Bar
T1Bar
T2Bar
=
=
=
=
Tolerance;
AB}
Tolerance;
BC}
Tolerance;
Tolerance;
Tolerance;
AB}
Tolerance;
BC}
Tolerance;
Tolerance;