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
(279)
Proyectos
341
37%
Arbitraje
6
50% / 17%
Caducado
7
2%
Libre
Ha publicado: 5 ejemplos
2
Desarrollador 2
Evaluación
(633)
Proyectos
1001
47%
Arbitraje
33
36% / 36%
Caducado
98
10%
Trabajando
Ha publicado: 6 ejemplos
3
Desarrollador 3
Evaluación
(317)
Proyectos
564
35%
Arbitraje
81
31% / 44%
Caducado
204
36%
Libre
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
(512)
Proyectos
551
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
(313)
Proyectos
318
70%
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
(258)
Proyectos
265
29%
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 own the premium Forex/trading domain SignalsForex.com and I am looking for a person who can help find a serious buyer. The domain is suitable for: Forex signals services Trading education projects Broker affiliate websites Forex lead generation Trading communities Telegram/Discord signal brands Financial marketing projects Target sale price: $7,500+ Commission: 10% of the final sale price after the deal is
I need a simple bot for opening range. Simple Entry / Exit rules, to be able to customize the timeframe, time zone (entry candle) and other normal settings like size, etc
Nyctrad1 30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Platform: MT5 (MQL5) OVERVIEW: I need a custom MT5 indicator that generates only high-probability A+ buy and sell signals. The indicator should combine market structure, support/resistance, liquidity sweeps, candlestick confirmations, session filtering, and Fibonacci retracement logic. FEATURES REQUIRED: SUPPORT & RESISTANCE Automatically detect and draw support and resistance levels. Levels should update
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
i want a developer to build me a robot according to mt style i want an engine which is going to trade gold with small accounts, i want it to be perfect or any developer who has that existing robot we can negoiate the price
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
Description: I am looking for an experienced MQL5 developer to build a fully automated Expert Advisor (EA) for MT5 tailored for Prop Firm challenges and funded accounts. I need a robust, plug-and-play solution with rigorous risk controls. Key Requirements: Platform: MT5 Trading Logic: I am looking for a reliable strategy based either on a Breakout Strategy (e.g., London session breakout) or a Mean Reversion Strategy
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA

Información sobre el proyecto

Presupuesto
30 - 200 USD