Convert TradingView Indicator to MT5 EA with Hedging & Martingale

MQL5 专家

指定

Project Description

I need an MT5 Expert Advisor based on a TradingView indicator.

The EA must replicate the indicator signals and include hedging, martingale recovery, and risk management features.

The EA is for XAUUSD (Gold) trading on MT5 (hedging account).

Requirements

1. Indicator & Entry Rules

  1. EA must display the indicator on the MT5 chart.

  2. Entry signals:

    • Buy: when price touches LS1, LS2, or LS3 (each can be enabled/disabled).

    • Sell: when price touches SS1, SS2, or SS3 (each can be enabled/disabled).

  3. TP and SL:

    • Can be fixed or ATR-based.

    • Use real TP but virtual SL (hidden from broker).

2. Hedging & Recovery Logic

  1. If a trade hits SL:

    • Close it immediately.

    • Open a hedge trade in the opposite direction.

  2. If hedge trade also hits SL:

    • Close it.

    • Open the next hedge trade.

  3. Only one hedge trade at a time → when a new hedge trade opens, the old one must be closed.

  4. All hedge trades use the same TP/SL as the first trade.

  5. Continue until TP is hit or maximum hedge trades is reached.


3. Lot Sizing Rules

  1. For fixed TP/SL: hedge multiplier is manually adjustable.

  2. For ATR-based TP/SL: lot size auto-adjusts relative to SL distance.

    • Example: If SL = 50 pips → first hedge lot = 5× initial lot, next hedge = 5× previous, etc.

4. Trade Management

  1. Do not open multiple trades in the same zone at the same time.

  2. Allow multiple zones:

    • Example: If Sell–Buy–Sell zones appear → EA opens 1 trade per zone.

  3. Maximum trades per band (adjustable).

    • Example: Limit 2 trades in Red Band. Reset when band color changes.

5. X-Lot Mode (No Hedge Mode)

  1. When hedging is disabled, activate X-Lot mode.

  2. Only 1 trade open at a time.

  3. If trade hits SL → next trade lot = multiplier × previous.

  4. Goal: recover loss once TP is hit.

6. Manual Trade Management

  1. Option to manage manual trades (filtered by magic number).

  2. When enabled, EA auto-mode is disabled.

  3. Manual trades can still use hedge mode or X-Lot mode.

7. Additional Features

  • Trading session filter (set hours).

  • Daily maximum profit target (auto-stop).

  • Daily maximum loss limit (auto-stop).

  • Alerts for trade open/close (screen, email, push).

  • Inputs: lot size, TP, SL, hedge multiplier, max hedge trades, daily profit/loss limits, session hours, magic number, comment.

Deliverables
  • Source code (.mq5) + compiled file (.ex5).

  • No DLLs or external libraries.

  • Fully tested on XAUUSD (Gold), MT5, hedging account.



反馈

