GerFX Density Scalper
Before you buy a night scalper please be aware of the risks involved:
1) Past performance is no guarantee of future profitability (the EA could also make losses).
2) The backtests shown (e.g. in screenshots) are highly optimized to find the best parameters but therefore results cannot be transferred to live trading.
3) Any mean reversion can get caught on the wrong side of a fast movements due to unexpected news or flash crashes. This strategy will always use a stop loss, but still execution of the SL depends on your broker.
4) Night scalpers are dependent on good brokerage conditions, like low spread and slippage, which might be worse on high lot sizes.
GerFX Density Scalper (MT5 version here) is a mean reversion system during the quiet hours of the day. It is similar to QuantFlow Scalper but optimized in a few ways to reduce slippage. For example, the entry logic was reduced to make the calculation faster and the exit is done via take profit orders, which can even lead to positive slippage on exiting a trade.
Additionally, it offers various paramters for optimization of entry conditions and other improvements.
It does not use martingale or grid and has a stop loss for every position.
EURUSD, GBPUSD, EURCHF, USDCHF, USDCAD, EURCAD, EURAUD, AUDUSD, AUDNZD, AUDCAD, CHFJPY, (experimental: USDJPY, EURJPY, EURGBP, EURNZD, GBPAUD, NZDUSD, NZDCAD)
Time frame: M5
Max. drawdown in 16 year backtest: $35-50 per 0.01 (depending on number of pairs)
If GMT auto settings are used, the EA will automatically try to detect the GMT offset. Best double check it manually when used the first time.
The EA should run on a VPS continuously without interruption (also Friday evening) to store the historic data.
Please allow web requests to the following URLs for the calendar news filter and automatic GMT offset calculation:
- http://breaking.fxdata.cc (only needed if you use the breaking news filter)
Ideally, backtests should be done with Tick Data Suite GMT+2 with US DST.
It is important to use real spread in backtesting and not some fixed spread. But be aware that the spread can be very different between brokers at that time.
The EA should be turned off on days of important events, for example general elections in UK, US or Europe!
- dailyEquityStopPercentage: IMPORTANT: please read point 6 in the blog post.
- orderComment - Each trade will show this comment in history tab.
- magicNumber - individual magic number. The EA will only manage position of the chart symbol with this magic number.
- lotType - "fixed" or "increasing", where the lot size is calculated automatically.
- fixLots - fixed lot size in case lotType = fixed.
- lotStep - how much the lot size should be increased every equityPerStep (if lotType = increasing).
- equityHardStop - if the equity falls below that level the EA will close open positions (only of this strategy) and will not open any new positions.
- pipInPoints - for 5-digit brokers, this should be 10, for 4-digit brokers 1.
- maxSpreadPips - maximum spread allowed for entry. If smaller 0, auto settings will be used, which are different for each currency pair.
- startHourGMT - when to start trading (GMT).
- endHourGMT - when to stop trading (GMT).
- waitMinutesBetweenSameSideEntry- After a buy position another buy position will only be allowed after the given time. Same for sell positions. If you are sleeping during the trading hours you could limit the potential total risk with this parameter. If the last hour was a loss the EA will automatically increase waitMinutesBetweenEntries by 15 minutes.
- autoGMT - whether to determine GMT offset automatically.
- manualGMToffsetWinter - manual GMT offset in winter (if autoGMT=false or in Tester)
- manualGMToffsetSummer - manual GMT offset in summer (if autoGMT=false or in Tester)
Please also have a look at the blog post and the "What's new" tab for additional parameters.
The reason for the change is that the probability for spread spikes seems to be larger due to the low liquidity (EURUSD on 2021.08.09 was such a case at some brokers).
- Opimized parameters for additional pairs. These pairs are available now:
EURUSD, GBPUSD, EURCHF, USDCHF, USDCAD, EURCAD, EURAUD, AUDUSD, AUDNZD, AUDCAD, CHFJPY, USDJPY, EURJPY, EURGBP, EURNZD, GBPAUD, NZDUSD, NZDCAD
On my signal accounts I will continue using only the first 11 pairs for now. I will probably add the others at a later time.
- Fixed a bug in the slippage calculation.
- Changed addEntryPips to modifyEntryPips, which can be positve and negative in case users want to enter trades earlier/later.