This article introduces a strategy to track stock trends based on the Stochastics Momentum Index (SMI) indicator. The strategy is called “Momentum Surfer Strategy”. It identifies overbought and oversold areas with SMI and enters long/short to profit from trend reversals.
The SMI indicator is used to identify overbought and oversold zones. Values in the red area indicate the stock is oversold while the green area means overbought conditions. The trading signals are generated from the crossover between SMI and its EMA line.
Specifically, a long signal is triggered when SMI crosses above its EMA and SMI is below -40 oversold level. A short signal is triggered when SMI crosses below its EMA and SMI is above 40 overbought level.
By doing so, the strategy can capture the price reversal and implement buy low sell high. It surfs the uptrend and downtrend of stocks smoothly.
The biggest advantage lies in its ability to follow trends. As it utilizes SMI to determine entry and exit points, the signals align perfectly with price reversals.
Also, SMI itself has the characteristic of smoothing prices. Compared to simple moving averages, it responds more steadily to price changes. The trading signals are more reliable without being easily affected by market noise.
In summary, the strategy successfully leverages the strength of SMI to effectively track stock trends. It generates profit while being suitable for algo trading.
The strategy relies heavily on the SMI indicator, thus faces some associated risks.
Firstly, SMI is sensitive to parameter tuning. Incorrect parameters can significantly undermine the signal quality. Extensive testing is required to find the optimum.
Besides, no indicator is immune to false signals, including SMI. Whipsaws can happen during high volatility that causes unnecessary losses. Using SMI together with other indicators helps to confirm signals and reduce errors.
Finally, it does not mitigate systemic market risk. Severe losses are inevitable if the whole market plunges into a bear state. This limitation applies to all technical strategies.
The strategy can be further improved from the following aspects:
Incorporate other indicators to form a syndicate system. It helps to increase signal reliability and profitability. Fundamental factors and volatility measures can be added.
Utilize machine learning to automatically optimize SMI parameters based on big historical data.
Add stop loss mechanisms. Reasonable stop loss enormously reduces single trade loss and avoids risks.
Combine quantitative stock screening rules to improve the overall quality of the stock pool. Good stock selection lays the foundation of a robust strategy.
In this article, we introduce the Momentum Surfer strategy which tracks trends with the SMI indicator. Its biggest strength lies in capturing reversals and smoothly following the trends. Some risks like parameter sensitivity and signal quality are present. We suggest a few ways to enhance it. Overall speaking, the strategy is attractive for algo trading and worth real trading verification.
/*backtest start: 2024-01-01 00:00:00 end: 2024-01-31 23:59:59 period: 1h basePeriod: 15m exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}] */ //@version=5 strategy("Stochastics Momentum Index Strategy", shorttitle="Stoch_MTM_Doan", overlay=true) // Input parameters a = input.int(10, "Percent K Length") b = input.int(3, "Percent D Length") ob = input.int(40, "Overbought") os = input.int(-40, "Oversold") // Range Calculation ll = ta.lowest(low, a) hh = ta.highest(high, a) diff = hh - ll rdiff = close - (hh+ll)/2 avgrel = ta.ema(ta.ema(rdiff,b),b) avgdiff = ta.ema(ta.ema(diff,b),b) // SMI calculations SMI = avgdiff != 0 ? (avgrel/(avgdiff/2)*100) : 0 SMIsignal = ta.ema(SMI,b) emasignal = ta.ema(SMI, 10) // Color Definition for Stochastic Line col = SMI >= ob ? color.green : SMI <= os ? color.red : color.white plot(SMIsignal, title="Stochastic", color=color.white) plot(emasignal, title="EMA", color=color.yellow) level_40 = ob level_40smi = SMIsignal > level_40 ? SMIsignal : level_40 level_m40 = os level_m40smi = SMIsignal < level_m40 ? SMIsignal : level_m40 plot(level_40, "Level ob", color=color.red) plot(level_40smi, "Level ob SMI", color=color.red, style=plot.style_line) plot(level_m40, "Level os", color=color.green) plot(level_m40smi, "Level os SMI", color=color.green, style=plot.style_line) //fill(level_40, level_40smi, color=color.red, transp=ob, title="OverSold") //fill(level_m40, level_m40smi, color=color.green, transp=ob, title="OverBought") // Strategy Tester longCondition = ta.crossover(SMIsignal, emasignal) and (SMI < os) if (longCondition) strategy.entry("Buy", strategy.long) shortCondition = ta.crossunder(SMIsignal, emasignal) and (SMI > ob) if (shortCondition) strategy.entry("Sell", strategy.short)