Frozen Bias Zones – Sentiment Lock-insOverview
The Frozen Bias Zones indicator visualizes market sentiment lock-ins using a combination of RSI, MACD, and OBV. It creates "bias zones" that indicate whether the market is in a sustained bullish or bearish phase. These zones are then highlighted on the chart, helping traders spot when the market is locked in a bias. The script also detects breakout events from these zones and marks them with clear labels for easier decision-making.
Features
Multi-Indicator Sentiment Analysis: Combines RSI, MACD, and OBV to detect synchronized bullish or bearish sentiment.
Frozen Bias Zones: Identifies and visually represents zones where the market has remained in a particular sentiment (bullish or bearish) for a defined period.
Breakout Alerts: Displays labels to indicate when the price breaks out of the established bias zone.
Customizable Inputs: Adjust the zone duration, RSI, MACD, and breakout label visibility.
Input Parameters
Bias Duration (biasLength)
The minimum number of candles the market must stay in a specific sentiment to consider it a "Frozen Bias Zone".
Default: 5 candles.
RSI Period (rsiPeriod)
Period for the Relative Strength Index (RSI) calculation.
Default: 14 periods.
MACD Settings
MACD Fast (macdFast): The fast-moving average period for the MACD calculation.
Default: 12.
MACD Slow (macdSlow): The slow-moving average period for the MACD calculation.
Default: 26.
MACD Signal (macdSig): The signal line period for MACD.
Default: 9.
Show Break Label (showBreakLabel)
Toggle to show labels when the price breaks out of the bias zone.
Default: True (shows label).
Bias Zone Colors
Bullish Bias Color (bullColor): The color for bullish zones (light green).
Bearish Bias Color (bearColor): The color for bearish zones (light red).
How It Works
This indicator analyzes three key market metrics to determine whether the market is in a bullish or bearish phase:
RSI (Relative Strength Index)
Measures the speed and change of price movements. RSI > 50 indicates a bullish phase, while RSI < 50 indicates a bearish phase.
MACD (Moving Average Convergence Divergence)
Measures the relationship between two moving averages of the price. A positive MACD histogram indicates bullish momentum, while a negative histogram indicates bearish momentum.
OBV (On-Balance Volume)
Uses volume flow to determine if a trend is likely to continue. A rising OBV indicates bullish accumulation, while a falling OBV indicates bearish distribution.
Bias Zone Detection
The market sentiment is considered bullish if all three indicators (RSI, MACD, and OBV) are bullish, and bearish if all three indicators are bearish.
Bullish Zone: A zone is created when the market sentiment remains bullish for the duration of the specified biasLength.
Bearish Zone: A zone is created when the market sentiment remains bearish for the duration of the specified biasLength.
These bias zones are visually represented on the chart as colored boxes (green for bullish, red for bearish).
Breakout Detection
The script automatically detects when the market exits a bias zone. If the price moves outside the bounds of the established zone (either up or down), the script will display one of the following labels:
Bias Break (Up): Indicates that the price has broken upwards out of the zone (with a green label).
Bias Break (Down): Indicates that the price has broken downwards out of the zone (with a red label).
These labels help traders easily identify potential breakout points.
Example Use Case
Bullish Market Conditions: If the RSI is above 50, the MACD histogram is positive, and OBV is increasing, the script will highlight a green bias zone. Traders can watch for potential bullish breakouts or trend continuation after the zone ends.
Bearish Market Conditions: If the RSI is below 50, the MACD histogram is negative, and OBV is decreasing, the script will highlight a red bias zone. Traders can look for potential bearish breakouts when the zone ends.
Conclusion
The Frozen Bias Zones indicator is a powerful tool for traders looking to visualize prolonged market sentiment, whether bullish or bearish. By combining RSI, MACD, and OBV, it helps traders spot when the market is "locked in" to a bias. The breakout labels make it easier to take action when the price moves outside of the established zone, potentially signaling the start of a new trend.
Instructions
To use this script:
Add the Frozen Bias Zones indicator to your TradingView chart.
Adjust the input parameters to suit your trading strategy.
Observe the colored bias zones on your chart, along with breakout labels, to make informed decisions on trend continuation or reversal.
Momentum-indicators
TVMC - Composite Indicator with Technical RatingsDescription:
The TVMC (Trend, Volume, Momentum, Composite) indicator is a powerful multi-component tool designed to provide traders with a comprehensive understanding of market conditions. By combining four essential technical analysis components—trend, momentum, volume, and volatility—this indicator offers clear and actionable insights to assist in decision-making.
Key Features:
1. Trend Component (TC):
* Based on MACD (Moving Average Convergence Divergence), this component analyzes the relationship between two exponential moving averages (fast and slow) to determine the prevailing market trend.
* The MACD signal is normalized to a range of -1 to +1 for consistency and clarity.
2. Momentum Component (MC):
* Utilizes RSI (Relative Strength Index) to measure the strength and speed of price movements.
* This component highlights overbought or oversold conditions, which may indicate potential market reversals.
3. Volume Confirmation (VC):
* Compares the current trading volume to its moving average over a specified period.
* High volume relative to the average confirms the validity of the current trend.
4. Volatility Filter (VF):
* Uses ATR (Average True Range) to gauge market volatility.
* Adjusts and smooths signals to reduce noise during periods of high volatility.
5. Technical Ratings Integration:
* Incorporates TradingView’s Technical Ratings, allowing users to validate signals using moving averages, oscillators, or a combination of both.
* Users can choose their preferred source of ratings for enhanced signal confirmation.
How It Works:
The TVMC indicator combines the weighted contributions of the Trend, Momentum, and Volume components, further refined by the Volatility Filter. Each component plays a specific role:
* Trend: Identifies whether the market is bullish, bearish, or neutral.
* Momentum: Highlights the strength of price action.
* Volume: Confirms whether the current price action is supported by sufficient trading activity.
* Volatility: Filters out excessive noise in volatile market conditions, providing a smoother and more reliable output.
Visualization:
1. Bullish Signals:
* The indicator line turns green and remains above the zero line, indicating upward momentum.
2. Bearish Signals:
* The indicator line turns red and falls below the zero line, signaling downward momentum.
3. Neutral Signals:
* The line is orange and stays near zero, indicating a lack of strong trend or momentum.
4. Zones:
* Horizontal lines at +30 and -30 mark strong bullish and bearish zones, respectively.
* A zero line is included for clear separation between bullish and bearish signals.
Recommended Usage:
* Best Timeframes: The indicator is optimized for higher timeframes such as 4-hour (H4) and daily (D1) charts.
* Trading Style: Suitable for swing and positional trading.
* Customization: The indicator allows users to adjust all major parameters (e.g., MACD, RSI, volume, and ATR settings) to fit their trading preferences.
Customization Options:
* Adjustable weights for Trend, Momentum, and Volume components.
* Fully configurable settings for MACD, RSI, Volume SMA, and ATR periods.
* Timeframe selection for multi-timeframe analysis.
Important Notes:
1. Originality: The TVMC indicator combines multiple analysis methods into a unique framework. It does not replicate or minimally modify existing indicators.
2. Transparency: The description is detailed enough for users to understand the methodology without requiring access to the code.
3. Clarity: The indicator is explained in a way that is accessible even to users unfamiliar with complex technical analysis tools.
Compliance with TradingView Rules:
* The indicator is written in Pine Script version 5, adhering to TradingView’s language standards.
* The description is written in English to ensure accessibility to the global community, with a clear explanation of all components and functionality.
* No promotional content, links, or unrelated references are included.
* The chart accompanying the indicator is clean and demonstrates its intended use clearly, with no additional indicators unless explicitly explained.
Jinqian168_V2RSI, EMA of RSI, EMA of RSI's EMA, and Stochastic.
V2 added Price Bar Coloring. Buy when Orange or Green, Sell when Yellow or Red.