logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
charsipur  
#1 Posted : Monday, February 16, 2009 10:13:10 AM(UTC)
charsipur

Rank: Newbie

Groups: Registered, Registered Users
Joined: 2/16/2009(UTC)
Posts: 1

Hi

can somenody help me with this?

was trying to code a trend following system. want to know how to code a trailing stop where

trailingstop= prev close - 10 day ATR?

ps: also by default a trailing stop can only be revised upwards (in case of longs) and vice versa.

i..e if todays close is lower than yesterdays close and ATR hasnt changed then the stop level remains the same.

Thanks in advance

wabbit  
#2 Posted : Monday, February 16, 2009 5:28:04 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Hi charispur,

Welcome to the Forum.

Do a search of the forum for trailing stops and see that much has been written already; some of the posts will show you the different codes to do this yourself, some posts will direct you to Richard Dale's excellent (and free) advanced stops add-in available from his website: http://www.tradernexus.com/advancedstop/advancedstop.html
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.