29 lines
1.4 KiB
MQL5
29 lines
1.4 KiB
MQL5
//+------------------------------------------------------------------+
| |||
//| Test.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 strict
| |||
| |||
//+------------------------------------------------------------------+
| |||
//| |
| |||
//+------------------------------------------------------------------+
| |||
#include "Loader.mqh"
| |||
| |||
//+------------------------------------------------------------------+
| |||
//| Script program start function |
| |||
//+------------------------------------------------------------------+
| |||
void OnStart()
| |||
{
| |||
//---
| |||
Print(TSN::CEnumRegBasis::GetVal<ENUM_TIMEFRAMES>("MN1", 0));
| |||
Print(TSN::CEnumRegBasis::GetVal<ENUM_TIMEFRAMES>("D1", 0));
| |||
Print(TSN::CEnumRegBasis::GetVal<ENUM_TIMEFRAMES>("PERIOD_D1", 0));
| |||
Print(TSN::CEnumRegBasis::GetVal<ENUM_TIMEFRAMES>("PERIOD_W1", 0));
| |||
Print(TSN::CEnumRegBasis::GetVal<ENUM_APPLIED_PRICE>("PRICE_OPEN", (ENUM_APPLIED_PRICE)0));
| |||
| |||
}
| |||
//+------------------------------------------------------------------+
|