//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
//--- 현재 차트 심볼의 소수점 이하 자릿수를 가져옵니다.
int digits = Digits();
//--- 얻은 데이터를 저널로 보냅니다.
Print("Number of decimal digits for the current chart symbol: ", digits);
/*
결과:
Number of decimal digits for the current chart symbol: 5
*/
}
|