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
|