Optimize and fix MQL5 multi divergence indicator conterted from Pinescript

Specification

The job is to optimize and fix an MQL5 multi divergence indicator originally converted from a TradingView Pinescript indicator.

Things to fix:

1. Speed - the indicator works, to an extent, but is extremely slow/resource intensive sometimes blank and unreliable compared to the performance of the TV version. 

2. The divergences shown by MT5 roughly coincide to TV, but often MT5 shows more/less divergences. For the same chart, the MT5 version must show the same as TV.

3. The MT5 indicator is slow and I disable divergence line draw in the settings - however, when doing this the MT5 version displays random divergences that are not shown on the TV version. See images below. To mitigate this, I keep the divergence line setting to true but comment out the line draw command in the MQL5. I want this fixed so I can disable divergence lines in the settings but see the same divergences as TV.

The below MT5/TV charts are from the same broker with identical OHCL.

TV indictor showing regular/hidden divergences and divergence lines

TV Indicator showing regular/hidden divergences and divergence lines:


MT5 indicator showing regular/hidden divergences and divergence lines

MT5 Indicator showing regular/hidden divergences and divergence lines: note that the divergence do not exactly match the TV version (requirement 2)


TV indicator showing regular/hidden divergence without divergence lines

TV indicator showing regular/hidden divergence with divergence lines disabled in settings:


MT5 indicator showing regular/hidden divergence with divergence line disabled

MT5 indicator showing regular/hidden divergence with divergence lines disabled in settings - note that this shows random divergences that are not on the above TV chart

(req 3) - this must be fixed so MT5 shows the same divergence as TV when divergence line draw is disabled


Responded

1
Developer 1
Rating
(20)
Projects
29
3%
Arbitration
4
0% / 100%
Overdue
5
17%
Free
2
Developer 2
Rating
(1)
Projects
1
0%
Arbitration
6
0% / 67%
Overdue
0
Free
3
Developer 3
Rating
(25)
Projects
33
18%
Arbitration
6
50% / 33%
Overdue
4
12%
Free
4
Developer 4
Rating
(268)
Projects
603
34%
Arbitration
65
22% / 57%
Overdue
146
24%
Working
Published: 1 article, 22 codes
5
Developer 5
Rating
(9)
Projects
11
18%
Arbitration
4
0% / 100%
Overdue
4
36%
Free
6
Developer 6
Rating
(1)
Projects
4
0%
Arbitration
5
20% / 40%
Overdue
2
50%
Free
7
Developer 7
Rating
(14)
Projects
14
14%
Arbitration
8
0% / 88%
Overdue
2
14%
Loaded
8
Developer 8
Rating
(8)
Projects
12
0%
Arbitration
5
20% / 80%
Overdue
2
17%
Free
9
Developer 9
Rating
(85)
Projects
175
44%
Arbitration
3
100% / 0%
Overdue
5
3%
Free
Published: 1 code
10
Developer 10
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
11
Developer 11
Rating
(2)
Projects
3
0%
Arbitration
8
13% / 88%
Overdue
1
33%
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
Im looking for a developer who can replicate a ea called gold scalper advanced, i dont have the source code for it, all i want to do is add more features such as tp sl and trailing sl into the input section
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Diusang 50 - 533 USD
TITLE: Diusang EA - [ e.g. Gold M1 Scalping Robot ] 1. PLATFORM: MT4 or MT5 ? 2. PAIR / TIMEFRAME: e.g. XAUUSD M1, M5 3. STRATEGY LOGIC: - Entry Buy when: ... - Entry Sell when: ... - Indicator settings: ... 4. RISK MANAGEMENT: - Lot size: Fixed 0.01 / Auto lot from balance? - Stop Loss: ... pips - Take Profit: ... pips - Max trades: ... 5. OTHER FEATURES: - Trailing stop? Yes/No - Trading hours
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction

Project information

Budget
30 - 100 USD
Deadline
from 1 to 5 day(s)