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
(19)
Projeler
27
0%
Arabuluculuk
4
0% / 100%
Süresi dolmuş
5
19%
Serbest
2
Geliştirici 2
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
6
0% / 67%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(24)
Projeler
31
19%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
4
13%
Serbest
4
Geliştirici 4
Derecelendirme
(268)
Projeler
601
34%
Arabuluculuk
64
20% / 58%
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
(7)
Projeler
11
0%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
2
18%
Çalışıyor
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%
Serbest
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
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit

Proje bilgisi

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