脚本和服务的局限性
在脚本和服务中,禁止使用指标操作组包含的所有函数。将在相应 章节中介绍这些函数:
- SetIndexBuffer
- IndicatorSetDouble
- IndicatorSetInteger
- IndicatorSetString
- PlotIndexSetDouble
- PlotIndexSetInteger
- PlotIndexSetString
- PlotIndexGetInteger
此外,在脚本和服务中,使用 OnTimer处理程序(与其他任何处理程序一样)及 计时器 函数没有意义。
由于脚本和服务不受测试程序支持,因此它们无法使用 测试程序函数;它们会引发错误 ERR_FUNCTION_NOT_ALLOWED (4014)。