### Relevance and Functionality of the "US M2" Indicator

#### Relevance

The "US M2" indicator is relevant for several reasons:

1. **Macro-Economic Insight**: The M2 money supply is a critical indicator of the amount of liquidity in the economy. Changes in M2 can significantly impact financial markets, including equities, commodities, and cryptocurrencies.
2. **Trend Identification**: By analyzing the M2 money supply with moving averages, the indicator helps identify long-term and short-term trends, providing insights into economic conditions and potential market movements.
3. **Trading Signals**: The indicator generates bullish and bearish signals based on moving average crossovers and the difference between current M2 values and their moving averages. These signals can be useful for making informed trading decisions.

#### How It Works

1. **Data Input**:
- **US M2 Money Supply**: The indicator fetches the US M2 money supply data using the "USM2" symbol with a monthly resolution.

2. **Moving Averages**:
- **50-Period SMA**: Calculates the Simple Moving Average (SMA) over 50 periods (months) to capture short-term trends.
- **200-Period SMA**: Calculates the SMA over 200 periods to identify long-term trends.

3. **Difference Calculation**:
- **USM2 Difference**: Computes the difference between the current M2 value and its 50-period SMA to highlight deviations from the short-term trend.

4. **Amplification**:
- **Amplified Difference**: Multiplies the difference by 100 to make the deviations more visible on the chart.

5. **Bullish and Bearish Conditions**:
- **Bullish Condition**: When the current M2 value is above the 50-period SMA, indicating a positive short-term trend.
- **Bearish Condition**: When the current M2 value is below the 50-period SMA, indicating a negative short-term trend.

6. **Short-Term SMA of Amplified Difference**:
- **14-Period SMA**: Applies a 14-period SMA to the amplified difference to smooth out short-term fluctuations and provide a clearer trend signal.

7. **Plots and Visualizations**:
- **USM2 Plot**: Plots the US M2 data for reference.
- **200-Period SMA Plot**: Plots the long-term SMA to show the broader trend.
- **Amplified Difference Histogram**: Plots the amplified difference as a histogram with green bars for bullish conditions and red bars for bearish conditions.
- **SMA of Amplified Difference**: Plots the 14-period SMA of the amplified difference to track the trend of deviations.

8. **Moving Average Cross Signals**:
- **Bullish Cross**: Plots an upward triangle when the 50-period SMA crosses above the 200-period SMA, signaling a potential long-term uptrend.
- **Bearish Cross**: Plots a downward triangle when the 50-period SMA crosses below the 200-period SMA, signaling a potential long-term downtrend.

### Summary

The "US M2" indicator provides a comprehensive view of the US M2 money supply, highlighting significant trends and deviations. By combining short-term and long-term moving averages with amplified difference analysis, it offers valuable insights and trading signals based on macroeconomic liquidity conditions.
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?