Good afternoon developers:
I need to develop a simple EA.
I need a clean code, I do not want a template for the creation of the EA is used.
I do not want lines of code are not used for this EA.
The EA should operate like a 4 digit broker than 5 digits.
The EA will have to work on graphics renko.
The EA used the library errors MT4, for an alert notifying.
//+------------------------------------------------------------------+ //| EA Trend - Renko.mq4 | //| | //| | //+------------------------------------------------------------------+ #property copyright "" #property link "" #property version "1.00" #property strict extern string ExpertName = "=== EA Trend - Renko ==="; extern string GeneralParameters = "===== GENERAL PARAMETERS ====="; extern int Magic = 111; // Manual magic number extern int MaxSpreadPermitted = 2; // Value of maximum spread allowed extern int MaxSlippage = 2; // Maximum slippage allowed extern bool EcnBroker = true; // Boolean to define if is ECN broker or not extern int NumberOfTry = 10; // Number of tries to modify the orders to the broker. extern int MaximumVolumeSize = 10; // Maximum volume allowed. //*********************************************************************************************************************************** //*********************************************************************************************************************************** extern string MoneyManagement = "===== MONEY MANAGEMENT ====="; extern int MoneyManagType = 0; extern string MMT_0 = "MMT = 0, Fixed Volume"; extern string MMT_1 = "MMT = 1, % Account Balance"; extern double LotSize = 0.01; // "MMT = 0, Fixed volume" extern double RiskAccountBalance = 15; // "MMT = 1, % Risk Account Balance" extern string Martingale = "===== MARTINGALE ====="; extern int MartingaleType = 0; extern string MGT_0 = "MGT = 0, NO Martingale"; extern string MGT_2 = "MGT = 2, Factor Multiplication"; extern double Martingale_MultiplyOnLoss = 2.0; // Multiplication factor applied after each loss //*********************************************************************************************************************************** //*********************************************************************************************************************************** extern string OrderSettings = "===== ORDER SETTINGS ====="; extern bool CloseNewSignalOperation = false; //*********************************************************************************************************************************** //*********************************************************************************************************************************** extern string Positions = "===== POSITIONS SETTINGS ====="; extern double TakeProfit = 50; extern double StopLoss = 30; extern int TrailingMode = 0; extern string TM_0 = "TM = 0, Off"; extern string TM_1 = "TM = 1, -- Mode 1 -- BreakEven & Trailing Stop"; extern string Mode1 = "----- MODE 1 -----"; extern double BreakEvenStartPips = 15; // When the price moves to X benefit in pips move SL to BE extern double BreakEvenPipsLockIn = 5; // When the price is BreakEven +/- x pips, move SL to BE extern double TrailingStopPips = 15; // Trailing Stop in pips extern double TrailingStopStepPips = 5; // Trailing Stop Step in pips //*********************************************************************************************************************************** //*********************************************************************************************************************************** extern string IndicatorsSettings = "===== INDICATORS SETTINGS====="; extern string _Indicator = "===== ====="; //*********************************************************************************************************************************** //*********************************************************************************************************************************** extern string Alerts = "===== ALERTS ====="; extern bool AlertEnable = true; //+---------------------------------------------------------------------------------------------------------------------------------+
The signals of Buys and Sells generates a single indicator.

The orders will be produced at the end of renko candle.
Only one order each signal.
Any further questions on the parameters of the template or the operation of the EA will transfer to the discussion area.
Best regards.
Hermo.
PD. The template parameters and the indicator will attach to the selected developer.