ActFX Algorithmic Trading
Home
Email administrator
Submit a script
Glossary
Latest Additions
Search
Forum
FAQ
Code Library
Manuals
Home
»
Code Library
»
Sample Strategies
»
Trailing Stop
Trailing Stop
Trailing Stop
Trailing Stop Strategy
This strategy opens a buy
position
with a predefined stop for the chosen
instrument
, account, and trader range.
The strategy uses the
tick
history to react to any rate change.
In case the
instrument
price goes up, the stop order is modified: the close rate is moved up, for the same number of pips.
In case the
instrument
price goes down, nothing happens, until the rate reaches the stop level at which the
position
is closed.
Download File
TrailingStop.act
(2.50 KB,
980 views)
Edit Password
You can optionally provide a password to protect this file. Leave the password fields blank to remove any current password.
Password:
Confirm Password:
Update Password
User Comments
by
scriptor
added Monday, November 23, 2009
Interesting idea :-) Thank you guys
by
GPY
added Friday, December 04, 2009
Would be great if you implement automatic trailing stops without a need to program. Still, thanks for this.
by
Kevin
added Friday, December 11, 2009
Very nice :-) thanks
by
mled
added Sunday, April 25, 2010
Nice script. but would be it possible to have the same thing for sell positions? I'm beginner in scripting ;) Thanks for this.
Your name:
*
Email Address:
Web Address:
Verification Code:
*
Details
Type:
SCRIPT
Article has been viewed 2,471 times.
Options
Print Article
Bookmark Article
Social Bookmarks
Comments RSS
Export As PDF
© Copyright 2008 Actforex.com
Terms of Use
/
Advanced Search