PureBytes Links
Trading Reference Links
|
Dear Listers,
Very interesting thread! This is exactly what I like to see here. I wish
I had seen this topic a month ago before I had nailed down the questions
for my book! I could have really taken this one for a ride!
A number of very good suggestions here. I am not going to spend more than
a few moments on it, but here are my thoughts.
First, I do use the Swing Hi/Lo bar functions quite frequently. Part of
your trouble, in the original code (as was pointed out), was looking for
two swings of strength ten within thirty bars. You will almost NEVER find
two within thirty bars!
I almost always use something equivalent to :
swH = @SwingHighBar (01, High, Strength, Strength + 01) ;
if swH <> -01 then begin
swHi2 = swHi1 ;
swHi1 = @BarNumber [swH] ;
end ;
Now I have stored two BarNumber values that I can compare for amplitude and
frequency if I want.
if swHi2 > -01 then begin
High [CurrentBar - swHi1] compared to High [CurrentBar - swHi2] or
swHi1 compared to swHi2
end ;
You must allow at least Strength plus one bar as the length of the
SwingHigh but why in heavens name look back any more bars than that - once
you know better, I mean!
I have a sample study "Swing Hi/Lo..." something - I believe it is up to
version seven by now. Anyone who wants it drop a note with your name,
address, phone, fax and of course eMail address I will send you a copy. If
you do not want to be on my mailing list then do not ask for any favors, OK?
The idea sounds super for catching a change of trend. It will lag behind
the actual turning point a good bit but might be great for trading within
the larger trend. Was this your concept?
Samuel
PS, I wrote a rather strong (acerbic) reply after some of the grousing
going on toward Pierre. I did not send it to the list because I decided
not to join the "lower life forms" I deplore so very much. Enough said.
If anyone wants to see what I did not say, drop me PRIVATELY a line and I
will forward my comments to you. Do not waste other peoples time with
this, please. Please, No more public comments!
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 *****
|