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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |