Optimize and fix MQL5 multi divergence indicator conterted from Pinescript

Şartname

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


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(20)
Projeler
29
3%
Arabuluculuk
4
0% / 100%
Süresi dolmuş
5
17%
Serbest
2
Geliştirici 2
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
6
0% / 67%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(25)
Projeler
33
18%
Arabuluculuk
6
50% / 33%
Süresi dolmuş
4
12%
Serbest
4
Geliştirici 4
Derecelendirme
(268)
Projeler
603
34%
Arabuluculuk
65
22% / 57%
Süresi dolmuş
147
24%
Çalışıyor
Yayınlandı: 1 makale, 22 kod
5
Geliştirici 5
Derecelendirme
(9)
Projeler
11
18%
Arabuluculuk
4
0% / 100%
Süresi dolmuş
4
36%
Serbest
6
Geliştirici 6
Derecelendirme
(1)
Projeler
4
0%
Arabuluculuk
5
20% / 40%
Süresi dolmuş
2
50%
Serbest
7
Geliştirici 7
Derecelendirme
(14)
Projeler
14
14%
Arabuluculuk
8
0% / 88%
Süresi dolmuş
2
14%
Yüklendi
8
Geliştirici 8
Derecelendirme
(8)
Projeler
12
0%
Arabuluculuk
5
20% / 80%
Süresi dolmuş
2
17%
Serbest
9
Geliştirici 9
Derecelendirme
(85)
Projeler
174
44%
Arabuluculuk
3
100% / 0%
Süresi dolmuş
5
3%
Serbest
Yayınlandı: 1 kod
10
Geliştirici 10
Derecelendirme
(64)
Projeler
144
46%
Arabuluculuk
20
40% / 20%
Süresi dolmuş
32
22%
Çalışıyor
11
Geliştirici 11
Derecelendirme
(2)
Projeler
3
0%
Arabuluculuk
8
13% / 88%
Süresi dolmuş
1
33%
Serbest
12
Geliştirici 12
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
Benzer siparişler
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Mr quetta 100+ USD
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move

Proje bilgisi

Bütçe
30 - 100 USD
Son teslim tarihi
from 1 to 5 gün