INVITE-ONLY SCRIPT

Fear Greed zones and Money Waves Fused

73
This indicator, named "Fear Greed zones and Money Waves" combines a smoothed Money Flow Index (MFI)-based wave and the Relative Strength Index (RSI) to visualize market sentiment through fear and greed zones and generate buy/sell signals.

Core Functions
- It calculates a zero-centered and smoothed version of the MFI (MoneyWave) using configurable smoothing methods (SMA, EMA, RMA) with parameters for length and smoothing intensity.
- It uses RSI to define fear and greed zones based on user-defined thresholds (e.g., RSI below 30 indicates fear, above 70 indicates greed).
- The MoneyWave area is color-coded based on these fear/greed RSI zones: dark green for fear, dark red for greed, and yellow neutral.
- The edge line of the MoneyWave shows bullish (lime) when above zero and bearish (red) when below zero.

Visual Elements
- Plots the MoneyWave as a colored area with an edge line.
- Displays horizontal lines representing the zero line and upper/lower bounds derived from MFI thresholds.
- Optionally shows direction change arrows when the MoneyWave sign changes and labels indicating BUY or SELL signals based on MoneyWave crossing zero combined with fear/greed conditions.

Trading Signals and Alerts
- Buy signal triggers when MoneyWave crosses upward through zero while in the fear zone (RSI low).
- Sell signal triggers when MoneyWave crosses downward through zero while in the greed zone (RSI high).
- Alerts can be generated for these buy/sell events.

In summary, this indicator provides a combined measure of money flow momentum (MoneyWave) with market sentiment zones (fear and greed from RSI), helping identify potential market entry and exit points with visual markers and alerts [script].

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.