ATR Based Trailing Stops
Author: dirk01
Creation Date: 10/7/2008 10:53 PM
profile picture


I just downloaded Wealthlab and used your strategy rule tool to program a 80 day breakout entry. Now I'm wondering how I can use the same tools to program a ATR based trailing stop for backtesting purposes. All I can find are % based trailingstops

I'm new to Wealthlab and this forum so any help would be much appreciated!!!

profile picture


There are no ATR exits under the Trailing stop category, but it would be a good idea to add them to the Rules library.

However it's possible to program an ATR trailing stop in the Strategy code: see the QuickRef entry for HighestHighAsOfBar for an example.
profile picture


Thanks for that...I suppose I have to start reading up on code so I can fill the strategy rule gaps in WL5.

This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).