10 ATR Trailing Stop
Author: tcarolan
Creation Date: 8/10/2009 1:01 PM
profile picture

tcarolan

#1
I'm a newbie and am trying to chart a 10 ATR Trailing Stop. I started by using the ATRBands from the Community Visualizer pack. That got me almost there.

CODE:
Please log in to see this code.


How can the lower band series be changed into a trailing indicator, useful for making long exits?

Thanks for any help you can give!
profile picture

Cone

#2
See PlotStops() in the QuickRef.

Use lb[bar] as the stop value in the SellAtTralingStop() function. (See QuickRef example again)
profile picture

Eugene

#3
Quick example:
CODE:
Please log in to see this code.
profile picture

tcarolan

#4
Thank you both for the quick reply.
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).