forked from nique_372/MQLArticles
//+------------------------------------------------------------------+
| |
//| Generate.mq5 |
| |
//| Copyright 2026, Niquel Mendoza. |
| |
//| https://www.mql5.com |
| |
//+------------------------------------------------------------------+
| |
#property copyright "Copyright 2026, Niquel Mendoza."
| |
#property link "https://www.mql5.com"
| |
#property version "1.00"
| |
#property script_show_inputs
| |
#property strict
| |
| |
//+------------------------------------------------------------------+
| |
//| Include |
| |
//+------------------------------------------------------------------+
| |
#include "App.mqh"
| |
| |
//+------------------------------------------------------------------+
| |
//| Inputs |
| |
//+------------------------------------------------------------------+
| |
sinput group "-- Config --"
| |
input string InpJsonFileConfig = "C:\\Users\\leoxd\\AppData\\Roaming\\MetaQuotes\\Terminal\\D0E8209F77C8CF37AD8BF550E51FF075\\MQL5\\Shared Projects\\MQLArticles\\IndicatorsCts\\Imp\\Code\\Config\\config.json"; // Path completo al json de configuracion
| |
input ENUM_VERBOSE_LOG_LEVEL InpLogLevel = VERBOSE_LOG_LEVEL_ALL; // Log level
| |
| |
//+------------------------------------------------------------------+
| |
//| Script program start function |
| |
//+------------------------------------------------------------------+
| |
int OnStart()
| |
{
| |
//---
| |
CApp app;
| |
app.AddLogFlags(InpLogLevel);
| |
return app.Run(InpJsonFileConfig) ? INIT_SUCCEEDED : INIT_FAILED;
| |
}
| |
//+------------------------------------------------------------------+
|