PROTECTED SOURCE SCRIPT
已更新 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.
版本注释
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.
版本注释
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.版本注释
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.
版本注释
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.
版本注释
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.
版本注释
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.
版本注释
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.
版本注释
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.
版本注释
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.New Macro Liquidity Filter (M2): The script now incorporates the M2 Money Supply (WM2NS) as a primary trend filter. Based on the economic principle that changes in liquidity take time to circulate through the economy and impact asset prices, the script analyzes the M2 trend with a 90-day lag.
Bullish signals are only permitted if the M2 was expanding 90 days ago (using a 2-day smoothing window to avoid noise).
Bearish signals are confirmed if the M2 was contracting 90 days prior, providing a "macro-overlay" that ensures trades are aligned with global liquidity cycles.
Core Strategy:
Buy: Triggered when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the M2 liquidity (lagged 90d) is expansive, the price is above the long-term moving average, and volume shows positive accumulation (OBV).
Sell: Triggered when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the M2 liquidity (lagged 90d) is restrictive, the price falls below the long-term moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the moving average as a reference. It 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.
版本注释
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.New Macro Liquidity Filter (M2): The script now incorporates the M2 Money Supply (WM2NS) as a primary trend filter. Based on the economic principle that changes in liquidity take time to circulate through the economy and impact asset prices, the script analyzes the M2 trend with a 90-day lag.
Bullish signals are only permitted if the M2 was expanding 90 days ago (using a 2-day smoothing window to avoid noise).
Bearish signals are confirmed if the M2 was contracting 90 days prior, providing a "macro-overlay" that ensures trades are aligned with global liquidity cycles.
Core Strategy:
Buy: Triggered when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the M2 liquidity (lagged 90d) is expansive, the price is above the long-term moving average, and volume shows positive accumulation (OBV).
Sell: Triggered when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the M2 liquidity (lagged 90d) is restrictive, the price falls below the long-term moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the moving average as a reference. It 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.
版本注释
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.New Macro Liquidity Filter (M2): The script now incorporates the M2 Money Supply (WM2NS) as a primary trend filter. Based on the economic principle that changes in liquidity take time to circulate through the economy and impact asset prices, the script analyzes the M2 trend with a 90-day lag.
Bullish signals are only permitted if the M2 was expanding 90 days ago (using a 2-day smoothing window to avoid noise).
Bearish signals are confirmed if the M2 was contracting 90 days prior, providing a "macro-overlay" that ensures trades are aligned with global liquidity cycles.
Core Strategy:
Buy: Triggered when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the M2 liquidity (lagged 90d) is expansive, the price is above the long-term moving average, and volume shows positive accumulation (OBV).
Sell: Triggered when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the M2 liquidity (lagged 90d) is restrictive, the price falls below the long-term moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the moving average as a reference. It 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.
版本注释
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.New Macro Liquidity Filter (M2): The script now incorporates the M2 Money Supply (WM2NS) as a primary trend filter. Based on the economic principle that changes in liquidity take time to circulate through the economy and impact asset prices, the script analyzes the M2 trend with a 90-day lag.
Bullish signals are only permitted if the M2 was expanding 90 days ago (using a 2-day smoothing window to avoid noise).
Bearish signals are confirmed if the M2 was contracting 90 days prior, providing a "macro-overlay" that ensures trades are aligned with global liquidity cycles.
Core Strategy:
Buy: Triggered when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the M2 liquidity (lagged 90d) is expansive, the price is above the long-term moving average, and volume shows positive accumulation (OBV).
Sell: Triggered when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the M2 liquidity (lagged 90d) is restrictive, the price falls below the long-term moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the moving average as a reference. It 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.
版本注释
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.New Macro Liquidity Filter (M2): The script now incorporates the M2 Money Supply (WM2NS) as a primary trend filter. Based on the economic principle that changes in liquidity take time to circulate through the economy and impact asset prices, the script analyzes the M2 trend with a 90-day lag.
Bullish signals are only permitted if the M2 was expanding 90 days ago (using a 2-day smoothing window to avoid noise).
Bearish signals are confirmed if the M2 was contracting 90 days prior, providing a "macro-overlay" that ensures trades are aligned with global liquidity cycles.
Core Strategy:
Buy: Triggered when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the M2 liquidity (lagged 90d) is expansive, the price is above the long-term moving average, and volume shows positive accumulation (OBV).
Sell: Triggered when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the M2 liquidity (lagged 90d) is restrictive, the price falls below the long-term moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the moving average as a reference. It 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.
版本注释
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.New Macro Liquidity Filter (M2): The script now incorporates the M2 Money Supply (WM2NS) as a primary trend filter. Based on the economic principle that changes in liquidity take time to circulate through the economy and impact asset prices, the script analyzes the M2 trend with a 90-day lag.
Bullish signals are only permitted if the M2 was expanding 90 days ago (using a 2-day smoothing window to avoid noise).
Bearish signals are confirmed if the M2 was contracting 90 days prior, providing a "macro-overlay" that ensures trades are aligned with global liquidity cycles.
Core Strategy:
Buy: Triggered when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, the M2 liquidity (lagged 90d) is expansive, the price is above the long-term moving average, and volume shows positive accumulation (OBV).
Sell: Triggered when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, the M2 liquidity (lagged 90d) is restrictive, the price falls below the long-term moving average, and volume shows distribution (negative OBV).
The script also marks global trend changes using the moving average as a reference. It 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.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。