Trade Management EA

MQL4 Experten

Auftrag beendet

Ausführungszeit 13 Tage
Bewertung des Kunden
Great programmer with interesting ideas on how to improve the implementation of original strategy

Spezifikation

Hi,

I need to program the following trade management EA.

Trade methodology 

Please refer to the attachment with 2 Excel files for the illustration of the trade logic

Here is a specific example for illustration of a 3-level order scenario. This can be replicated (as necessary) when more levels are triggered: 

1) Level 1 trade - Place SELL stop ("Type of order") for [2.0] ("Starting lot") lots of USDJPY at [106.50] ("Price")

2)  When Level 1 pending order is placed, set Target Profit at [5] pips ("Level 1 TP")

When Level 1 trade is triggered 

3) When Level 1 trade is triggered, immediately place Level 2 BUY trade (opposite side as the Level 1 trade) [20] pips away ("Range"), i.e. BUY stop at [106.70] with a total of 2.0 + [2.0] ("Lot increment") = 4.0 lots.

4) Compute the new price that will allow both Level 1 & Level 2 trades to close at Breakeven + [x] pips profit ("TP of higher levels"), taking into consideration the commissions of all the trades ("Commissions per 1 standard lot"). 

5) Suppose this price is [106.95]. Set the TP of Level 2 trade to 106.95 and SL of Level 1 trade to 106.95 + [0.05] ("Bid-Ask Spread") = 106.955

When Level 2 trade is triggered

6)  When Level 2 trade is triggered, immediately place Level 3 Sell trade (opposite side as the Level 2 trade) [20] pips away, i.e. Sell stop at [106.50] with a total of 4.0 + [2.0] ("Lot increment") = 6.0 lots.

4) Compute the new price that will allow Level 1, 2 and 3 trades to close at Breakeven + [x] pips profit ("TP of higher levels"), taking into consideration the commissions of all the trades ("Commissions per 1 standard lot"). 

5) Suppose this price is [106.25]. Set the TP of Level 1 and 3 trades to 106.25 + [0.05]  ("Bid-Ask Spread")= 106.255. Set the SL of Level 2 Buy trade to 106.25. At this point, DO NOT adjust the TP of the Level 2 trade or the SL of the Level 1 trade yet as we need the market to move towards 106.95 price & hopefully, not trigger level 3 trade.

6) Cancel the pending order when the whole series of trades closes. 

In summary, every time a new level is triggered, the next level of trade is immediately placed as a pending stop order. At this time, the next level trade TP is set and the SL of the existing trades that are in the opposite direction as the pending stop order are set to be the same as the next level TP (with bid-ask spread adjustment). 

EA parameters

The EA should contain the following parameters for user input. These have been highlighted in bold in the above description

1) Price. User to set the price for the EA to place the order.

2) Type of order (Stop orders or Limit orders). Thus, if 106.50 is the Price set by the user and the current market price is above 106.50 and the user chooses LIMIT order, then the EA places a BUY LIMIT order at 106.50.  If Stop order is chosen, then the EA places a SELL stop order at 106.50

3) Starting Lot (Set default to 2.0)

4) Level 1 TP (Set default to 5.0 pips)

5) Range (Set default to 20 pips)

6) Lot increment (Set default to 2.0 lots). This means for each level, the EA will add 2.0 lots to the previous lot size. In the default case, it shall be in 2,4,6,8,10,12... sequence

7)  TP of higher levels (Set default to 2.0 pips) The EA needs to replicate the "GoalSeek" function in Excel to find breakeven price for the whole batch of trades. It should first round off to the nearest 5 decimal places for non-JPY pair & nearest 3 decimal places for JPY pairs for the breakeven price. Then, it should add the appropriate 2 pips to this breakeven price. This is assumed to be the "Bid" price and used to adjust the TPs/SLs of all BUY orders.

8) Commissions per 1 standard lot. The computation should take into account the commissions incurred by all the trades

9) Bid - Ask Spread (Set default to 1.0 pip). The computation should also take into account the assumed bid-ask spread. This bid-ask spread is used to adjust the SLs or TPs of all SELL orders (i.e. Bid Price + Bid-Ask spread).   

The EA should automatically close the higher level pending order when the current series of trades is closed. 

It should also have unique magic numbers for the series of trades. The user should be allowed to open another chart of the same pair to trade another price level by changing the magic number. The EA should prompt the user if the magic number is not changed and there are still existing trades of the same pair managed by the EA.

