PureBytes Links
Trading Reference Links
|
Andy,
I've tried both the "crosses...." and the "<" and ">", neither works. I
don't want an extra filter until I can see that this trades asit should.
Thanks,
Tom
-----Original Message-----
From: Andy [mailto:ronin@xxxxxxxxxxx]
Sent: Friday, June 16, 2000 12:17 PM
To: profilic@xxxxxxxx
Subject: Re: Easy Lang Prob
: Buy when the High is greater than the PivotHigh and sell when the low is
: less than the PivotLow:
Looking at the code below, even if the High crosses above the Pivot high, it
will never buy because it cannot reference itself (same for the low).
Try : If H crosses above Pivot high then buy at (H+ some filter) stop; and
same idea for the sell side. make the filter an input so you can optimize
for it.
: Inputs: PriceH(High), LStrenH(6), RStrenH(2);
:
: IF PivotHighVSBar(1, PriceH, LStrenH, RStrenH, RStrenH+1) <> -1 Then
Begin}
: If H crosses above PivotHighVSBar(1, PriceH, LStrenH, RStrenH,
: RStrenH+1) Then buy at H stop;
: End;
:
:
: Inputs: PriceL(Low), LStrenL(6), RStrenL(2);
:
: IF PivotLowVSBar(1, PriceL, LStrenL, RStrenL, RStrenL+1) <> -1 Then Begin}
: If L crosses below PivotLowVSBar(1, PriceL, LStrenL, RStrenL,
: RStrenL+1) Then sell at L stop;
: End;
:
: The PivotHigh function is from Omega's downloads.
:
|