An Expert Advisor for a very simple Hedging strategy

Job finished

Execution time 1 minute
Feedback from employee
Thank you for your order! Great customer!
Feedback from customer
Extremely helpful, patient and understanding. Exceptional work. I will definitely recommend using him in the future. Thank you so much!

Specification

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


Responded

1
Developer 1
Rating
(279)
Projects
341
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
2
Developer 2
Rating
(636)
Projects
1008
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
3
Developer 3
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
4
Developer 4
Rating
(21)
Projects
35
54%
Arbitration
8
63% / 38%
Overdue
1
3%
Free
5
Developer 5
Rating
(251)
Projects
400
54%
Arbitration
9
67% / 22%
Overdue
36
9%
Free
Published: 2 codes
6
Developer 6
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
7
Developer 7
Rating
(515)
Projects
554
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
8
Developer 8
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
9
Developer 9
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
10
Developer 10
Rating
(41)
Projects
78
40%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
12
Developer 12
Rating
(330)
Projects
335
72%
Arbitration
2
100% / 0%
Overdue
0
Free
Published: 1 code
13
Developer 13
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
14
Developer 14
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
15
Developer 15
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
Matosfx 30 USD
Am called martin sselubiri I need a robot for trading forex and stock and I want know how this robot works and how much it costs for me to use it
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Hi there great developers I need someone who will test the ea from real account because it must cover up the spread first by calculating the next price movement points if it can cover up the spread cost using an atr, adx , if the next price movement is more then the spread after calculate it must place an order this is how the ea must work,, message me if you can , don't waste my time if you don't have an solution
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)

Project information

Budget
30 - 200 USD