Ghost SL & TP (hidden stop-loss and take-profit)
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
Utility that moves the stop-loss of open positions to a recent Bill Williams Fractal level
Open source, Apache License 2.0, by EarnForex.com. See licences
First release on this site.
Drag the EA onto a chart and enable Algo Trading. Trailing is off by default (EnableTrailingParam is false): click the button on the chart panel to turn it on, or set the input to true from the start. Fractals are read on the timeframe of the chart the EA is on.
Set the filters to match the positions you want before turning trailing on. By default it adjusts every position of the chart symbol, whether opened manually or by another EA. If no Fractal is found in the scanned bars the EA changes nothing and writes a message to the log.
| Name | Default | Description |
|---|---|---|
| BarsToScan | 10 | Number of recent bars scanned for a Fractal (10 means the last ten bars). |
| FractalToUse | 1 | Which Fractal to use, counting back from the latest (1 is the first one found). |
| ProfitPoints | 0 | Minimum profit in points before trailing starts. 0 ignores profit. |
| OnlyCurrentSymbol | true | Adjust only positions of the chart symbol. If off, positions of every symbol in the account are adjusted. |
| OnlyType | All | Which position type to adjust: all, buy only or sell only. |
| UseMagic | false | Filter positions by magic number. If on, only positions matching MagicNumber are adjusted. |
| MagicNumber | 0 | Magic number used for filtering (applies when UseMagic is on). 0 matches manually opened positions. |
| UseComment | false | Filter positions by comment. If on, only positions whose comment contains CommentFilter are adjusted. |
| CommentFilter | Text that must appear in the position comment (applies when UseComment is on). | |
| EnableTrailingParam | false | Enable the trailing stop from the start. Off by default; you have to click the button on the chart to turn it on. |
| EnableNotify | false | Turn on notifications when the EA moves a stop-loss. Off by default. SendAlert, SendApp and SendEmail only apply when this is on. |
| SendAlert | true | Notify with an MT5 popup alert. |
| SendApp | false | Send a push notification to the MT5 mobile app (MetaQuotes ID must be set up first). |
| SendEmail | false | Send an email notification (email must be set up in MT5 first). |
| ShowPanel | true | Show the control panel on the chart (button to turn trailing on or off). |
| ExpertName | MQLTA-FRTS | EA name used to name chart objects and in notification text. |
| Xoff | 20 | Horizontal offset of the control panel, in pixels. |
| Yoff | 20 | Vertical offset of the control panel, in pixels. |
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.
This EA does not open new trades. It moves the stop-loss of positions that are already open to a recent Fractal level: buy positions use the lower Fractal and sell positions use the upper Fractal, on the timeframe of the chart the EA is attached to.
You choose how many bars to scan (BarsToScan) and which Fractal to use (FractalToUse). The stop-loss only moves in the favourable direction, and it is not set when the Fractal level is closer to price than the broker stop level allows. The take-profit is left untouched.
A button on the chart turns trailing on and off, and positions can be filtered by symbol, type, magic number and comment.
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.
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
A tool that moves the stop-loss to the entry price once profit reaches a set distance, with optional partial close
Has alerts