Scalping is something that intrigues many system traders. The challenge at taking small, consistent trades from the market daily while risking very little is appealing. With scalping, it’s generally accepted you are trading from a small timeframe, probably 5-minutes or less. The idea is to open a position and capture only a few ticks of profit. The appeal is since we are trading from such a small timeframe, your risk is small thus, you can trade with a small account. Often you will have setups that produce high win rates and occur more frequently than setups on a higher timeframe such as hourly or daily. There tends to be a higher frequency of trading opportunities with scalping which can potentially lead to large accumulated profits vs. your starting equity.
In my opinion, scalping for the retail trader is very difficult to do. One of the biggest barriers is the transaction cost in both commissions and slippages. Scalping means smaller profit per trade yet, as you drill down to smaller and smaller timeframes your costs remain fixed. Thus, the negative impact of commissions and slippages grows taking a bigger percentage of your profits. A single tick of slippage is hardly noticed when you are holding a trade for several days with an average profit of $600 per trade. However, on a scalping system that single tick is the difference between life and death. Then throw in latency, computer issues, internet issues and your margin for error is small. Again, on larger timeframes you can exit a trade now or in a few seconds and it won’t matter that much. Not so in the scalping world where everything is hyper-sensitive and your margin for error is tiny.
With all this in mind, I thought it would be interesting to look at a scalping trading model for the Euro currency futures. I ran across a very simple scalping strategy at the website One Step Removed. The author is Shaun and he stumbled upon a scalping strategy when conducting research on another trading model. Shaun’s concept and testing was performed on the EURUSD Forex pair. Shaun also points out in his article that his strategy will not be profitable if you have execution slippage of more than 2 pips.
I found the strategy simple in nature and thought we would have a look at it. I will be coding this strategy in EasyLanguage and will test it on the Euro currency futures. The strategy code is available at the very bottom of this article.
Extreme Price Moves
Shaun noticed that extreme price moves as defined by 1% distance from a 200-period simple moving average (SMA) occurred very rarely. Going with the premise that price will soon retreat from such an extreme, this might be a potential location to open a trade. In short, Shaun’s Simple Scalping System (SSS) is a mean reverting strategy that utilizes a SMA envelope. When price closes beyond the envelope a trade is opened. The trade is closed when price returns to the envelope.
Below is an image of the system with a trade example. Notice there are times when price touches the lower bands and no trade is entered. Price must close below the band to trigger a trade.
Chart Setup and Trading Rules
Chart: EURUSD 5 minute
SMA Period: 200
Moving Average Envelope: 1.0% of the SMA
If the price crosses and closes below the lower envelope, then buy at market.
If the price crosses and closes above the upper envelope, then sell short at market.
If the price crosses and closes above the lower envelope, then exit long at market.
If the price crosses and closes below the upper envelope, then exit short at market.
For the following backtests in this article I will be starting with a $10,000 trading account and testing over the dates May 2001 – December 31, 2011.
The Effect of Slippage and Commissions
To demonstrate the insidious effect that commissions and slippage have on a scalping trading model, for my first backtest I deducted nothing for slippage and commissions. I then added commissions and slippage and ran the backtest again so you can see how it impacts the equity cuve. You just might be surprised at how damaging commissions and slippage can be. The first equity graph below does not take into account slippage and commissions.
No Commissions or Slippage
The next two charts below do take into account both slippage and commissions. The first chart uses 1 tick of slippage while the second chart uses 2 ticks of slippage.
$5 Commissions and 1 Tick Slippage Per Round Trip
$5 Commissions and 2 Ticks Slippage Per Round Trip
Looking at the first chart you see an overall winning system generating about $22,000 in profit. The visual difference between the graphs is even more dramatic if they were all plotted with the same scale. Nonetheless, the final equity graph is radically different from the first equity graph. Looking at the first equity graph, a complete novice might think he found a winner and trade his hard earned capital only to discover a falling equity curve. But why? Not taking into account slippage and commissions, particularly with intraday trading, is a huge mistake.
The Baseline System
For the remainder of my testing I will be deducting $5 commissions and 1-tick of slippage. Our baseline, which is depicted in the middle equity chart above, will provide us with a benchmark to compare modified versions of the system. The baseline results are below.
The first thing I notice when looking at the performance report is how poorly the short side performs. I’m not a big fan of trade symmetry. That is, I don’t think it’s necessarily a good idea to have both long and short signals as mirror opposite of each other. Our baseline system does just that. We may be seeing a positive result on the long side because the Euro contract has a long side bias over the historical test. We’ll look at that more later. For now, I’m going to focus on the long side only.
Here are the results with long side only:
If you will recall from the trading rules there are no stops. A trade is exited only when price returns to the SMA envelope. This dynamic exit can produce some frightening drawdowns, as pictured below.
Another way to look at this is with a Maximum Adverse Excursion (MAE) chart, pictured below.
Each point on the chart represents a trade. Its color represents profitable (green) or unprofitable (red) P&L for the given trade. The y-axis is the P&L and the x-axis is the drawdown (the adverse excursion). Notice that many of the trades that experience a 1000 or larger drawdown end up being red points on the chart. These are very expensive drawdowns that turn into large losers. Somewhere between $600 and $1,000 might be a good place to put a hard stop to limit those large losses. Using TradeStation’s optimize feature we can analyze the behavior of different stop values. Below is a bar graph depicting the stop value in dollars vs. the net profit.
Looking at this we can see adding a stop value really hurts our performance. Stop values up through $2,000 really push our net profit down. Can anyone really trade a scalping system that might require a $2,000 or more catastrophic stop loss? This makes me wonder if we need to find an additional filter to help reduce unprofitable trades. Instead of simply applying a hard stop we might want to test trading only during certain hours, trading only during a bull market or adding a volatility filter. These are all good ideas and we’ll continue to explore this trading model in a future article.
Jeff is the founder of System Trader Success – a website and mission to empowering the retail trader with the proper knowledge and tools to become a profitable trader the world of quantitative/automated trading.