Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-11-2006, 03:38 AM
Aaragorn's Avatar
Senior Member
 
Join Date: Jun 2006
Location: USA
Posts: 801
Aaragorn is on a distinguished road
Independent Trailing Stop

Is there an EA that I can attach to a chart which will simply take any open trade on that pair and trail stop it according to what I set it to. When I do manual trades all metatrader allows is a 15 pip trailing stop minimum. That just isn't tight enough for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 10-11-2006, 06:31 AM
cja's Avatar
cja cja is offline
Senior Member
 
Join Date: Apr 2006
Posts: 676
cja is on a distinguished road
Trailing stop EA

Quote:
Originally Posted by Aaragorn
Is there an EA that I can attach to a chart which will simply take any open trade on that pair and trail stop it according to what I set it to. When I do manual trades all metatrader allows is a 15 pip trailing stop minimum. That just isn't tight enough for me.
This one works really well, with FXDD you can get the trade to break even after 4 or 5 pips and you can control the trailing stop as well, just enter a trade and the EA sets the stop, limit, type and size of trailing stop and the breakeven or set to XX number of pips after XX number of pips.

e_Trailing.mq4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 10-11-2006, 07:47 AM
furious_angel's Avatar
Senior Member
 
Join Date: Aug 2006
Location: Lat = 39*40'16.73" N, Lon = 104*48'53.70" W
Posts: 146
furious_angel is on a distinguished road
.. sweet.. thank you for this. i agree.. 15 trailing stop is just crap..
__________________
" If you are not here to live a perfect life, then you are wasting it. "
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 10-11-2006, 08:31 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,082
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by cja
This one works really well, with FXDD you can get the trade to break even after 4 or 5 pips and you can control the trailing stop as well, just enter a trade and the EA sets the stop, limit, type and size of trailing stop and the breakeven or set to XX number of pips after XX number of pips.

Attachment 16286
It is written inside the code that this EA should be attached to one chart and it will trail all the open orders in Metatrader (for example, attach to GBPUSD M5 and this EA will trail all the orders from USDJPY and so on).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 10-11-2006, 03:49 PM
Aaragorn's Avatar
Senior Member
 
Join Date: Jun 2006
Location: USA
Posts: 801
Aaragorn is on a distinguished road
hey I think this is just what I was looking for! wow cool...

I'm not exactly sure how to use the settings...are there instructions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 10-11-2006, 04:39 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,082
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by Aaragorn
hey I think this is just what I was looking for! wow cool...

I'm not exactly sure how to use the settings...are there instructions?
It is written inside the code in Russian the followng:

Attach to one chart only!

ProfitTrailing = True; // profit trailing if true
TrailingStop = 8; // fixed trail size
TrailingStep = 2; // how many trailing steps
UseSound = True; // use sound
NameFileSound = "expert.wav"; // name of sound file
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 10-11-2006, 10:14 PM
cja's Avatar
cja cja is offline
Senior Member
 
Join Date: Apr 2006
Posts: 676
cja is on a distinguished road
e_Trailing

Quote:
Originally Posted by newdigital
It is written inside the code in Russian the followng:

Attach to one chart only!

ProfitTrailing = True; // profit trailing if true
TrailingStop = 8; // fixed trail size
TrailingStep = 2; // how many trailing steps
UseSound = True; // use sound
NameFileSound = "expert.wav"; // name of sound file
newdigital where is the code you have above in the e_Trailing EA, the one I posted has this.


extern string SL_TP_Trail_Options="--------------------------";
extern int StopLoss.Pips=30; // static, initial s/l. Unused if Use.Adr.for.sl.pips = true
extern int TakeProfit.Pips=160; // static, initial take profit
extern int Trail.Pips=15; // trail.pips. Unused if Use.Adr.for.sl.pips=true or if value=0
extern bool Trail.Starts.After.BreakEven=true; // if true trailing will start after a profit of "Move.To.BreakEven.at.pips" is made
extern int Move.To.BreakEven.at.pips=11; // trades in profit will move to entry price + Move.To.BreakEven.Lock.pips as soon as trade is at entry price + Move.To.BreakEven.at.pips
extern int Move.To.BreakEven.Lock.pips=7;
extern int Move.Trail.Every.xx.Pips=0; // If > 0 then ALL other s/l are dropped and trail will only move by Trail.Pips amount for every "Move.Trail.Every.Pips" in profit
extern bool Use.ADR.for.SL.pips=false; // if true s/l and trail according to average daily range and tsl.divisor
extern double tsl.divisor=0.40;


Found out what is happening the EA I Posted is e_Trailing the one newdigital is talking about is e-Trailing which is a different EA.

e-Trailing.mq4

e_Trailing.mq4

Last edited by cja; 10-11-2006 at 10:29 PM. Reason: found out there are 2 EA's with similar names
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 10-12-2006, 10:27 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,082
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by cja
newdigital where is the code you have above in the e_Trailing EA, the one I posted has this.


extern string SL_TP_Trail_Options="--------------------------";
extern int StopLoss.Pips=30; // static, initial s/l. Unused if Use.Adr.for.sl.pips = true
extern int TakeProfit.Pips=160; // static, initial take profit
extern int Trail.Pips=15; // trail.pips. Unused if Use.Adr.for.sl.pips=true or if value=0
extern bool Trail.Starts.After.BreakEven=true; // if true trailing will start after a profit of "Move.To.BreakEven.at.pips" is made
extern int Move.To.BreakEven.at.pips=11; // trades in profit will move to entry price + Move.To.BreakEven.Lock.pips as soon as trade is at entry price + Move.To.BreakEven.at.pips
extern int Move.To.BreakEven.Lock.pips=7;
extern int Move.Trail.Every.xx.Pips=0; // If > 0 then ALL other s/l are dropped and trail will only move by Trail.Pips amount for every "Move.Trail.Every.Pips" in profit
extern bool Use.ADR.for.SL.pips=false; // if true s/l and trail according to average daily range and tsl.divisor
extern double tsl.divisor=0.40;


Found out what is happening the EA I Posted is e_Trailing the one newdigital is talking about is e-Trailing which is a different EA.

Attachment 16330

Attachment 16331
Yes it is different EAs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 05-04-2007, 01:59 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
I just understand Trailing Stops yet.
Using Firebird, If I have a trade with a TP=15 SL=15 and TS=6
How does the TS of 6 effect this trade? TS doesn't override TP does it?
If the price moves in my favor 6 pips does it move my SL up to it now so if my TP of 15 isn't hit at least I'll still break even with a TP of 6? is that right?
I've read elsewhere that it just moves the SL up 6 pips.
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trailing Stop EA newdigital Expert Advisors - Metatrader 4 68 11-01-2009 09:32 AM
How to set a trailing stop??? theolive9 Metatrader 4 1 12-06-2006 12:12 AM
EA trailing stop JoZo Metatrader 4 6 11-10-2006 02:34 PM


All times are GMT. The time now is 10:18 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.