//+------------------------------------------------------------------+
//| EA交易初始化函数 |
//+------------------------------------------------------------------+
void OnStart()
{
//--- 获取以报价货币表示的当前交易品种点大小
double point = Point();
//--- 将获得的数据发送到日志
Print("Point size of the current symbol in the quote currency: ", DoubleToString(point, _Digits));
/*
result:
Point size of the current symbol in the quote currency: 0.00001
*/
}
|