Add a Hedging-System into an existing EA

MQL4 전문가

작업 종료됨

실행 시간 8 일
고객의 피드백
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%!

명시

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.

응답함

1
개발자 1
등급
(885)
프로젝트
1410
67%
중재
123
32% / 41%
기한 초과
218
15%
무료
게재됨: 1 코드
2
개발자 2
등급
(25)
프로젝트
54
37%
중재
4
0% / 50%
기한 초과
22
41%
무료
3
개발자 3
등급
(133)
프로젝트
185
30%
중재
77
9% / 73%
기한 초과
77
42%
무료
비슷한 주문
I have an existing MT5 EA and I am sharing the exact behaviour settings below. I need a NEW custom MT5 Expert Advisor that behaves the SAME WAY as these settings. Platform: MetaTrader 5 Symbol: Gold (XAUUSD) Timeframe: M5 (Trading_TF = 0 means current chart) ======================== INDICATOR & TRADE MODE ======================== - Trade Mode = 2 (both Buy & Sell) - Trading timeframe = Current chart (M5)
For a buy case, ea will set buy stop order at the high of the current 4H candle, if the close of the current 4h candle is higher than the open and if the close is less than the high of the 4H candle , then ea will set a buy stop at the high of the current 4h candle. Reverse of this is the sell case. , - -- sell SL to 1800point for gold pair only, set 4500 point for TP, --- , BE the SL to 50points when price moved
I need a fully-automated Expert Advisor coded in MQL5 for MetaTrader 5 that follows market trends using ICT and Smart Money Concepts. The logic will rely on elements such as market structure shifts, order blocks, liquidity grabs and fair-value gaps rather than standard indicators like Moving Averages or RSI. I will share my exact entry, exit and filtering rules once we start, but please be comfortable translating
I need an Expert Advisor based on AOX signals. It must have check and handling of trade operations errors. The main criteria for opening and closing a position: moving average direction the price is higher than the previous bar. Trade lots is an input parameter
EA fix 30 - 60 USD
Current behavior: • The EA opens an initial position (Buy or Sell) with SL and TP. • If price goes against it (10/20/30 pips), opposite positions are opened (hedging). • Only the first position has SL and TP. • When the first position hits SL or TP, all positions are closed at once. • Because of gold slippage and execution delay, this sometimes causes 10–20 pips extra loss. What I need: 1. Every opened position
//+------------------------------------------------------------------+ //| INDICES SCALPING BOT | //+------------------------------------------------------------------+ #property strict input double RiskPercent = 4.0; input int EMAtrend = 50; input int EMAPullback = 20; input int RSIPeriod = 14; input double ATRMultiplierSL = 3.0; input double ATRMultiplierTP = 2.5; double LotSize(double
I am looking for a bot that has been created and tested and confirmed profitable in a live market for Gold. The bot must be profitable and have a low drawdown. The developer will send a demo EA which I can test for myself. I am looking for more of a partnership with an experienced developer. Please no EA on demo accounts. The EA must be verifiable on real account
I am looking for a bot that has been created and tested and confirmed profitable in a live market for Gold. The bot must be profitable and be verifiable on real account and have a low drawdown. The developer will send a demo of the EA which I can test for myself. I am looking for more of an experienced developer. Please no EA on demo account
📌 Development Request – AI Precision Enhancement I would like to clarify my request clearly and precisely. The current trading strategy is strong, stable, and effective , and I do not want to modify or replace the core strategy logic in any way . The goal is only to enhance entry and exit precision , not to redesign the system. ✅ Scope of Work (Required) Please keep the existing strategy exactly as it is , and add
Are you looking for a professional and reliable MT5 Trading Bot (Expert Advisor)? I will develop a custom MT5 EMA Crossover EA based on a proven scalping strategy. 🚀 Strategy Features: ✔ 5 EMA & 9 EMA crossover entries ✔ Buy Stop / Sell Stop pending orders ✔ Fixed lot size (0.01 – no martingale) ✔ Configurable stop loss & entry distance ✔ Pending orders auto-expire after 10 seconds ✔ Works on M1 timeframe ✔ Clean

프로젝트 정보

예산
10 - 20 USD
기한
에서 1  3 일