33 lines
No EOL
1.5 KiB
MQL4
33 lines
No EOL
1.5 KiB
MQL4
//+------------------------------------------------------------------+
|
|
//| Def.mqh |
|
|
//| Copyright 2025, Niquel Mendoza. |
|
|
//| https://www.mql5.com/es/users/nique_372 |
|
|
//+------------------------------------------------------------------+
|
|
#property copyright "Copyright 2025, Niquel Mendoza."
|
|
#property link "https://www.mql5.com/es/users/nique_372"
|
|
#property strict
|
|
|
|
#ifndef MQLCYBYLEO_SRC_TESTER_DEF_MQH
|
|
#define MQLCYBYLEO_SRC_TESTER_DEF_MQH
|
|
|
|
//+------------------------------------------------------------------+
|
|
//| |
|
|
//+------------------------------------------------------------------+
|
|
#define CIBYLEO_ONEVENT_RES (100)
|
|
#define CYBYLEO_CODE_ERROR (-1)
|
|
#define CYBYLEO_CODE_SUCCES (1)
|
|
#define CYBYLEO_TERMINAL_RET_CODE_SUCCESS (0)
|
|
#define CIBYLEO_FLAG_EXITO_COMPILACION (1)
|
|
#define CIBYLEO_FLAG_EXITO_TEST (2)
|
|
#define CIBYLEO_ONINIT_FINISH (INIT_FAILED)
|
|
|
|
//+------------------------------------------------------------------+
|
|
//| |
|
|
//+------------------------------------------------------------------+
|
|
// Para OnChartEvent
|
|
// lparam = codigo de ejeuccion
|
|
// sparam = nombre del ea\etiqueta del test
|
|
// dparam = puntuacion del test (usar UnitTest para eso)
|
|
|
|
|
|
#endif // MQLCYBYLEO_SRC_TESTER_DEF_MQH |