Fractals Trailing Stop (Fractals-based stop-loss trailing EA)
Utility that moves the stop-loss of open positions to a recent Bill Williams Fractal level
Has alerts
Starts trailing the stop-loss only after a position reaches a set profit in points; toggled by a chart button
Open source, Apache License 2.0, by EarnForex.com. See licences
First release on this site.
Install the EA in MetaTrader 5 and drag it onto a chart, turn Algo Trading on, and press the panel button to enable it (or set EnableTrailingParam = true). Set Profit (points of profit needed before trailing starts) and TrailingStop (SL distance from price), both in points of each symbol's price.
OnlyCurrentSymbol is on by default; if you turn it off, positions on every symbol are touched. Use UseMagic and UseComment to separate other EAs' positions or manual trades. Be careful with DisableTPonTSL, which removes the take-profit of qualifying positions.
Try it on a demo account before real use.
| Name | Default | Description |
|---|---|---|
| TrailingStop | 50 | Distance of the stop-loss from the current price once trailing is active, in points. |
| Profit | 100 | Minimum position profit, in points, needed before the SL starts trailing. |
| DisableTPonTSL | false | Whether to remove the position's take-profit when trailing kicks in. |
| OnlyCurrentSymbol | true | Manage only positions of the chart symbol the EA is attached to. If turned off, positions on every symbol in the account are touched. |
| OnlyType | All | Which position types to manage: all, Buy only or Sell only. |
| UseMagic | false | Filter by magic number. Turn on to manage only the positions of one particular EA. |
| MagicNumber | 0 | Magic number to filter by (used only when UseMagic is on). |
| UseComment | false | Filter by position comment. |
| CommentFilter | Text that must appear in the position comment (used only when UseComment is on). | |
| EnableTrailingParam | false | Start with trailing enabled. Off by default; it can be toggled with the chart button. |
| EnableNotify | false | Master switch for notifications when the EA modifies a position. It must be on for the channels below to work. |
| SendAlert | true | Show a pop-up Alert in MetaTrader. |
| SendApp | true | Send a push notification to the MetaTrader mobile app (the MetaQuotes ID must be set in the terminal). |
| SendEmail | true | Send an e-mail notification (e-mail must be configured in the terminal). |
| ShowPanel | true | Show the on-chart panel, which holds the button that enables or disables the EA. |
| ExpertName | TSOP | Name used as a prefix for chart objects and in notification texts. |
| Xoff | 20 | Horizontal offset of the control panel from the chart corner, in pixels. |
| Yoff | 20 | Vertical offset of the control panel from the chart corner, in pixels. |
| ChartCorner | CORNER_LEFT_UPPER | Chart corner where the control panel is anchored. |
| FontSize | 10 | Font size of the control panel. |
| ShowPotentialSLLines | false | Draw the SL level the EA would set for each position on the chart. |
| PotentialSLBuyColor | clrDodgerBlue | Colour of the prospective SL line for Buy positions. |
| PotentialSLSellColor | clrOrangeRed | Colour of the prospective SL line for Sell positions. |
| PotentialSLStyle | STYLE_DOT | Line style of the prospective SL lines. |
| PotentialSLWidth | 1 | Width of the prospective SL lines. |
| PotentialSLLabelFontSize | 8 | Font size of the prospective SL line labels. |
| ShowActivationLines | false | Draw the price level at which trailing becomes active for each position. |
| ActivationBuyColor | clrDarkGray | Colour of the activation line for Buy positions. |
| ActivationSellColor | clrDarkSlateGray | Colour of the activation line for Sell positions. |
| ActivationStyle | STYLE_DASH | Line style of the activation lines. |
| ActivationWidth | 1 | Width of the activation lines. |
| ActivationFontSize | 8 | Font size of the activation line labels. |
Defaults are the values shipped with the EA, not a recommendation. Results depend on the market and on each account. Past results do not guarantee future results. Trading carries a high risk of loss.
A utility EA that trails the stop-loss of open positions behind the price, but only once a position is at least Profit points in profit. When that threshold is met, the EA places the SL TrailingStop points away from the current price (Bid for a Buy, Ask for a Sell) and keeps moving it only when price moves in the profitable direction.
An option cancels the position's take-profit when trailing kicks in (DisableTPonTSL). Filters by symbol, type, magic number and comment choose which positions are managed, and you can draw the prospective SL levels and the activation levels on the chart.
The EA does not open trades. It starts disabled by default; a button on the chart panel switches it on and off. It can notify through Alert, push and e-mail when an SL is moved.
Banners from the Exness partner programme

FXIDTH is an independent IB partner of Exness. This channel is not owned or operated by Exness.*Spreads may fluctuate and widen due to factors including market volatility, news events, market open/close, and others.*Processing times may vary depending on the chosen payment method.
Utility that moves the stop-loss of open positions to a recent Bill Williams Fractal level
Has alerts
A tool that watches price and closes positions itself at a stop-loss or take-profit distance, without sending the levels to the server
Has alerts
A tool that trails the stop-loss of open positions along a moving average, with an on/off button on the chart
Has alerts