[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Easy Lang Prob


  • To: "ronin@xxxxxxxxxxx>
  • Subject: RE: Easy Lang Prob
  • From: "Tom" <profilic@xxxxxxxx>
  • Date: Fri, 16 Jun 2000 09:37:17 -0700
  • In-reply-to: <00b901bfd7ae$5851cb20$b08f74d8@xxxxx>

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.
: