Digits

현재 차트 심볼의 가격 정확도를 결정하는 소수 자릿수를 반환.

int  Digits();

값 반환

현재 차트 심볼의 가격 정확도를 결정하는 소수 자릿수를 저장하는_Digits변수의 .

예:

//+------------------------------------------------------------------+
//| 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 symbol5
   */
  }