İş tamamlandı
İş Gereklilikleri
========== =========== ========== =========== ========== =========== ========== =========== ========== ===========
========== =========== ========== =========== ========== =========== ========== =========== ========== ===========
========== =========== ========== =========== ========== =========== ========== =========== ========== ===========
========== =========== ========== =========== ========== =========== ========== =========== ========== ===========
Keep this EA simple, don’t add additional things that I never mention, example, Time Filter, Trailing Stop Loss, Draw on Chart; see below for the EA Inputs. Also the P/L values do not need to account for the commission and swap charges; unless you want to
Here is how the EA will work:
Buy 1 lot of Symbol 1, example: EURUSD
Sell 1 lot of Symbol 2, example: GBPUSD
When the P/L of Symbol 1 + Symbol 2 are losing $100 or more
The EA will:
Buy 1 lot of Symbol 3, example: NZDUSD
Sell 1 lot of Symbol 4, example: USDCAD
When the P/L of Symbol 3 + Symbol 4 gains $100, the EA will close Symbol 3 and 4 trades only; leaving Symbol 1 and 2 trades still running
If the P/L of Symbol 1 + Symbol 2 is still losing $100 or more, the EA will open Symbol 3 and 4 trades again
* Symbol 3 and Symbol 4 trades must be closed before opening again. Cannot have more than 1 Symbol 3 or 4 trades running
** I want to be able to run 2 instances of the EA on 1 account. The EA must able to distinguish its trades by using the Magic Number
Take the above example. I will run the EA on 1 chart and let the EA open Symbol 3 and 4 trades when Symbol 1 and 2 are facing a loss
I will also run the EA on another chart and let the EA open Symbol 3 and 4 trades when Symbol 1 and 2 are facing a profit
==============================================================================================================
Here are the input settings:
Comment: FE7
Magic Number: 123456
Symbol 1: EURUSD
Symbol 1 Trade: Buy
Symbol 1 Lot size: 1.00
Symbol 2: GBPUSD
Symbol 2 Trade: Sell
Symbol 2 Lot size: 1.00
Amount (Symbol 1 + Symbol 2) Win to Open Symbol 3 and 4 Trades ($0 – Not used): 0.0
Amount (Symbol 1 + Symbol 2) Lose to Open Symbol 3 and 4 Trades ($0 – Not used): 100.0
Take note of the value 100. It means Negative 100 since it is in the Amount Lose setting. I will not put a negative sign in front of the value to confuse You or Myself. Same for the Amount Win Value; if 100, means Positive 100
Symbol 3: NZDUSD
Symbol 3 Trade: Buy
Symbol 3 Lot size: 1.00
Symbol 4: USDCAD
Symbol 4 Trade: Sell
Symbol 4 Lot size: 1.00
Amount (Symbol 3 + Symbol 4) Win to close Symbol 3 and 4 Trades ($0 – Not used): 100.0
Amount (Symbol 3 + Symbol 4) Lose to close Symbol 3 and 4 Trades ($0 – Not used): 0.0
Take note of the value 100. It means Positive 100 since it is in the Amount Win setting. I will not put a negative sign in front of the value to confuse You or Myself. Same for the Amount Lose Value; if 100, means Negative 100
==============================================================================================================
Let me know how much is the cost and how long to get it done
Either code in mql4 or mql5 is fine