I am looking for an experienced MQL5 developer to develop a custom, tick-based Traditional Renko engine for MetaTrader 5.
The objective of this initial project is to build a reliable Renko engine that generates confirmed Renko bricks from historical and live market ticks and exposes the complete brick data programmatically for integration with a separately developed Expert Advisor.
This is Phase 1 of a larger project. I want to establish a working and testable Renko engine before proceeding with Supertrend calculations and automated trading logic.
Platform: MetaTrader 5
Instrument: XAUUSD
Renko type: Traditional fixed-box Renko
Initial box size: $2.00
Box size must be configurable.
Price source: BID ticks
Historical data: MT5 historical tick data
Default chart timeframe: M1
The construction algorithm must use individual historical and live BID ticks rather than approximating Renko bricks from M1 candle OHLC data.
The engine must:
Generate bullish and bearish Renko bricks using a consistent fixed-box algorithm.
Support continuation and reversal movements.
Handle multiple bricks generated from a single tick.
Handle price gaps and rapid movements.
Avoid duplicate or missing bricks.
Use identical construction rules for historical and live data.
Keep confirmed bricks immutable.
Avoid repainting previously confirmed bricks.
The developer must document the exact Renko construction rules, including initial anchoring, reversal convention and price alignment, before implementation.
The engine must maintain two separate states.
Confirmed bricks:
Completed Renko bricks.
OHLC values must remain unchanged once confirmed.
Must have a unique sequential brick ID.
Must include direction and timestamps.
Forming bricks:
Currently developing bricks.
May update with incoming ticks.
Must be visually distinguishable from confirmed bricks.
Must never be included in confirmed-brick data or generate confirmed-brick events.
The Renko engine must expose its complete confirmed brick history to an independently developed EA.
A reusable .mqh module or another documented EA-readable interface is preferred.
For every confirmed brick, the interface must provide:
Sequential brick ID.
Open price.
High price.
Low price.
Close price.
Direction (bullish/bearish).
Confirmation timestamp.
Original source tick timestamp.
Confirmation status.
The EA must be able to:
Retrieve the total number of confirmed bricks.
Read historical confirmed bricks by index or ID.
Retrieve the latest confirmed brick.
Detect each newly confirmed brick.
Retrieve all newly confirmed bricks since its previous update.
Distinguish confirmed bricks from forming bricks.
Multiple bricks may form from one source tick. Preserve the original source timestamp instead of fabricating separate timestamps.
The interface must prevent duplicate brick notifications.
Provide a configurable historical start date.
The engine must reconstruct Renko bricks chronologically from that date using available historical tick data.
Given unchanged broker tick data and identical settings, reconstruction must produce the same confirmed brick sequence after:
MT5 restart.
Indicator reload.
Chart timeframe change.
EA restart.
Do not rely exclusively on a rolling last-N-bars calculation.
If historical tick data is missing or incomplete, report the problem rather than silently generating incomplete results.
Develop a basic Renko chart indicator using the same underlying engine.
Visual requirements:
Confirmed bullish bricks: dark green.
Confirmed bearish bricks: dark red.
Forming bullish bricks: light green.
Forming bearish bricks: light red.
Optional wicks.
Historical and live brick display.
The visual chart and EA data must use the same Renko calculations.
The developer must provide:
Complete editable MQL5 source code.
Reusable Renko engine module (.mqh preferred).
Renko chart indicator (.mq5).
A small example EA demonstrating how to retrieve confirmed brick OHLC data.
A historical reconstruction test script.
Installation and configuration instructions.
Documentation explaining the EA data interface.
A brief testing report.
Compiled EX5 files alone are not acceptable.
The prototype will be considered complete only after demonstrating:
Correct fixed-box Renko construction.
Correct continuation and reversal bricks.
Multiple bricks generated from one tick.
Correct OHLC values.
Confirmed bricks do not repaint.
Forming bricks remain separate.
Complete confirmed brick history is accessible from a separate EA.
New-brick events are not duplicated.
Historical reconstruction is consistent after MT5 restart and indicator reload, provided source data remains unchanged.
The example EA can retrieve and log confirmed brick OHLC values.
Please provide evidence through source code, logs or a demonstration.
This phase does not require:
Supertrend implementation.
Buy/sell signal generation.
Trading execution.
Order management.
Grid or martingale logic.
Python integration.
Multi-account execution.
These will be considered separately after the Renko engine has been successfully developed and validated.
The project must include complete editable source code and the right to:
Modify the source code.
Integrate the engine into my own Expert Advisors.
Use it on my own trading accounts and VPS.
Engage other developers to maintain or extend the implementation.
Use the engine as part of future compiled software products, including the right to sell or license compiled derivative products.
The developer must disclose any third-party libraries, dependencies or licensing restrictions before starting.
The agreement must not restrict my ability to maintain, modify or commercially use the completed implementation within the rights agreed for this project.
Please answer the following when submitting your proposal:
Have you previously developed tick-based Renko indicators or engines for MT5?
Can you implement the engine using historical and live BID ticks?
Can you expose complete confirmed Renko OHLC history to an independent EA?
Can you separate confirmed bricks from forming bricks?
Can you support deterministic historical reconstruction after MT5 restart?
Can you provide a reusable .mqh module and a sample EA?
Can you demonstrate Strategy Tester compatibility, or explain any limitations?
What is your proposed technical approach?
What is your estimated delivery time?
Can you complete this initial prototype within a budget of approximately $100?
Please quote for this limited Phase 1 scope only. Additional functionality can be discussed in subsequent milestones.