An Expert Advisor for a very simple Hedging strategy

Job finished

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

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
(278)
Projects
340
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
2
Developer 2
Rating
(623)
Projects
977
46%
Arbitration
32
38% / 34%
Overdue
96
10%
Working
Published: 6 codes
3
Developer 3
Rating
(305)
Projects
548
35%
Arbitration
78
32% / 42%
Overdue
197
36%
Working
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
(511)
Projects
549
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
(301)
Projects
307
69%
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
(247)
Projects
253
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
15
Developer 15
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
I have the Strategy and full spec any developer can run test to confirm. I need a developer to code it Claude AI has never given a score 11/10. "4.4 PROFIT FACTOR EA - CLAUDE AI CERTIFIED Scorpio Sniper Elite v1.4 - COMPLETE production spec ready: • 60% win rate | $100-190 daily expectancy • 50yr Monte Carlo validated • CLAUDE AI robustness certified [ATTACH ONLY: YOUR 11/10 CERTIFICATE
EA gold sniper 30 - 150 USD
I need an EA specialized for scalping XAUUSD, with short TP and SL in the range of 20–50 pips (equivalent to 2–5 gold price units). No DCA Martingale, no holding/averaging down positions, no grid trading, and no simultaneous buy and sell orders. The strategy and methodology will be yours, and I also require the full source code upon completion
Mt5 or mt4 bot 200 - 600 USD
MetaTrader 5 Expert Advisor Manual Start – Auto Hedge – Dynamic Lot Sequence – Price-Based SL/TP 1. Platform & Account - Platform: MetaTrader 5 - Account type: Hedging - Broker: Exness - Must work on Cent and Standard accounts - Symbol: XAUUSD - Must support different symbol digits automatically 2. First Trade (Manual Only) - EA must NOT open the first trade - First trade is opened manually by the trader - Direction
Profitable Gold bot Requirement Able to achieve at least 5% profit per week with any type of strategy Proper risk management with SL Able to back test for at least 6 month proven result No martingale/ No grid Avoid high impact news Reward Willing to pay more if able to achieve higher profits with acceptable drawdown. (Not small reward) very welcome long term cooperation with good rewards Testing is compulsory before
Attached Files Can be used for reference. Please thoroughly understand the requirements and mql5 & set files before accepting the request. 1. Only Accept the job request if you are able to complete on time 2. I want you to show me demo of the Bot created and tested in Demo account for at least 3 days 3. I want you to show me the back tested results for last 5 years 4. 2 bots Need to be created Bot 1 with attached
🤖 A robot trading indicator typically requires specific parameters to function effectively. 📊 For Forex daily trading with a Moving Average (MA) focus and risk management, the indicator should include: MA type (e.g., Simple, Exponential), MA periods (e.g., 50-day, 200-day), risk management rules (e.g., stop-loss, take-profit), and signal logic (e.g., crossover, trend-following). The indicator should also account
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and
I want EA would work like a bot. I will share the box size on daily market for XAUUSD AND BTC . The bot should apply the same box size on charts and when super trend signals buy it should buy and when sell it should sell with quantity which will shared like 0.01 or 0.10 Secondly when the trade is executed it should carry till trailing SL as for example If supertrend gives Buy signal Entry done at 100 for example and

Project information

Budget
30 - 200 USD