주시
1
0
포크
이미 MQL5Book을(를) 포크했습니다
0
원본 프로젝트 rosh/MQL5Book
MQL5Book/Scripts/p2/Preprocessor.mqh
26 라인
930 비
MQL5
super.admin
2025-05-30 16:09:41 +02:00
//+------------------------------------------------------------------+
//| Preprocessor.mqh |
//| Copyright 2021, MetaQuotes Ltd. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
double array[] =
{
#include "preprocessor.txt"
};
//+------------------------------------------------------------------+
//| Replacement wrapper for OnStart function |
//+------------------------------------------------------------------+
void OnStart()
{
Print(__FUNCTION__, " wrapper started");
ArrayPrint(array);
// ... do some work
_OnStart();
// ... do some work
Print(__FUNCTION__, " wrapper done");
}
#define OnStart _OnStart
//+------------------------------------------------------------------+