Dual Smooth Moving Average Trading Strategy
Overview
This strategy utilizes a dual smooth moving average system as the primary trading signal, combined with the TDFI volume validation indicator for trade signal filtering, in order to leverage the advantages of smooth moving averages while reducing incorrect trades in non-trending markets.
Strategy Logic
The strategy employs two sets of smooth moving averages with different parameter configurations as the primary trading signal. First an 8-period fast smooth moving average is used as the initial confirmation, then a slightly slower 16-period smooth moving average acts as the second confirmation. When the fast MA gives a buy signal, if the slower MA also signals in the same direction within the last 1-2 bars, a long position is opened. When the fast MA gives a sell signal, if the slower MA also signals in the same direction within the last 1-2 bars, a short position is opened. Exits are triggered when the second confirmation MA reverses direction. In addition, the TDFI volume indicator is used to detect trading volume energy behind price bars to filter misleading signals. Trades are only taken when volume aligns with expectations.
Advantages
- Smooth MAs effectively track trends and avoid market noise, catching mid- to long-term trends
- The dual smooth MA setup enhances signal reliability, avoiding incorrect trades in non-trending markets
- Volume indicator introduction filters misleading low volume signals, avoiding unnecessary losses
- High parameter optimization space, can be adjusted for different products and timeframes, highly adaptable
Risks
- Smooth MAs can be slow to identify trend reversals, potentially leading to some losses
- Dual smooth MAs may still generate concurrent wrong signals in non-trending markets
- Volume indicator has limited effect, cannot filter all misleading signals
To reduce risks, the following optimization directions could be considered:
- Add trend strength indicator to aid trend reversal identification
- Optimize smooth MA parameters for a more effective fast/slow configuration
- Test different volume indicators to better filter misleading low volume signals
Optimization Directions
- Add MACD etc. to help identify trend reversals
- Adjust ATR stops and limits to suit different product characteristics
- Try increasing position sizing to improve strategy return
- Optimize parameters based on backtest results to enhance stability
Summary
Overall this is a typical trend-following strategy. The dual smooth MA system combined with the TDFI volume filter can effectively leverage trend-tracking capability while reducing incorrect signal rates in non-trending markets. Through parameter optimization it can be adapted to different timeframes and products. However, it relies more on parameter tweaking than mechanical application. Lack of trend reversal identification and parameter tuning impact should be noted. Overall a clear and straightforward approach, worthy of further optimization and practice.
/*backtest
start: 2022-10-06 00:00:00
end: 2023-10-12 00:00:00
period: 2d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=3
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Designed per No Nonsense Forex VP rules- 1
