![]() ![]() We have released the all-new Subscriptions service. ![]() The property can be obtained using the SymbolInfoInteger function. New property SYMBOL_TIME_MSC for the symbol's last tick time in milliseconds.Optimized and significantly accelerated display of alerts via the Alert function.The error caused the range beginning to be set to the day beginning rather than to the specified time. Fixed an occasional error in tick requesting via the CopyTicksRange function.Optimized and significantly accelerated HistorySelect function, which allows requesting the history of deals and orders.Implicitly add the "#property tester_indicator XXX" directive if it is For example: iCustom(Symbol(), Period(),Ĭall via iCustom is found in the program code, the compiler will Please note that the path separator should be specified as aĭouble backslash '\\'. In case ofįailure, file MQL5\Indicators\MyIndicators\ThirdIndicator.ex5 is MQL5\Experts\MyExperts\MyIndicators\ThirdIndicator.ex5. MQL5\Experts\MyExperts) at the following path: MyIndicators\ThirdIndicator, the search starts in the folder of theĬalling program (the Expert Advisor is located in the folder The indicator path is set in a subdirectory such as If the indicator is notįound, the function returns INVALID_HANDLE and error 4802 MQL5\Indicators\SecondIndicator.ex5 is searched. Not found, a search relative to the Indicators root directory is MQL5\Experts\MyExperts\SecondIndicator.ex5. It contains theįollowing call: iCustom(Symbol(), Period(), "SecondIndicator".). For example, the CrossMA.EX5Įxpert Advisor is located at MQL5\Experts\MyExperts. Where the caller program's EX5 is located. The EX5 file is searched in the same folder,. ![]() Indicator is searched and loaded based on the following sequence of If the path does not start with a backslash '\', the If the file is notįound at this path, error 4802 (ERR_INDICATOR_CANNOT_CREATE) is Indicator will be loaded as MQL5\FirstIndicator.ex5. So,įor a call of iCustom(Symbol(), Period(), "\FirstIndicator".), the If the backslash '\' is indicated before the custom indicator name, theĮX5 indicator file is searched relative to the MQL5 root folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |