Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 03-01-2009, 03:14 PM   #1

Fredd's Avatar

Join Date: Sep 2008
Location: Europe
Posts: 22
Ignore this user

Thanks: 24
Thanked 11 Times in 6 Posts



Looking for an ATR Trailing Stop Indicator

Hi all,

This afternoon I was browsing at eBay.com and found an add from T2W offering their ATR traling stop indicator for only USD 49,- I wonder if we have this indicator here on this site? Or something what come close to it? Thanks for your help.
Attached Thumbnails
Looking for an ATR Trailing Stop Indicator-atr-trailing-stop.gif  
Fredd is offline  
Reply With Quote
Old 03-01-2009, 03:24 PM   #2
phn

Join Date: Jan 2009
Location: /
Posts: 1
Ignore this user

Thanks: 1
Thanked 1 Time in 1 Post



Re: Looking for an ATR Trailing Stop Indicator

Hi Fredd,

Here's the original one coded by team aphid on meta trader 4.
I hope posting an external link isn't forbidden, if so please delete it or tell me, i'll remove it.

http://www.forexfactory.com/showpost...7&postcount=35
phn is offline  
Reply With Quote
The Following User Says Thank You to phn For This Useful Post:
Fredd (03-02-2009)
Old 03-01-2009, 05:21 PM   #3

LS_Chad's Avatar

Status: Partner
Join Date: Mar 2007
Location: Atlanta, GA
Posts: 224
Ignore this user

Thanks: 0
Thanked 76 Times in 59 Posts



Re: Looking for an ATR Trailing Stop Indicator

I assume this is calculating the ATR (of the periodicity the bars are set to), and there is probably an optional ATR multiplier involved (call it x). So when we're long (uptrend), you'd have:

ATR_Stop = max(ATR_Stop.1, HI - x * ATR);

once the low of a bar hits our ATR_Stop, we turn around and go short, and initialize ATR_Stop to:

ATR_Stop = LO + x * ATR;

and then maintain the ATR_Stop with:

ATR_Stop = min(ATR_Stop.1, LO + x * ATR);

on the way down until the high hits our ATR_Stop...and continue.

This is very similar to the Parabolic SAR indicator you'll find in a number of products.

http://www.linnsoft.com/tour/techind/sar.htm

I could probably add this easily enough as a built-in indicator to Investor/RT, giving the user the ability to specify the ATR period and multiplier.

Last edited by LS_Chad; 03-01-2009 at 06:18 PM.
LS_Chad is offline  
Reply With Quote
The Following 2 Users Say Thank You to LS_Chad For This Useful Post:
Fredd (03-01-2009), lantama (06-25-2009)
Old 03-02-2009, 03:03 AM   #4

Join Date: Sep 2008
Location: India
Posts: 5
Ignore this user

Thanks: 9
Thanked 1 Time in 1 Post



Re: Looking for an ATR Trailing Stop Indicator

google "chandlier exit" to lern more about such SL strategies.
edakad is offline  
Reply With Quote
The Following User Says Thank You to edakad For This Useful Post:
Fredd (03-02-2009)

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Someone Tell Me How to Get an Indicator to Stop Plotting shortski Coding Forum 31 02-08-2009 01:49 PM
Trailing Trend waveslider Coding Forum 0 04-05-2008 03:28 PM
Stop Loss Stop Loss Trailing rod30 Beginners Forum 8 02-23-2008 11:49 AM
Trailing stops vs that other way TinGull Money Management 19 01-15-2008 04:21 AM
Optimal trailing stop percentage al_sellatmarket Beginners Forum 16 03-28-2007 09:04 PM

All times are GMT -4. The time now is 05:46 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.