how to use TrailingMA.mph?

 

i wish to include this file TrailingMA.mph in my auto-trading

how to initial its function?

 
wong cm: i wish to include this file TrailingMA.mph in my auto-trading. how to initial its function?

You need to to use the #include compiler directive to include the code in the compilation process.

Making use of the contents of the file, however, requires that you understand how to it functions.

Documentation on MQL5: Language Basics / Preprocessor / Including Files (#include)
Documentation on MQL5: Language Basics / Preprocessor / Including Files (#include)
  • www.mql5.com
Including Files (#include) - Preprocessor - Language Basics - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5