OPEN-SOURCE SCRIPT
SMA Sell Signal

This is a basic visual showing a sell-signal based on two simple moving averages, intended for daily chart on individual stocks. Two plots show the percent gap of the closing price from the 50d and 10d simple moving averages. A threshold is set for 20% above the 50d and 2% below the 10d.
The sell signal is determined when a stock rises 20% above the 50d simple moving average, and then drops 2% below the 10d moving average within a 10 day window. The moving average, thresholds and window are all configurable.
The sell signal often aligns to an MACD sell signal, however this visualizes the more specific rule as described above.
The sell signal is determined when a stock rises 20% above the 50d simple moving average, and then drops 2% below the 10d moving average within a 10 day window. The moving average, thresholds and window are all configurable.
The sell signal often aligns to an MACD sell signal, however this visualizes the more specific rule as described above.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Website: drewby.com
Twitter: twitter.com/drewrobbins
All ideas are for information purposes only. I may or may not invest in the stocks discussed. Before investing in any stock, do your research and trade using your rules.
Twitter: twitter.com/drewrobbins
All ideas are for information purposes only. I may or may not invest in the stocks discussed. Before investing in any stock, do your research and trade using your rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Website: drewby.com
Twitter: twitter.com/drewrobbins
All ideas are for information purposes only. I may or may not invest in the stocks discussed. Before investing in any stock, do your research and trade using your rules.
Twitter: twitter.com/drewrobbins
All ideas are for information purposes only. I may or may not invest in the stocks discussed. Before investing in any stock, do your research and trade using your rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.