An Expert Advisor for a very simple Hedging strategy

Trabajo finalizado

Plazo de ejecución 1 minuto
Comentario del Cliente
Extremely helpful, patient and understanding. Exceptional work. I will definitely recommend using him in the future. Thank you so much!
Comentario del Ejecutor
Thank you for your order! Great customer!

Tarea técnica

Hello to all. I wish to ask if someone can write me an expert adviser that is based around hedging: with a 20 pip gap between buy and sell trades.


The strategy:

If no orders are presently active including buy/sell stops. Then a trade is initiated depending on the 200 EMA (If above, a BUY order is placed, If below, a SELL order is placed)

The lot calculation is based on the account balance. £10-20,000 = 0.1 lots, £20-30,000 = 0.2 lots, £30-40,000 = 0.3 lots etc etc. (this can be edited if desired by user). 

Once EA is activated it immediately starts working and places either a Buy or Sell order based upon whether the current market is trading above or below the 200 EMA, it will also place a Buy or Sell Stop order at a 20 pip gap between the first order.

Each time a BUY/SELL STOP is placed it always increases the lot size by an additional of whatever the original buy/sell order was. For example; Buy at 0.1 lots, the next order is 0.2, 0.3, 0.4, 0.5. Etc Etc. If the initial trade was at 0.6 lots, then the next STOP orders placed will add 0.6 lots, 0.6, 1.2, 1.8, 2.4, 3.0, 3.6 etc etc.

For example; EUR/USD price = 0.95705, price is BELOW 200 EMA, account balance is £32,350, EA Places a SELL order at 0.95705 at 0.3 lots; then immediately places a BUY STOP order at 0.95905 at 0.6 lots.

If the BUY STOP is triggered, immediately a SELL STOP is placed 20 pip gap (Price of 1st trade 0.95705) now at 0.9 lots etc etc etc

Target profit is based on a percentage of the account balance; so for example £10-20,000 balance has a target profit of 1% = £100. £20-30,000 = 1% = £200 target profit. £30-40,000 = 1% £300 target profit etc etc (this can be edited to users desired target profit if wants to increase target profit)

Once target profit has been triggered, EA closes ALL orders and open trades to start a fresh.

The EA Immediately begins a new set of trades and stop orders depending on the 200 EMA and account balance.

It will hold orders open over weekends

It can be used on any time frame and any FOREX pair.


I hope this makes sense and if it is at all possible to create this EA for me would be very much appreciated.


Thank You


Han respondido

1
Desarrollador 1
Evaluación
(278)
Proyectos
340
37%
Arbitraje
6
50% / 17%
Caducado
7
2%
Libre
Ha publicado: 5 ejemplos
2
Desarrollador 2
Evaluación
(626)
Proyectos
984
47%
Arbitraje
33
36% / 36%
Caducado
97
10%
Trabaja
Ha publicado: 6 ejemplos
3
Desarrollador 3
Evaluación
(309)
Proyectos
555
35%
Arbitraje
79
32% / 42%
Caducado
201
36%
Trabaja
4
Desarrollador 4
Evaluación
(21)
Proyectos
35
54%
Arbitraje
8
63% / 38%
Caducado
1
3%
Libre
5
Desarrollador 5
Evaluación
(251)
Proyectos
400
54%
Arbitraje
9
67% / 22%
Caducado
36
9%
Libre
Ha publicado: 2 ejemplos
6
Desarrollador 6
Evaluación
(772)
Proyectos
1039
44%
Arbitraje
50
8% / 50%
Caducado
116
11%
Libre
7
Desarrollador 7
Evaluación
(511)
Proyectos
549
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
8
Desarrollador 8
Evaluación
(322)
Proyectos
499
67%
Arbitraje
5
40% / 0%
Caducado
4
1%
Libre
Ha publicado: 8 ejemplos
9
Desarrollador 9
Evaluación
(298)
Proyectos
427
26%
Arbitraje
18
61% / 33%
Caducado
26
6%
Libre
Ha publicado: 8 ejemplos
10
Desarrollador 10
Evaluación
(41)
Proyectos
78
40%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
12
Desarrollador 12
Evaluación
(304)
Proyectos
310
69%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
13
Desarrollador 13
Evaluación
(96)
Proyectos
143
76%
Arbitraje
0
Caducado
2
1%
Libre
14
Desarrollador 14
Evaluación
(253)
Proyectos
259
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
15
Desarrollador 15
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
Solicitudes similares
I am looking for an expert MQL5 developer to build a high-precision Hedging System between two different MT5 brokers running on the same local PC. Core Objective: Execute opposite (inverse) trades between a Master and Slave account (e.g., Master BUY = Slave SELL, Master SELL = Slave BUY). The Challenge: Standard "Trade Copiers" are insufficient as they cannot prevent single-legged exposure when using manual trading
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money
Articles How to create Requirements Specification for ordering an indicator 76 MetaQuotes 51 380 Table of Contents How can algo trading make a trader's live easier? Supplement text with images and videos Useful programs for creating Requirements Specification Formulating the Requirements Specification as an algorithm Requirements Specification Examples What can I specify in the Requirements Specification? Indicator
Hello, I have two requests: First: Feature Modification Request Currently, the EA places only one pending order at a time. I want to modify this to place two opposite pending orders (Buy Stop and Sell Stop) simultaneously, with the distance between them aligned with the existing Breakeven and Trailing Stop settings in the bot. How it should work: The EA places a Buy Stop above current price and a Sell Stop
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Looking for a good EA 30 - 100 USD
Hello guys,i am looking for a good already established ea,that doesnt blow account,only give 5 percent per month with maximum 10 percent drowdown,I need prove,i need to backtest by myself,after that i select the developer
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
Hi, I need a custom MT5 indicator based on a multi-timeframe fractal break reversal. 1️⃣ The indicator should use two timeframes: Higher Timeframe (HTF) Lower Timeframe (LTF) (Timeframes should be adjustable in inputs, e.g., HTF = H1 and LTF = M5) 2️⃣ Use standard fractals to detect fractal highs and fractal lows. 3️⃣ Primary signal (HTF): When a Lower High fractal is formed and price breaks that Lower High in one

Información sobre el proyecto

Presupuesto
30 - 200 USD