r22mark Tue, 01 Dec 2009 13:27:59 -0800
Look for my post "smart trail stop" - you should be able to adapt the code to do what you want.
Mark