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, 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
Tuyển dụng chuyên gia MQL4 để tối ưu hóa và hoàn thiện hệ thống giao dịch tự động (EA) I. Tổng quan Tôi đang tìm kiếm một nhà phát triển MQL4 giàu kinh nghiệm để tinh chỉnh, tối ưu hóa và hoàn thiện một Expert Advisor (EA) được thiết kế riêng cho nền tảng MetaTrader 4 (MT4). Logic cốt lõi đã được phát triển; mục tiêu chính là nâng cao hiệu suất và đảm bảo tính ổn định sẵn sàng cho môi trường sản xuất. II. Yêu cầu kỹ
The EA should only set TP and SL( Both Optional, We can set one at the time or no one at the same time or both active at the same time) 1. We active trade ourself , But in The EA this should ask if what the the TP and SL in form of USD we need. We'll put the Exact Required profit and or loss. This EA should calculate and set the tps and Sls itself to all the trades, and when we change the USD profit from info meter
Hello, I am looking for a trading idea, Expert Advisor (EA), or signal service that can achieve around 10% monthly profit (or close to it) in a realistic and consistent manner. 🔹 Very Important : Before any discussion or explanation, you must provide solid and verifiable proof of performance. The proof must be available on one of the following platforms: SignalStart MQL5 Myfxbook ❌ Backtests are NOT accepted and are
Pro EA 30+ USD
Hi, I want to build a trading robot specifically for passing a prop firm challenge. The EA should focus on strict risk management, low drawdown, and consistency suitable for prop firm rules. My current budget for this project is $30. Please let me know what is achievable within this budget and the strategy you recommend
Indicator Simple Moving Averages and Exponential Moving Average BUY SIGNALS SMA 7 High Crosses Above 20 EMA= LIME color Buy Signal at the low of next candle. SMA 7 High Crosses above 40 EMA= BLUE color Buy Signal at low of next candle. SMA 7 High Crossed above 200 EMA= YELLOW Color buy signal at the low of next candle. SELL SIGNALS SMA 7 Low Crosses below 20 Ema= LIME color Sell Signal at the high of next candle. SMA
TRADE COPIER 80+ USD
hello great developer im looking for trade copier I want to tell me more about the features, returns, risks and scalability I think you can tell me the best platform to use for effective results. I also want to know whether it's automated, daily/weekly/monthly returns (profit) and monthly drawdown
WILL PROVIDE MORE DETAILS IN CHAT ... THE EA The EA executes (places trades)? The EA exits (closes trades)? The EA expired ? Or something else? Please provide more details: Which platform? ( MetaTrader 5 or MetaTrader 4 ) What exactly is happening? (error message, no trades, wrong trades, etc.) Broker name? Symbol (like XAUUSD, XAUUSD+, etc.) Send the exact message or screenshot text and I’ll fix it step-by-step

Project information

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