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
(879)
Projekte
1392
67%
Schlichtung
117
32% / 42%
Frist nicht eingehalten
215
15%
Frei
2
Entwickler 2
Bewertung
(52)
Projekte
133
44%
Schlichtung
14
50% / 29%
Frist nicht eingehalten
55
41%
Frei
3
Entwickler 3
Bewertung
(258)
Projekte
395
28%
Schlichtung
69
19% / 49%
Frist nicht eingehalten
120
30%
Frei
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 want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Hello, I am looking for a skilled developer to create an Expert Advisor (EA) for MT4. The EA should close an open trade automatically when a Golden or Death Cross occurs in the Alligator Indicator. Please let me know if you have experience with similar projects and how we can discuss the details further
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details

Projektdetails

Budget