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.
EA to open 2 trades, close 1st trade on TP, move 2nd trade to break event
I have been trading forex for some time but the challenge I have at the moment is money/trade management. I need to improve my exits so that I keep some pips when the trades are in profit. I have searched the forum and believe the following money/trade management strategy is useful - open 2 trades, close 1st trade on TP, move 2nd trade to break event.
I have looked at the forum and there are couple of EAs that can achieve similar results but I want to implement it with a slight variation. I was wondering if someone can code an EA based on the following money/trade management requirements:
1. EA should open two trades with the following inputs from the user:
* Lot size (should be able to handle micro, mini or standard lots)
* Direction (Buy or Sell)
* TakeProfit1 & TakeProfit2 (TakeProfit1 applies to the first trade and TakeProfit2 applies to the second trade)
* Stop Loss is the same for both orders
* Lock In Profit for 2nd Order (this is my variation and an optional input. It is used if the user wants to preserve some profit for 2nd order rather than allowing the 2nd trade to go to break even. more details below)
2. Using the inputs above, the EA should open trades at the start of next candle (could be Daily, H4 or H1 or any other timeframe).
3. If TakeProfit1 level is hit, the EA should move the second trade to Break Even with "Lock In Profit for 2nd Order" adjustment. For example, if "Lock In Profit for 2nd Order" set to 0, it would mean the stop loss for 2nd trade will be set at break even. If set to say 25 pips, it would set the stop loss for 2nd order at break even plus 25 pips for long trades and break even minus 25 pips for short trades. This way the user has a guaranteed 25 pips for their 2nd trade
Yes, this is very helpful. Thank you for sharing this illustration along with the explanations.
__________________ ForexExplore.com -Forex brokers reviews and rating. Forex Blog-All forex secrets in one place. ForexVote.com-Forex guide to brokers, bonuses, promotions and competitions.