A moving average strategy generates a buy signal when the price rises above the moving average and a sell signal when the price falls below it. However, this approach often results in numerous whipsaws and noise, depending on the selected moving average. Faster moving averages tend to produce more whipsaws, while slower ones generate fewer. To mitigate these issues, a filter can be applied to both fast and slow moving averages, significantly improving entry and exit performance, particularly for those who prefer a less active market monitoring approach.
I have developed an indicator that incorporates a price filter. This means a buy signal is generated only when the price of an underlying asset is at least a specific percentage above its moving average, and a sell signal is generated when it is a specific percentage below the moving average. This price filter can also serve as a confirmation after the price crosses above or below its Simple Moving Average (SMA). Notably, I have not found any existing indicators based on this concept, so I have created and published this indicator in the hopes that it proves beneficial to those interested.
As a default setting, I have used a 200 SMA with a 3% price filter, employing SPY as an example. Therefore,
An entry signal occurs when the closing price of SPY is 3% above its 200 SMA.
An exit signal occurs when the closing price of SPY is 3% below its 200 SMA.
Feel free to explore and let me know about your experience with its functionality.
Please be aware that this chart exclusively generates entry and exit signals. It is crucial to conduct your own due diligence before making any investment or trading decisions.