#property copyright "Copyright 2025, MetaQuotes Ltd."
#property link "https://www.mql5.com"
#property version "1.00"
//+------------------------------------------------------------------+
//| 스크립트 프로그램 시작 함수 |
//+------------------------------------------------------------------+
void OnStart()
{
//--- 클라이언트 터미널의 전역 변수 총 개수를 가져오고 기록합니다
int total=GlobalVariablesTotal();
Print("Total number of global variables of the client terminal: ", total);
/*
결과:
Total number of global variables of the client terminal: 20
*/
}
|