Add a Hedging-System into an existing EA

MQL4 Experts

Job finished

Execution time 8 days
Feedback from customer
Really good work, program exactly(!) that what I want. very fast with a extreme good knowledge. I'm very satisfied with Aleksei and his hard work. I can recommend Aleksei for 100%!

Specification

My EA have a clear entry/exit System with a trailingstop if the trade go in profit. the goal is to improve the losses. I want  for this a simple hedging-system that autonomous work. the hedging-trades should have TP, SL and TS as well compare like the initial-trades! The question is, how should or better when should the EA entry an opposite (hedging) trade. for this, the EA should have a simple function. The ea should have the function "Hedge at loss Pips" because I want to defined the value of X pips if the initial-trade goes in wrong direction. also the lot-size should be defined e.g. hedge lots percent.

My EA works in Minipis, that mean, 1pip =10Minipip!

The EA has a Bug, because he trade not on live:(....


EA rules:

- If the closing price of the previous candle was higher than the current - EA opens sell (Position with a defined TP, SL and TS ). Close sell if TP or TS

- If the closing price of the previous candle was lower than the current - EA will open buy (with a defined TP, SL and TS ). Close buy if TP or TS

- TS like in Code

- Hedge-Position => If Initial-Sell/Buy-Position goes X-Pips in wrong direction then he should open an opposite Position. Lotsize should be variabel => Rules for the Hedge; Hedge should have TP, SL and TS as well (same like initial-position) If Hedge are in profit, intial-Position remove his TP+SL to same TP+SL like hedge. If Hedge close in profit, initial-Position close immediately.

Responded

1
Developer 1
Rating
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
218
15%
Free
Published: 1 code
2
Developer 2
Rating
(25)
Projects
54
37%
Arbitration
4
0% / 50%
Overdue
22
41%
Free
3
Developer 3
Rating
(133)
Projects
185
30%
Arbitration
77
9% / 73%
Overdue
77
42%
Free
Similar orders
Hello Muzaffar, I am inquiring about trading robot for my Gold trading scalping, Day trading and swing trading, could you develop this kind of trading robot, if its yes how long it will take you to deliver and how much will it cost? I would appreciate your response, Kind Regards, Ahmed
Hello developers, I’m looking for a professional trading bot that works using pending orders only (Buy Stop & Sell Stop). Main requirements: The bot must open multiple pending orders continuously. Stable execution without freezing or missing orders. Clean and professional logic suitable for real trading. Fully customizable settings (distance, lot size, TP/SL, trailing, etc.). If anyone already has a ready-made
Develop a fully automated MT5 Expert Advisor based on a multi-timeframe institutional trend-pullback strategy with: Regime filtering (H4) Execution logic (H1) ATR-based stop model Multi-stage trailing system Risk-based position sizing Portfolio-level risk protection Detailed performance logging This EA will be used for client capital (PAMM/MAM environment). Stability and risk control are higher priority than high
Hello, I have an existing MT5 Expert Advisor that works perfectly on a demo account. The strategy is profitable and executes trades correctly in demo testing. However, when I run the same EA on a live account, it takes trades but the results are not profitable. The performance is significantly different compared to demo. I am looking for an experienced MQL5 developer who can: Analyze the EA logic Identify why live
I am looking to purchase a proven scalping Expert Advisor with verified live account performance. Requirements: • Minimum 6 months live trading history • Proven profitability with controlled drawdown • Scalping strategy with Buy and Sell trades • Works on XAUUSD (Gold), MT5 preferred • Includes Stop Loss and Take Profit • Suitable for small accounts ($100) • Reasonable one time price Please share live performance
Trade Copier from MT4/ MT5 to MT4/ MT5 (local) , i am looking for some local copier where i can copy trade from meta trader 4 to meta trader 5 or meta trader 5 to meta trader 4 , looking for fast execution
I. YÊU CẦU DỰ ÁN Tôi đang tìm cách phát triển một hệ thống giao dịch tự động (Expert Advisor) được xây dựng trên nền tảng Smart Money Concepts (SMC), tích hợp Trí tuệ Nhân tạo (AI) và có cơ chế quản lý vốn tiên tiến. EA (Expert Advisor) phải được tối ưu hóa cho cả thị trường biến động mạnh như Vàng (XAUUSD) cũng như các thị trường ổn định, có xu hướng như EURUSD. Nó phải thân thiện với người mới bắt đầu nhưng cũng đủ
Hello, I want a grid trading bot for the Gate.io crypto exchange. I currently have a working grid bot written in MQL5, and I want a similar bot implemented in Python. The MQL5 bot can be translated, but the codebase is large and it was not designed to be easily ported to Python. Therefore, I prefer that the final Python bot preserves the same core grid logic, but is implemented cleanly in Python rather than doing a
Chancefxbot1 400 - 600 USD
– MA20/30/50 Alignment + MA50 Slope + Swing SL + Step Trail + News Filter Symbol: XAUUSD Timeframe: M5 Language: MQL5 Trading: 24/5 (no session filter) 1) Indicators (Inputs) MA20, MA30, MA50 MA type selectable: EMA or SMA Applied to Close Inputs: MA periods and MA method 2) Entry Rules (Alignment + Slope) BUY: MA20 > MA30 > MA50 MA50 slope filter passes: Slope = MA50(current) − MA50(10 candles ago) Require slope ≥
I need an MT5 Expert Advisor for manual trading execution with precise risk-in-money control and automatic position splitting. FUNCTIONAL REQUIREMENTS: 1. Input: Total risk per trade in money (USD). 2. Input: Stop Loss in points/pips (or read from chart SL line). 3. EA must calculate position size based on total risk and SL distance. 4. EA must detect broker maximum lot size per position. 5. If calculated lot size

Project information

Budget
10 - 20 USD
Deadline
from 1 to 3 day(s)