1
开发者 1
等级
(7)
项目
7
29%
仲裁
0
逾期
0
繁忙
2
开发者 2
等级
(34)
项目
36
11%
仲裁
2
50% / 50%
逾期
2
6%
已载入
3
开发者 3
等级
(205)
项目
307
34%
仲裁
56
38% / 38%
逾期
99
32%
空闲
4
开发者 4
等级
(8)
项目
12
0%
仲裁
22
0% / 77%
逾期
4
33%
工作中
5
开发者 5
等级
(4)
项目
4
25%
仲裁
2
0% / 0%
逾期
0
繁忙
6
开发者 6
等级
(573)
项目
944
47%
仲裁
303
59% / 25%
逾期
125
13%
工作中
7
开发者 7
等级
(11)
项目
11
18%
仲裁
1
0% / 0%
逾期
1
9%
空闲
8
开发者 8
等级
项目
0
0%
仲裁
3
0% / 33%
逾期
0
工作中
9
开发者 9
等级
(10)
项目
14
21%
仲裁
0
逾期
3
21%
空闲
10
开发者 10
等级
(170)
项目
193
42%
仲裁
9
11% / 44%
逾期
9
5%
空闲
发布者: 3 代码
11
开发者 11
等级
项目
0
0%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
(7)
项目
16
38%
仲裁
1
0% / 100%
逾期
2
13%
工作中
13
开发者 13
等级
(2)
项目
2
0%
仲裁
0
逾期
1
50%
空闲
14
开发者 14
等级
(1)
项目
1
100%
仲裁
0
逾期
0
工作中
15
开发者 15
等级
(3)
项目
6
33%
仲裁
0
逾期
2
33%
空闲
16
开发者 16
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
17
开发者 17
等级
项目
0
0%
仲裁
0
逾期
0
工作中
相似订单
I NEED A TRADING BOT , WITH 99 PERCENT PROFITABLE, IT SHOULD BUY AND SELL ON MATHEMATICAL BASIS, IF ANYONE MY FRIEND HAVE THAT KIND OF SKILL OR EXPERTISE FOR MAKING BEST TRADING ROBOT , PLEASE REPLY WE CAN DEFINITELY MAKE SOMETHING BIG AND BEST TOGETHER. anyone have expertise,, plz reply
Shybossforex robot 30 - 50 USD
Shybossforex strategy full data continuation and reversal.The strategy of continuation and reversal is trading technique 5hat involves two different approach to trade execution.The continuation and reversal is based on assumption that current market trend will continuation in future and therefore inloves taking position in same direction as prevailing trending,I will wait for the pullback and continuation trade with
I’m seeking an experienced NinjaTrader / NinjaScript developer to help build a custom trading solution. The project includes: Creating a custom signal for NinjaTrader. Developing a separate indicator box showing green/red arrows based on direction. Using multiple timeframes: current chart, 5 min, 15 min, 30 min, and 1 hr. Automating the strategy with a reliable trading bot . Requirements: Proven experience with
I need a Expert Advisor based on 1H timeframe to open positions once fib levels are broken. 2 positions opened per trigger. First position closes at first TP level and the remaining open position moves stop loss to break even. Only one break out trigger allowed per day. Fib must be auto drawn in by EA according to time frames given. Time frames need to be adjustable too. 3 Moving averages needed. Two smaller MA for
I am looking for a a good mql5 developer to build an expert advisor based on candlestick breakout and close....rules are simple on the breakout of the previous candle prices and close above/below the EA enter position et set take profit and stop loss at specific price refered to previous previous candlestick, need more explanation in details please message me asap
I need a very powerful profit harvesting tools with a comprehensive account protection system, with Candlestick dependant expert advisors (EA) on MQL4/5 plartform.need a developer with a Long time experience
I need small modification TRADINGVIEW INDICATOR(source of code 112 lines) , If it's possible please create a simple EA to backtest this strategy. Only experienced programmers please, not with 0 projects done
Customizable Forex Trading Bot for MetaTrader 4 & 5 Project Overview I am a professional zone‑to‑zone trader seeking an experienced developer to build a fully customizable forex trading bot (Expert Advisor) that operates on both MetaTrader 4 and MetaTrader 5. The bot must execute trades according to detailed instructions that I will provide once an ambitious and suitable applicant is selected. It should allow easy
Project Overview: Advanced Adaptive Grid EA This document outlines the development specifications for a sophisticated MQL4 Expert Advisor. The EA is designed to be a fully featured, institutional-grade trading tool employing an adaptive grid strategy with advanced risk management and user control. Core Features Advanced Risk Control: Equity Protection: Automatically closes all trades and halts trading if drawdown
I am looking for a fully functional Expert Advisor that is optimized for Prop Firm Challenges (e.g. FTMO, etc.). Requirements: Stable algorithm designed to comply with typical challenge rules (drawdown limits, max daily loss, etc.) Strategy with strong risk management and consistent profitability Fully commented source code (MQ5/MQ4) Transparent performance proof (backtests or live results) Optional Features

项目信息

预算
30+ USD
截止日期
 10 天

客户

所下订单2
仲裁计数0