2026-07-13 14:48:50 -05:00
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
//| Def.mqh |
|
|
|
|
|
//| Copyright 2026, Niquel Mendoza. |
|
|
|
|
|
//| https://www.mql5.com/ |
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
#property copyright "Copyright 2026, Niquel Mendoza."
|
|
|
|
|
#property link "https://www.mql5.com/"
|
|
|
|
|
#property strict
|
|
|
|
|
|
|
|
|
|
#ifndef LLMAGENTSBASICTOOLS_SRC_DEF_MQH
|
|
|
|
|
#define LLMAGENTSBASICTOOLS_SRC_DEF_MQH
|
|
|
|
|
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
//| Include |
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
#include <TSN\\LLM\\Main.mqh>
|
|
|
|
|
#include <TSN\\Json\\Json.mqh>
|
|
|
|
|
#include <TSN\\MQLArticles\\Utils\\EnumReg.mqh>
|
|
|
|
|
#include <TSN\\MQLArticles\\Utils\\ErrDescription.mqh>
|
2026-07-13 15:02:42 -05:00
|
|
|
#include <TSN\\ExtraCodes\\Func.mqh>
|
2026-07-13 16:01:33 -05:00
|
|
|
#include "EnumReg\\Main.mqh"
|
2026-07-13 14:48:50 -05:00
|
|
|
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
//| get_time |
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
enum ENUM_LLMAGENT_BTOOLS_TIME
|
|
|
|
|
{
|
|
|
|
|
LLMAGENT_BTOOLS_TIME_GMT, // Hora GMT (Greenwich Mean Time)
|
|
|
|
|
LLMAGENT_BTOOLS_TIME_SERVER, // Hora del servidor (Trade Server Time)
|
|
|
|
|
LLMAGENT_BTOOLS_TIME_LOCAL, // Hora local de la maquina
|
|
|
|
|
LLMAGENT_BTOOLS_TIME_SYMBOL // Hora del ultimo tick del symbolo (SYMBOL_TIME)
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
//| account_info / terminal_info |
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
#define LLMAGENT_BTOOLS_MODE_DOUBLE 0
|
|
|
|
|
#define LLMAGENT_BTOOLS_MODE_INTEGER 1
|
|
|
|
|
#define LLMAGENT_BTOOLS_MODE_STRING 2
|
|
|
|
|
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
#endif // LLMAGENTSBASICTOOLS_SRC_DEF_MQH
|