Wanted: simple grid and martingale EA for real trading

MQL4 Experts Forex

Tâche terminée

Temps d'exécution 2 minutes
Commentaires de l'employé
Thank you.
Commentaires du client
Mehdi did the job on point and very fast. We had close communication via skype and he fixed any real money trading issue on the fly. I can strongly recommend his service!

Spécifications

I´m looking for an experienced developer who can write a well documented code for a simple martingale/grid strategy. (EA + source code)


Entry:
There is no complicated entry logic (no indicators). The first position is entered manually by the user but every following order is initiated by the algorythm (order grid, pending orders).
However, unlike usual grid strategies the direction (long/short) of new entry orders are dependant on the market hitting either stoploss or takeprofit of the open position.

Stoploss and Takeprofit are user inputs in pips and are counted towards the real execution price.
Pending orders for the next entry use the exact same levels of stoploss/takeprofit. If a new position is opened, the entry order on the other side of the just finished trade is canceled. Then the stoploss and takeprofit for the new position and the entry orders for the next trade are initiated. (see example at bottom)

There is a martingale factor. So if the open position loses, the next position will be opened with a larger lot-size until the current position hits the takeprofit. If a position wins the next position uses the initial lot size.

There is a maximum order size (MaxLots). If the open position already has the maximum lot-size, the next position is always opened with the initial lot size (also in the losing scenario).


The EA needs the possibility for user inputs. These variables are:
- Initial Lot Size: 0.01 to 1 (1 micro to 1 standardlot)
- Maximum Lot Size: 0.01 to 100 (1 micro to 100 standardlots)
- Stoploss in Pips: 1 to 1000
- Takeprofit in Pips: 1 to 1000
- MartingaleFactor: 0.1 to 10 (0.1 means the next position is +10% bigger)
- email-adress for notifications


General conditions:
It is necessary to finalize the Expert Advisor (MetaTrader 4) to work on a real account - place all of the necessary checks, restore normal operation after a temporary disconnection, reconnection to the account, or a reset/update of the client terminal.
Also add a few attempts to open a position if there is an error. The EA will be moved to a VPS so migration must work. It must work on both 4-and 5-digit quotes (autodetect).

The EA trades each currency pair independently. So it must be possible to trade EUR/USD and GBP/USD on the same client. But there will not be multiple instances of the EA trading on the same curreny. So 1 instance per currency.

The EA gets the very first entry from the user. No Manual trading alongside the working EA is planned so it doesn´t have to be facilitated.

When you change an account, the EA should notify the user about this and stop until a new launch of the EA is executed.

If there are open positions and the external parameters (user inputs) are changed, the EA changes already existing pending orders according to the changes. However, the currently opened position will not be changed in Lot-Size.

In the case of a critical error, the EA sends an email to the users adress (input).



Example:

inputs
InitialLots = 0.01
MaximumLots = 1.00
Stop = 100 Pips
Target = 100 Pips
MartingaleFactor = 1.0
email:---


1.) Manual Entry (Buy) 0.01 Lot @ 1.0000
-> cancel all pending orders of that currency pair
-> add Sell-Stop 0.01 Lot @ 0.9900 (Stoploss)
-> add Sell-Stop 0.02 Lot @ 0.9900 ("New Entry 1" -> current Lots x (MartingaleFactor + 1) )
-> add Sell-Limit 0.01 Lot @ 1.0100 (Takeprofit)
-> add Sell-Limit 0.01 Lot @ 1.0100 ("New Entry 2" -> initial Lot Size)

2.) Market goes down to 0.9900
-> Position stop out (LOSS)
-> Order of "New Entry 1" is executed (short position of 0.02 Lot)
-> cancel all pending orders of that currency pair ("New Entry 2" gets cancelled)
-> add Buy-Stop 0.02 Lot @ 1.0000 (Stoploss)
-> add Buy-Stop 0.04 Lot @ 1.0000 ("New Entry 3" -> current Lots x (MartingaleFactor + 1) )
-> add Buy-Limit 0.02 Lot @ 0.9800 (Takeprofit)
-> add Buy-Limit 0.01 Lot @ 0.9800 ("New Entry 4" -> initial Lot Size)

And so on...




I´m looking forward to your applications with your price and timeframe.




Répondu

1
Développeur 1
Évaluation
(119)
Projets
127
41%
Arbitrage
3
33% / 67%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
3
Développeur 3
Évaluation
(324)
Projets
475
41%
Arbitrage
77
12% / 64%
En retard
77
16%
Gratuit
4
Développeur 4
Évaluation
(4)
Projets
5
0%
Arbitrage
3
0% / 67%
En retard
2
40%
Gratuit
5
Développeur 5
Évaluation
(89)
Projets
137
24%
Arbitrage
35
9% / 40%
En retard
52
38%
Gratuit
6
Développeur 6
Évaluation
(24)
Projets
27
33%
Arbitrage
2
100% / 0%
En retard
1
4%
Gratuit
7
Développeur 7
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
8
Développeur 8
Évaluation
(62)
Projets
140
46%
Arbitrage
19
42% / 16%
En retard
32
23%
Gratuit
Commandes similaires
I am seeking an experienced and skilled developer to code an Expert Advisor (EA) for the MetaTrader 5 platform based on a specific trading strategy with Exponential Moving Average and Buy or sell signals from Crossovers. The developer must have expertise in building EA and ensure the final product is efficient and reliable. If you have the expertise and experience to successfully handle this project, looking forward
I want a program that automatically disables manual trade execution once a specified number of trades have already been placed. ie. After a total of 3 trades have been placed on that day, manual trade execution should be disabled. I want the program to also limit the amount of lots that can be traded in any given day. ie. Maximum of 15 standard lots in any given day. The program should disable manual trade execution
Greetings to all developers that see this post, I have a task, I would like to work with an expert. I have an indicator that is written in the Pine script (TradingView) language; I would like it converted to MQL5, which will then lead to the creation of a trading bot based on the circumstances. I'll give you access to the indicator file
Hi , i want a indicator that shows the trades history on the chart, just for current day, like : first trade : -54 Second trade : -52 Third trade : +126 , and after three trades, display "No more trades"
condition 1 buy when CCI indicator leaves oversold area in 5min chart while Commodity Channel Index in 1 minute chart enters or is on overbought area and trade must execute during the first candle to open above a certain EMA on the 1min chart, while previous RSI is less than current Relative Strength Index on the 5min chart. sell when CCI indicator leaves overbought area in the 5 minute chart while the CCI in the 1
I am looking for a highly sample and ready and tested profitable EA to purchase.if it meets my requirements i will order same one.EA must be low drawdown high profit on any timeframe
Hello i need someone who can convert a trading view indicator into an mt5 indicator that can work smoothly also need to add an alert on the indicator i will require to test the indicator run it for 1-2days to confirm all is okay thank you
i have a ready made SMC EA and looking for optimizing and debugging and also adding back the missing things in the requirement file. Basically work with the current code and refine it to fit the requirement file. Most indicator is already in the EA and the requirement file below are mostly finish. here are the things need to add back and debug based on the requirement file 1. TP from the filter and need to check
Hello. I would like to get a TOS script converted to Tradingview for my alerts. I’m haven’t a hard time getting my entry point because the script does not fire off alerts on thinkorswim. I will send the script so you can see if it’s possible
Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the open): Draw a Fibonacci Retracement: From the highest price to the lowest price of this candle. Check the

Informations sur le projet

Budget
80+ USD
TVA (19%): 15.2 USD
Total: 95.2 USD
Pour le développeur
72 USD
Délais
de 3 à 10 jour(s)