PROTECTED SOURCE SCRIPT
Telah dikemas kini IB with Range Percentage

This Pine Script indicator for TradingView combines several powerful technical analysis tools to give traders a comprehensive view of market action:
Inside Bar Detection: Identifies the classic inside bar candlestick pattern.
Moving Averages: Provides multiple moving averages to help determine trend and potential support/resistance levels.
Information Table: Displays key market data in a concise table format.
1. Inside Bar Detection and Range
The indicator marks inside bars on the chart. An inside bar is a candlestick where its entire range (high and low) falls within the range of the preceding candlestick (often called the "mother bar"). This pattern often signifies market consolidation or indecision.
Customizable Marking: Users can choose the shape and color used to mark the inside bars, such as triangles, squares, or circles.
Range Percentage: A label shows the range of the inside bar as a percentage of the previous bar's low, providing a quantitative measure of its size.
Time Restriction: A setting allows displaying inside bars only for a specified number of past days, focusing analysis on recent price action.
Customizable Label Size: Users can choose the size of the range percentage label for optimal visibility.
2. Moving Averages for Trend Analysis
The indicator can plot up to four moving averages (MAs) on the chart. Moving averages smooth out price data to help identify trends and potential support and resistance levels.
User-Selectable MA Type: For each MA, traders can choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA).
Customizable Length: Users can specify the length (number of periods) for each MA, such as 20, 50, 100, or 200.
Customizable Color: Each MA's line color can be chosen to suit personal preferences.
Trend Identification: When the price is above an MA, it suggests an uptrend, while prices below suggest a downtrend. The slope of the MA also indicates trend momentum.
3. Information Table for Key Data
A customizable information table is displayed on the chart, providing a quick overview of important market data.
Average Daily Range (ADR) Percentage: Shows the average daily range of the asset as a percentage, reflecting its historical volatility.
Distance from EMAs: Displays how far the current price is from the 10, 20, and 50 period Exponential Moving Averages. A positive percentage indicates the price is above the MA, while a negative percentage means it's below.
Customizable Table Elements: Users can choose the table's background color, text color, and text size for optimal readability.
How to Use This Indicator:
This indicator can be a valuable tool for traders using technical analysis:
Inside Bar Breakouts: Inside bars often precede breakouts. Traders can use the inside bar markings and range percentage to identify potential breakout opportunities.
Confirmation of Trends: Moving averages help confirm the direction of the trend, enabling traders to align their inside bar strategies with the prevailing market direction.
Support and Resistance: Moving averages can act as dynamic support and resistance levels. Traders can look for inside bars forming near these levels as potential entry or exit points.
Volatility and Range Analysis: The ADR percentage helps assess the normal daily range of an asset, which can be useful for setting realistic price targets and managing risk.
Risk Management: The distance from EMAs can alert traders to potential overextended moves, providing information for setting stop-loss or take-profit levels.
By combining these elements, this indicator provides a layered approach to market analysis, allowing traders to identify potential trading opportunities and manage risk effectively based on both candlestick patterns and trend-following indicators. Remember that no indicator guarantees success, and it's essential to use this tool in conjunction with other analysis techniques and proper risk management practices.
Inside Bar Detection: Identifies the classic inside bar candlestick pattern.
Moving Averages: Provides multiple moving averages to help determine trend and potential support/resistance levels.
Information Table: Displays key market data in a concise table format.
1. Inside Bar Detection and Range
The indicator marks inside bars on the chart. An inside bar is a candlestick where its entire range (high and low) falls within the range of the preceding candlestick (often called the "mother bar"). This pattern often signifies market consolidation or indecision.
Customizable Marking: Users can choose the shape and color used to mark the inside bars, such as triangles, squares, or circles.
Range Percentage: A label shows the range of the inside bar as a percentage of the previous bar's low, providing a quantitative measure of its size.
Time Restriction: A setting allows displaying inside bars only for a specified number of past days, focusing analysis on recent price action.
Customizable Label Size: Users can choose the size of the range percentage label for optimal visibility.
2. Moving Averages for Trend Analysis
The indicator can plot up to four moving averages (MAs) on the chart. Moving averages smooth out price data to help identify trends and potential support and resistance levels.
User-Selectable MA Type: For each MA, traders can choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA).
Customizable Length: Users can specify the length (number of periods) for each MA, such as 20, 50, 100, or 200.
Customizable Color: Each MA's line color can be chosen to suit personal preferences.
Trend Identification: When the price is above an MA, it suggests an uptrend, while prices below suggest a downtrend. The slope of the MA also indicates trend momentum.
3. Information Table for Key Data
A customizable information table is displayed on the chart, providing a quick overview of important market data.
Average Daily Range (ADR) Percentage: Shows the average daily range of the asset as a percentage, reflecting its historical volatility.
Distance from EMAs: Displays how far the current price is from the 10, 20, and 50 period Exponential Moving Averages. A positive percentage indicates the price is above the MA, while a negative percentage means it's below.
Customizable Table Elements: Users can choose the table's background color, text color, and text size for optimal readability.
How to Use This Indicator:
This indicator can be a valuable tool for traders using technical analysis:
Inside Bar Breakouts: Inside bars often precede breakouts. Traders can use the inside bar markings and range percentage to identify potential breakout opportunities.
Confirmation of Trends: Moving averages help confirm the direction of the trend, enabling traders to align their inside bar strategies with the prevailing market direction.
Support and Resistance: Moving averages can act as dynamic support and resistance levels. Traders can look for inside bars forming near these levels as potential entry or exit points.
Volatility and Range Analysis: The ADR percentage helps assess the normal daily range of an asset, which can be useful for setting realistic price targets and managing risk.
Risk Management: The distance from EMAs can alert traders to potential overextended moves, providing information for setting stop-loss or take-profit levels.
By combining these elements, this indicator provides a layered approach to market analysis, allowing traders to identify potential trading opportunities and manage risk effectively based on both candlestick patterns and trend-following indicators. Remember that no indicator guarantees success, and it's essential to use this tool in conjunction with other analysis techniques and proper risk management practices.
Nota Keluaran
Inside Bar and Moving Averages with Info TableThis Pine Script indicator for TradingView combines several powerful technical analysis tools to give traders a comprehensive view of market action:
Inside Bar Detection: Identifies the classic inside bar candlestick pattern.
Moving Averages: Provides multiple moving averages to help determine trend and potential support/resistance levels.
Information Table: Displays key market data in a concise table format.
1. Inside Bar Detection and Range
The indicator marks inside bars on the chart. An inside bar is a candlestick where its entire range (high and low) falls within the range of the preceding candlestick (often called the "mother bar"). This pattern often signifies market consolidation or indecision.
Customizable Marking: Users can choose the shape and color used to mark the inside bars, such as triangles, squares, or circles.
Range Percentage: A label shows the range of the inside bar as a percentage of the previous bar's low, providing a quantitative measure of its size.
Time Restriction: A setting allows displaying inside bars only for a specified number of past days, focusing analysis on recent price action.
Customizable Label Size: Users can choose the size of the range percentage label for optimal visibility.
2. Moving Averages for Trend Analysis
The indicator can plot up to four moving averages (MAs) on the chart. Moving averages smooth out price data to help identify trends and potential support and resistance levels.
User-Selectable MA Type: For each MA, traders can choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA).
Customizable Length: Users can specify the length (number of periods) for each MA, such as 20, 50, 100, or 200.
Customizable Color: Each MA's line color can be chosen to suit personal preferences.
Trend Identification: When the price is above an MA, it suggests an uptrend, while prices below suggest a downtrend. The slope of the MA also indicates trend momentum.
3. Information Table for Key Data
A customizable information table is displayed on the chart, providing a quick overview of important market data.
Average Daily Range (ADR) Percentage: Shows the average daily range of the asset as a percentage, reflecting its historical volatility.
Distance from EMAs: Displays how far the current price is from the 10, 20, and 50 period Exponential Moving Averages. A positive percentage indicates the price is above the MA, while a negative percentage means it's below.
Customizable Table Elements: Users can choose the table's background color, text color, and text size for optimal readability.
How to Use This Indicator
This indicator can be a valuable tool for traders using technical analysis:
Inside Bar Breakouts: Inside bars often precede breakouts. Traders can use the inside bar markings and range percentage to identify potential breakout opportunities.
Confirmation of Trends: Moving averages help confirm the direction of the trend, enabling traders to align their inside bar strategies with the prevailing market direction.
Support and Resistance: Moving averages can act as dynamic support and resistance levels. Traders can look for inside bars forming near these levels as potential entry or exit points.
Volatility and Range Analysis: The ADR percentage helps assess the normal daily range of an asset, which can be useful for setting realistic price targets and managing risk.
Risk Management: The distance from EMAs can alert traders to potential overextended moves, providing information for setting stop-loss or take-profit levels.
By combining these elements, this indicator provides a layered approach to market analysis, allowing traders to identify potential trading opportunities and manage risk effectively based on both candlestick patterns and trend-following indicators. Remember that no indicator guarantees success, and it's essential to use this tool in conjunction with other analysis techniques and proper risk management practices.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.