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

Re: Problem with SwingHigh/SwingLow


  • To: <omega-list@xxxxxxxxxx>
  • Subject: Re: Problem with SwingHigh/SwingLow
  • From: "DOUGWARREN" <DOUGWARRENkkkkkkkkkkkk>
  • Date: Tue, 17 Feb 1998 09:11:17 -0800 (PST)

PureBytes Links

Trading Reference Links



----------
> From: Earl Adamy <eadamy@xxxxxxxxxx>
> To: Omega List <omega-list@xxxxxxxxxx>
> Subject: Problem with SwingHigh/SwingLow
> Date: Monday, February 16, 1998 3:48 PM
> 
> I've encountered a major problem with both SwingHigh and SwingLow
functions
> while testing a pivot identification program which intermittently
returned
> bad pivots.


In the swinghigh and swinghighbar functions try changing the following
lines of code:

If Price1 > Price[X] then               to        If Price1 >= Price[X]

If Price1 >= Price[X] then             to         If Price1 > Price[X]

In the swinglow and swinglowbar functions try changing the following lines
of code:

If Price1 < Price[X] then                 to        If Price1 <= Price[X]
then

If Price1 <= Price[X] then               to        If Price1 < Price[X]
then