Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/3652-standardlibrary-expertclasses-sampletrailingclasses.md
T
2026-06-23 21:47:51 +08:00

15 lines
835 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Trailing Stop classes
This section contains technical details of working with trailing stop classes and description of the relevant components of the MQL5 standard library.
The use of these classes will save time when creating (and testing) trading strategies.
MQL5 Standard Library (in terms of trading strategies) is placed in the terminal directory, in the  Include\Expert\Trailing folder.
| Class | Description |
| --- | --- |
| CTrailingFixedPips | This class implements Trailing Stop algorithm based on fixed points |
| CTrailingMA | This class implements Trailing Stop algorithm based on the values of Moving Average indicator |
| CTrailingNone | A stub class, it does not uses any Trailing Stop algorithm |
| CTrailingPSAR | This class implements Trailing Stop algorithm based on the values of Parabolic SAR indicator |