下面表格列出了mql4在过往升级中出现的几个过时函数及相应的新函数,左列是过时的老函数名称,右列是新函数名称。按照官方的说法:旧的函数名称仍然可以使用,编译器会以适当的方式接受它们。但是,强烈建议使用新的函数名称。
旧名称 | 新名称 |
Highest | iHighest |
Lowest | iLowest |
CurTime | TimeCurrent |
LocalTime | TimeLocal |
ClientTerminalName | TerminalName |
CompanyName | TerminalCompany |
ServerAddress | AccountServer |
HistoryTotal | OrdersHistoryTotal |
BarsPerWindow | WindowBarsPerChart |
FirstVisibleBar | WindowFirstVisibleBar |
ObjectsRedraw | WindowRedraw |
PriceOnDropped | WindowPriceOnDropped |
ScreenShot | WindowScreenShot |
TimeOnDropped | WindowTimeOnDropped |