PureBytes Links
Trading Reference Links
|
Dear TWA (unidentified soul),
I can not tell you, yet, why it would exit incorrectly BUT I can tell you
how to more accurately mimic the SwingLow function. Make your code test
for Low of two bars ago greater than or equal to the Low of one bar ago...
Vars: LowLow(0);
If Low [02] >= Low [01] and
Low [01] < Low [00]
then begin
LowLow = Low [01] ;
end ;
If MarketPosition = +01 then ExitLong ("lx.LoLo") at LowLow stop ;
Samuel
Samuel K. Tennis Vista Research
129 Staff Drive voice: 1(850) 243-5105
Ft. Walton Beach, FL 32548 fax: 1(850) 301-2884
skt@xxxxxxxxxxxxxxxxxx http://www.vista-research.com/
***** EasyLanguage Spoken Here *****
|