Specification
I am looking to develop a highly optimized and fully modular script in MQL5 specifically for detecting RSI Divergences. This script will serve as a foundational building block to be integrated into a larger, comprehensive Expert Advisor (EA) later. Therefore, execution speed, strict logic, and a clean codebase are my absolute top priorities.
Here are the core technical requirements for this project:
1. MQL5 Performance & Memory Management (Crucial):
Efficient Handle Creation: The RSI indicator handle must be strictly declared and initialized only once within the OnInit() function.
Optimized Data Retrieval: Use CopyBuffer() efficiently to fetch only the newly required data points per tick or per new bar.
Zero Memory Leaks: Under no circumstances should the indicator be re-called or recalculated from scratch on every OnTick(). The module must be extremely lightweight.
2. Customizable Divergence Selection (Important):
The algorithm must be capable of mathematically detecting BOTH Regular and Hidden divergences.
However, I require external input parameters (e.g., boolean variables like Enable_Regular_Div and Enable_Hidden_Div, or a dropdown Enum) that allow me to strictly control which signals are active and displayed. I must be able to select:
Only Regular Divergences
Only Hidden Divergences
Both simultaneously
This flexibility is critical for my backtesting and strategy optimization.
3. High-Efficiency Detection & Strict Confirmation:
Minimal Lag: The algorithm scanning for peaks and troughs must be mathematically optimized.
No Repainting: The divergence signals must be robust and definitively confirmed (e.g., strictly evaluated after the candle closes). Once a signal is printed or registered, it must not repaint or disappear.
4. Clean & Modular Architecture (Integration-Ready):
Encapsulation: The logic must be cleanly separated into modular functions or classes.
No Global Variable Conflicts: Avoid using loosely defined global variables that could clash when I include this .mqh file or logic into my master EA.
Clear Inputs: All customizable parameters (RSI Period, applied price, peak/trough lookback periods, and the divergence type toggles mentioned above) must be clearly defined as input variables.
5. Documentation:
Please include professional, brief comments explaining the core logic, especially around the loops used for identifying the historical pivots/fractals for the divergence.
Please review these requirements and let me know your approach to ensuring the code remains as fast and modular as requested.
Responded
1
Rating
Projects
33
42%
Arbitration
4
50%
/
50%
Overdue
3
9%
Working
2
Rating
Projects
2
0%
Arbitration
0
Overdue
1
50%
Free
3
Rating
Projects
13
23%
Arbitration
5
40%
/
20%
Overdue
0
Loaded
Published: 5 articles, 34 codes
4
Rating
Projects
202
48%
Arbitration
5
20%
/
60%
Overdue
2
1%
Free
5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Rating
Projects
945
47%
Arbitration
309
58%
/
27%
Overdue
125
13%
Free
7
Rating
Projects
49
59%
Arbitration
2
100%
/
0%
Overdue
1
2%
Working
Published: 5 codes
8
Rating
Projects
84
64%
Arbitration
5
100%
/
0%
Overdue
9
11%
Free
9
Rating
Projects
6
0%
Arbitration
4
25%
/
75%
Overdue
2
33%
Free
10
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Rating
Projects
441
55%
Arbitration
22
50%
/
14%
Overdue
30
7%
Loaded
13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Rating
Projects
478
40%
Arbitration
105
40%
/
24%
Overdue
82
17%
Loaded
Published: 2 codes
15
Rating
Projects
1
0%
Arbitration
2
0%
/
100%
Overdue
0
Free
16
Rating
Projects
6
50%
Arbitration
0
Overdue
1
17%
Free
17
Rating
Projects
14
21%
Arbitration
2
0%
/
50%
Overdue
3
21%
Working
18
Rating
Projects
2
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Rating
Projects
708
33%
Arbitration
45
44%
/
42%
Overdue
14
2%
Loaded
21
Rating
Projects
5
60%
Arbitration
0
Overdue
0
Working
22
Rating
Projects
262
21%
Arbitration
23
52%
/
17%
Overdue
0
Working
23
Rating
Projects
3
0%
Arbitration
0
Overdue
0
Free
24
Rating
Projects
553
50%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market
Description: I need an experienced MQL5 developer to build a professional MT5 Expert Advisor for XAU/USD based on my trading strategy. I require the full .mq5 source code and the compiled file. Trading Logic: Timeframes: H4 to determine overall direction, H1 for supply and demand zones, M15 for trade entries. Buy conditions: H4 trend is bullish, price reaches a valid H1 demand zone, liquidity sweep occurs below the
I am looking for an expert MQL5 developer to create a high-performance trend analysis indicator for MetaTrader 5. The tool must combine EMA/SMA trend identification with Bollinger Band volatility overlays, all with toggleable settings. Key requirements include non-repainting Buy/Sell signals, ATR-based SL/TP calculation, and a clean, professional dashboard. It is mandatory that the "Inputs" tab includes a dedicated
Qut GoldScalper VIP
30+ USD
Qut GoldScalper VIP EA (frequently referred to in trading circles and third-party stores as Gold VIP / GoldScalper VIP , developed by Nguyen Chung) is a fully automated Expert Advisor (EA) designed exclusively for trading Gold ( XAUUSD ) on the MetaTrader platforms. Unlike primitive grid or martingale bots that blindly multiply trades, this system relies on a blend of trend filtering and progressive position scaling
WORKING EA
35+ USD
I Need an existing proven profitable EA. EA should have at least 3 months track record of consistency. My budget is $35 and nothing more. If you do not have the working EA for that amount, please do not apply. I'm not paying a dime more. Again do not apply if you are not willing to take the above amount
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
Only Technical Issues . Familiarization to Different Symbols . [Again Technical Assistance Only] . Deleting extra lines of code , Not Required Folders (Clean Code) . No Need for Logic Alteration (Strictly)
MultiPair_PriceAction
30 - 200 USD
OANDA market watch clock and symbols (.sim) Multipair able so i can choose at least 6 of those more volatile forex pairs. Price Action setups instead of relay on lag indicators. But rsi for confirmation. Spread protection, position management, magic number editor, hours trading. Volatility protection Trailing Stop, Stop losses, take profit. Percentage and ATR scale instead of dollars or lot sizes. Funds management
Project Overview I am seeking an experienced MQL5 Expert Advisor (EA) developer to automate a systematic, multi-timeframe institutional trading framework specifically optimized for Spot Gold (XAUUSD) . The EA must programmatically map market structure, identify liquidity zones, and execute trades based on structural confirmations across three distinct timeframes: Daily (D1), 1-Hour (H1), and 15-Minute (M15) . Core
Looking for an MT5 Expert Advisor developer with: Minimum 1 year of verified activity on the MetaTrader Market Positive, real user reviews Ability to build EAs without Bollinger Bands Fully configurable parameters (risk, filters, SL/TP, trading hours) Free test version available before any payment Clear communication and ongoing support If you meet these requirements, please send your MQL5 profile or portfolio
Project information
Budget
80 - 120 USD
Deadline
to 5 day(s)