تم تحديثه

RMH MidTerm

980
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 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.
ملاحظات الأخبار
### Release Notes (v3.0 Update)

**Pine Script v6 Migration & Discretionary Engine Optimization**

This update focuses on fixing output logic inconsistencies, decluttering the chart for manual swing trading (4H / 1D), and upgrading the codebase to **Pine Script v6**.

* **Anchored TP/SL Levels:** Take Profit and Stop Loss targets are now statically locked at entry based on the breakout bar's ATR, preventing levels from floating with subsequent candle closes.
* **Volume-Adjusted Targets:** Breaching bars backed by above-average volume automatically expand the TP target (+30%) to ride high-momentum swings.
* **Streamlined Entry Triggers:** Restored the core structural trigger (MA 75 cross). Secondary macro/momentum indicators (M2, HYG, MACD, OBV) have been moved to the on-chart dashboard to serve as contextual decision aids rather than rigid signal blockers.
* **Pine Script v6 & Data Integrity:** Fully compliant with Pine Script v6 type constraints; added explicit `barmerge.lookahead_off` on external security calls (`FRED:WM2NS`, `HYG`) to eliminate historical repainting and lookahead bias.
* **Single Dynamic Alert:** Replaced fragmented conditions with a unified `alert()` call on bar close, delivering real-time setup notifications complete with entry price, TP, and SL directly to your devices.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.