I've provided a ready-to-use MQL5 SDK in the form of header files for the 'Median and Turbo Renko indicator bundle' which is available for MT5 via MQL5 Market or via https://www.az-invest.eu website.



A sample skeleton EA file is provided so you can see how the indicator is used inside a trading robot for Metatrader 5. 

The header file and EA are provided free of charge. They will help you easily create a Renko EA in MT5 using the Median Renko indicator.


For details see GitHub: https://github.com/9nix6/Median-and-Turbo-Renko-indicator-bundle


The header file contains the following set of functions:

//
//  Function for initializing the median renko indicator handle
//

int Init();

//
// Function for releasing the Median Renko indicator handle to free resources
//

void Deinit();

//
// Function for detecting a new Renko bar
//

bool IsNewBar();

//
// Get "count" Renko MqlRates into "ratesInfoArray[]" array starting from "start" bar  
//

bool GetMqlRates(MqlRates &ratesInfoArray[], int start, int count);

//
// Get "count" MovingAverage values into "MA[]" array 
// starting from "start" bar for MA 1,2,3, or 4 (defined by the MaBufferId)
//

bool GetMA(int MaBufferId, double &MA[], int start, int count);

//
// Get Channel values into "HighArray[]", "MidArray[]", and "LowArray[]" arrays 
// starting from "start" bar  
//

bool GetChannel(double &HighArray[], double &MidArray[], double &LowArray[], int start, int count);


Please also check out the full-featured Renko EA trading robot which is available free for the users of the renko indicator.

The trading robot (Renko_EA) can be downloaded from the GitHub page mentioned above.


If you own the Ultimate Renko Indicator or Ultimate Renko Bundle for MT5, the EA is bundled and installed with the indicator, so there is no need for downloading the SDK.