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
An EA that opens trades a few seconds before a news time you set, with stop-loss, take-profit and an on-chart timer
Open source, Apache License 2.0, by EarnForex.com. See licences
First release on this site.
Attach the EA to the chart of the symbol you want to trade the news on and turn on Algo Trading. Set NewsTime to the release time in the broker's server time (the default -1 means not set, and the EA will not open trades). Set it up before the release and keep the terminal running.
StopLoss and TakeProfit are in the broker's pips, while BEOnProfit, BEExtraProfit and TSOnProfit are in points. TrailingStop can be None, Breakeven, Normal or NormalPlusBE. With UseATR on, the SL/TP distances are ATR times ATR_Multiplier_SL and ATR_Multiplier_TP.
MM is on by default at a Risk of 1% per trade. With Direction set to Both on a hedging account there are two trades at once, so total risk can exceed that figure. Test with past news and on a demo account first.
| Name | Default | Description |
|---|---|---|
| NewsTime | -1 | News release time in the broker's server time. The default -1 = not set, so the EA will not open trades. |
| StopLoss | 15 | Stop-loss in the broker's pips (used when UseATR is off). |
| TakeProfit | 75 | Take-profit in the broker's pips (used when UseATR is off). |
| Direction | Both | Trade direction: Buy, Sell, Both (both sides) or Random (one side at random). |
| TrailingStop | None | Trailing stop type: None, Breakeven, Normal or NormalPlusBE. |
| BEOnProfit | 0 | Profit in points that triggers moving the stop-loss to breakeven. |
| BEExtraProfit | 0 | Extra profit in points locked in when moving to breakeven. Should not exceed BEOnProfit. |
| TSOnProfit | 0 | Profit in points at which the trailing stop starts. |
| PreAdjustSLTP | false | true = keep adjusting SL/TP with the price until the news time. |
| SecondsBefore | 18 | Number of seconds before the news time at which the EA opens trades. |
| CloseAfterSeconds | 3600 | Close the trade this many seconds after the news time. 0 = do not close automatically. |
| SpreadFuse | true | true = do not open trades if the spread is at or above the stop-loss (checked in hedging mode). |
| UseATR | false | true = derive SL and TP from ATR instead of fixed pips. |
| ATR_Period | 14 | ATR period. |
| ATR_Multiplier_SL | 1 | ATR multiplier for the stop-loss. |
| ATR_Multiplier_TP | 5 | ATR multiplier for the take-profit. |
| Lots | 0.01 | Fixed lot size, used when MM is false. |
| MM | true | true = size the lot from the stop-loss distance and the configured risk. |
| Risk | 1 | Risk per trade as a percentage of the balance, used when MM is on. |
| FixedBalance | 0 | If above 0, this value replaces the real balance when sizing the lot. |
| MoneyRisk | 0 | Risk per trade in account currency, used when UseMoneyInsteadOfPercentage is true. |
| UseMoneyInsteadOfPercentage | false | true = use MoneyRisk instead of Risk (percent). |
| UseEquityInsteadOfBalance | false | true = use equity instead of balance when sizing the lot. |
| ShowTimer | true | true = show a timer before and after the news on the chart. |
| FontSize | 18 | Font size of the timer. |
| Font | Arial | Font name of the timer. |
| FontColor | clrRed | Text colour of the timer. |
| Corner | CORNER_LEFT_UPPER | Chart corner where the timer is placed. |
| X_Distance | 10 | Horizontal distance of the timer from the chart corner. |
| Y_Distance | 130 | Vertical distance of the timer from the chart corner. |
| Slippage | 3 | Maximum accepted slippage in points. |
| Magic | 794823491 | Magic Number used to tag the EA's trades. |
| Commentary | NewsTrader | Comment text attached to each trade, e.g. the name of the news event. |
| IgnoreECNMode | true | true = always attach SL/TP when opening the trade, even on market-execution accounts. |
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.
News Trader opens trades around a news time that you enter yourself. The EA does not read a news calendar. You put the release time in NewsTime (in the broker's server time). Within SecondsBefore of that time, it opens trades in the chosen direction: Buy, Sell, Both or Random. With Both, a hedging account opens a buy and a sell together, while a netting account places a buy stop and a sell stop.
Trades get stop-loss and take-profit at once (fixed distances or ATR-based). PreAdjustSLTP keeps moving SL/TP with the price until the release time. After entry you can use breakeven or a trailing stop, and the EA closes the trade automatically after CloseAfterSeconds past the news time.
Lot size is based on the stop-loss distance and a risk percentage when MM is on (it is on by default) or a fixed Lots value. There is a spread guard (SpreadFuse) and a countdown timer on the chart.
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