The EA should also be able to resume managing the same series of trades if the MT4 terminal is shut down and re-started after an interruption or after the weekend. 

 

 

Dateien:

Bewerbungen

1
Entwickler 1
Bewertung
(885)
Projekte
1410
67%
Schlichtung
123
32% / 41%
Frist nicht eingehalten
217
15%
Frei
Veröffentlicht: 1 Beispiel
2
Entwickler 2
Bewertung
(52)
Projekte
133
44%
Schlichtung
14
50% / 29%
Frist nicht eingehalten
55
41%
Frei
3
Entwickler 3
Bewertung
(258)
Projekte
396
28%
Schlichtung
70
19% / 49%
Frist nicht eingehalten
121
31%
Arbeitet
4
Entwickler 4
Bewertung
(46)
Projekte
73
16%
Schlichtung
13
8% / 92%
Frist nicht eingehalten
37
51%
Frei
5
Entwickler 5
Bewertung
(130)
Projekte
210
40%
Schlichtung
90
20% / 43%
Frist nicht eingehalten
85
40%
Frei
6
Entwickler 6
Bewertung
(25)
Projekte
54
37%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
22
41%
Frei
Ähnliche Aufträge
Hello, I'm looking for developer or coder to create a custom expert advisor (EA) on mql4 according to my strategy. The developer should be able deliver both indicator and source code for the job. Thanks
Hello I need an EA for MT4 The EA uses only indicator, which shows a buy arrow for buy signal , and a sell arrow for sell signal. Conditions to open a trade: Open BUY trade, when we have a buy arrow show up, CANDLE CLOSES , AND THE ARROW IS STILL THERE .Then open BUY TRADE Open SELL trade, when we have a sell arrow show up, CANDLE CLOSES , AND THE ARROW IS THIS THERE .Then open BUY TRADE Open Close on opposite
​ Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). ​ Buy Signal: When Fast MA crosses above Slow MA. ​ Sell Signal: When Fast MA crosses below Slow MA. ​ Risk Management & Parameters: ​Customizable Lot Size (Default: 0.01). ​Stop Loss (SL) and Take Profit (TP) in pips. ​Trailing Stop options. ​Max Spread filter. ​ Platform: MetaTrader 5 (MQL5)
​ Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). ​ Buy Signal: When Fast MA crosses above Slow MA. ​ Sell Signal: When Fast MA crosses below Slow MA. ​ Risk Management & Parameters: ​Customizable Lot Size (Default: 0.01). ​Stop Loss (SL) and Take Profit (TP) in pips. ​Trailing Stop options. ​Max Spread filter. ​ Platform: MetaTrader 5 (MQL5)
A robot 30+ USD
Je souhaite trouver un développeur pour réaliser ce travail et effectuer les paiements via cette application. Je m'engage à ne communiquer avec les candidats que par cette application, y compris par messageries tierces, correspondance personnelle ou courriel. Je comprends que toute personne ne respectant pas ces conditions sera interdite de publier des commandes sur la plateforme Freelance
I am looking for an experienced MQL5/MT5 developer to develop a custom Expert Advisor based on a complete technical architecture already prepared by the client. This is not a request to design a trading strategy from scratch . The strategy architecture, entry/exit concepts, filters, risk-management requirements and testing requirements are already documented. The main responsibility will be MQL5 development
EAs 100+ USD
To apply, you must already have your EA running on an active MT5 trading account connected to the market. The account must have genuine trading history that can be independently reviewed and verified. EA Requirements 1. Prop-Firm Compatible Risk Management - The EA must include daily and overall drawdown protection. - Required inputs: "MaxDailyLoss = 5%" "MaxTotalDrawdown = 10%" - Once either limit is
Strategy 40 - 60 USD
yo i have a strategy i would really like to turn into a signal bot basically please this is very technical and serious to me the strategy needs more time 1 time frame and the bot most be 100% accurate
Ready to use bot 100+ USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best (can be blocked on demo, i don't really care) - investor password from a reputable broker (if history is available... live / demo, same thing, doesn't really
I want you to develop a professional HFT trading robot for MT5/MQL5 , initially focused on XAUUSD . The robot should be designed for high-speed tick-level trading , analyzing real-time bid/ask movement, spread, tick velocity, momentum, volatility, price acceleration and short-term market microstructure to identify very short-term opportunities. The core strategy should be capable of opening 5–10+ positions in a

Projektdetails

Budget