This ReadMe file provides information on the Renko System code. The Renko System is a trading strategy developed by the Forex Robot Easy Team. For detailed reviews and trading results of this product, please visit Forex Robot Easy - Renko System Review.
The Renko System is designed to generate Renko bars, calculate moving averages, display wicks, show a datetime indicator, send custom notifications, and raise events for Expert Advisors. The code provides a class CRenkoSystem
with methods to perform these tasks.
To use the Renko System code, you need to include the necessary libraries. The required libraries are:
Trade/PositionInfo.mqh
Trade/Trade.mqh
Technical/Indicators/MA.mqh
Notifications/Notification.mqh
The Renko System is implemented as a class CRenkoSystem
, which takes four parameters in its constructor:
renkoThreshold
: The Renko bar threshold.maPeriod
: The moving average period.showWicks
: A flag to display wicks.showDatetime
: A flag to display the datetime indicator.
The main entry point of the Renko System is the Run()
method, which executes the following tasks:
- Generates Renko bars.
- Calculates moving averages.
- Displays wicks if the
showWicks
flag is set totrue
. - Displays the datetime indicator if the
showDatetime
flag is set totrue
. - Sends custom notifications.
- Raises events for Expert Advisors.
To use the Renko System, create an instance of CRenkoSystem
and call the Run()
method.
The Expert Advisor functions section is where you can implement necessary trading functions specific to the Renko System. This section is left empty in the provided code, and you need to implement the required trading functions based on your trading strategy.
The OnStart()
function is the entry point of the program. In this function, the Renko System is initialized by creating an instance of CRenkoSystem
with the desired parameters. Then, the Run()
method is called to execute the Renko System.
Please note that Forex Robot Easy is not the official developer of this product. This code is provided as a sample that can work as described in the product review. To find the official developer of this product, please refer to MQL5.