Martingale EA

MQL4 Experts

Tâche terminée

Temps d'exécution 2 jours
Commentaires de l'employé
Very Disciplined and loyal person

Spécifications

Please check the picture to understand the EA strategy.


INPUT:

Entry_type: manual/automatic

Lot size:

pending_distance_pips:

lot_size_multiplier

maximum_buy_trades

Maximum_sell_trades

Enable trading time period; Enable/Disable (for automatic entry type only)

Trade start hour

Trade end hour

Enable_avarage_pending_orders_entry: enable/disable

Maximum_loss: (amount)

Profit_Close_Total_Lot:

Profit_Close_Total_Amount:


STRATEGY:

-EA opens selected quantities of sell and buy orders (maximum_buy_trades

Maximum_sell_trades) . And multiplies the opened lot by a selected Lot size (in input lot_size_multiplier) and opens Buy stops and Sell stops from a selected distance of the opened trades`s entry point. Pending_distance_pips in input will stand for the distance.  and so on.. based on martingale strategy..


Explanation: If we open Buy order, EA multiplies the lot by a selected Lot size (in input lot_size_multiplier) and opens Sell Stop pending order at selected distance (pending_distance_pip) from the entry point. If we open Sell order, EA multiplies the lot by a selected Lot size (in input lot_size_multiplier) and opens Buyl Stop pending order at selected distance (pending_distance_pip)


FUNCTIONS:

1. Avarage_pending_orders_entry: EA must modify and make same pending entry point for pending Sell Stops ,EA must modify and make same pending entry point for pending Buy Stops
-explanation on 1 and 2: if we have 3 open Buy orders , then we also have 3 Sell Stops which are executed automatically. Due to high volatility Sell stops entries are executed in different entry points. EA must modify all the pending order entry points on average and make them all the same entry point.


3. Entry_types: should be automatic and manual. 


4. In both entry types EA should open Buy orders, Sell orders, Pending Buy stops and pending Sell stops all in once at selected quantity and size


5. Maximum_loss: should be executed by using Multiple_Close_By instrument in MT4 (enabled for Automatic Entry type only)


6. Profit_Close_Total should be done by using Multiple_Close_By instrument in MT4.

Profit_close_total function should be enabled for Automatic Entry type only


Profit_close_total function Explanation:

if market goes bearish and Sell Stops are executed, now we have

1 lot buy

1 lot buy

1 lot sell

1 lot sell

2 lots sell

2 lots sell

Total buy lots 2

Total sell lots 6

which means we have a total of 4 SELL lots.

in this case Profit_Close_Total should be executed when the profit reaches $1600.


if one direction (BUY or SELL) total lots are 1 lot, then Profit_close_total should be executed at $400

for example:

if we had

0.5 lot Sell

0.5 lot Buy

1 lots Buy

Means now we have a total 1 lot open buy order. And Profit_close_total executes  once the profit reached $400


Profit_Close_total_lot and Profit_close_total_amount more  examples:

Profit_Close_Total_Lot = 1;
Profit_Close_Total_Amount = $400;

If the total lots is '1' -> in this case the EA will close trades as soon as '(1 / 1) * $400 = $400.00  '  is reached.  

If the total lots is '1.5' -> in this case the EA will close trades as soon as '(1.5 / 1) * $400 = $600.00'  is reached.   


Profit_Close_Total_Lot = 1.2;

Profit_Close_Total_Amount = $500;

If the total lots is '1' -> in this case the EA will close trades as soon as '(1 / 1.2) * $500 = $416.66'  is reached.   

If the total lots is '2.5' -> in this case the EA will close trades as soon as '(2.5 / 1.2) * $500 = $1041.66'  is reached.  

NOTE. Profit_Close_total function should be adjustable in input. Where we can change BUY or SELL Profit_close_total. for example. 0.09, 1.20 and so on


7. Profit_Close_Total_Amount: also has to be changeable in input


8. As soon as any trade closed by using Multiple Close By instrument (automatic entry or manual entry) all the remaining open and pending orders has to be closed


9. Automatic Entry Type: After all trades are closed, EA executes new trade orders. This does not apply for Manual entry type


10. Manual Entry Type. EA should execute Trades and Pending trades as soon as we click on Buy or Sell

For example: 

Input parameters:

Lot size: 0.5

Lot_size_multiplier: 2

Maximum_buy_trades: 3

Maximum_sell_trades: 3


If we choose lot size 0.03 on MT4 live and click on Buy or Sell doesnt matter. EA should open: 

3 Buy trades at 0.03 

3 Sell Stops at 0.06 

3 Sell trades at 0.03

3 Buy Stops at 0.06


PLEASE READ THE ENTIRE STRATEGY AND FUCTIONS BEFORE TELLING ME YOU CAN DO IT. 3 DEVELOPERS TOOK THE ORDER AND COULD NOT FINISHED THE JOB AND ENDED UP IN CANCELLING THE ORDER. YOU MUST READ AND UNDERSTAND THE STRATEGY AND FUCTIONS BEFORE TELLLING ME YOU CAN DO IT!  PLEASE AND THANK YOU




Répondu

1
Développeur 1
Évaluation
(2)
Projets
5
0%
Arbitrage
1
0% / 100%
En retard
0
Travail
2
Développeur 2
Évaluation
(11)
Projets
11
0%
Arbitrage
5
20% / 60%
En retard
2
18%
Gratuit
3
Développeur 3
Évaluation
(37)
Projets
59
27%
Arbitrage
26
19% / 54%
En retard
10
17%
Travail
Publié : 1 code
4
Développeur 4
Évaluation
(50)
Projets
64
20%
Arbitrage
11
27% / 55%
En retard
5
8%
Gratuit
Commandes similaires
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de

Informations sur le projet

Budget
200+ USD
Délais
à 1 jour(s)