2026-06-28 13:19:00 -05:00 | | | //+------------------------------------------------------------------+
|
| | | //| 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()
|
| | | {
|
| | | //---
|
2026-09-04 11:32:06 -05:00 | | | 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));
|
2026-06-28 13:19:00 -05:00 | | |
|
| | | }
|
| | | //+------------------------------------------------------------------+
|