PROTECTED SOURCE SCRIPT
Mis à jour RMH MidTerm

This script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.
Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, and the price is above the 200-day moving average.
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, and the price falls below the 200-day moving average.
It also marks global trend changes using the 200-day moving average as a reference.
Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, and the price is above the 200-day moving average.
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, and the price falls below the 200-day moving average.
It also marks global trend changes using the 200-day moving average as a reference.
Notes de version
This script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, and the price is above the 200-day moving average.
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, and the price falls below the 200-day moving average.
It also marks global trend changes using the 200-day moving average as a reference.
Notes de version
This medium-term trading strategy combines RSI and MACD signals with long-term trend confirmation using the 200-period SMA. It filters buy and sell signals based on market strength indicated by the HYG ETF and volume confirmation through On-Balance Volume (OBV). Signals are triggered when multiple conditions align, helping identify high-probability trend reversals or continuations in US tech and defense stocks.Notes de version
This script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the price is above the 200-day moving average, and volume shows positive accumulation (OBV).
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the price falls below the 200-day moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the 200-day moving average as a reference.
It now includes dynamic Take Profit and Stop Loss levels based on the ATR (Average True Range) and volume. When it detects unusually high volume, it automatically adjusts Take Profit levels to take advantage of larger movements. These levels are displayed with horizontal lines and are clearly marked when reached, providing a complete entry and exit strategy for medium-term trading.
Notes de version
This script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the price is above the 200-day moving average, and volume shows positive accumulation (OBV).
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the price falls below the 200-day moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the 200-day moving average as a reference.
It now includes dynamic Take Profit and Stop Loss levels based on the ATR (Average True Range) and volume. When it detects unusually high volume, it automatically adjusts Take Profit levels to take advantage of larger movements. These levels are displayed with horizontal lines and are clearly marked when reached, providing a complete entry and exit strategy for medium-term trading.
Notes de version
This script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the price is above the 200-day moving average, and volume shows positive accumulation (OBV).
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the price falls below the 200-day moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the 200-day moving average as a reference.
It now includes dynamic Take Profit and Stop Loss levels based on the ATR (Average True Range) and volume. When it detects unusually high volume, it automatically adjusts Take Profit levels to take advantage of larger movements. These levels are displayed with horizontal lines and are clearly marked when reached, providing a complete entry and exit strategy for medium-term trading.
Notes de version
This script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the price is above the 200-day moving average, and volume shows positive accumulation (OBV).
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the price falls below the 200-day moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the 200-day moving average as a reference.
It now includes dynamic Take Profit and Stop Loss levels based on the ATR (Average True Range) and volume. When it detects unusually high volume, it automatically adjusts Take Profit levels to take advantage of larger movements. These levels are displayed with horizontal lines and are clearly marked when reached, providing a complete entry and exit strategy for medium-term trading.
Notes de version
This script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the price is above the 200-day moving average, and volume shows positive accumulation (OBV).
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the price falls below the 200-day moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the 200-day moving average as a reference.
It now includes dynamic Take Profit and Stop Loss levels based on the ATR (Average True Range) and volume. When it detects unusually high volume, it automatically adjusts Take Profit levels to take advantage of larger movements. These levels are displayed with horizontal lines and are clearly marked when reached, providing a complete entry and exit strategy for medium-term trading.
Notes de version
This script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the price is above the 200-day moving average, and volume shows positive accumulation (OBV).
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the price falls below the 200-day moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the 200-day moving average as a reference.
It now includes dynamic Take Profit and Stop Loss levels based on the ATR (Average True Range) and volume. When it detects unusually high volume, it automatically adjusts Take Profit levels to take advantage of larger movements. These levels are displayed with horizontal lines and are clearly marked when reached, providing a complete entry and exit strategy for medium-term trading.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.