Groupped SMA with Custom Lenght by Mustafa KAPUZThis script is a custom implementation of grouped Simple Moving Averages (SMA) with added Bollinger Bands
Key Features:
Customizable Length (n): Allows users to set the length for the SMA calculation. The length is the number of bars used to calculate the average. This is input by the user and can be adjusted to analyze different time periods.
Standard Deviation Multiplier (StdDev): This input allows users to customize the width of the Bollinger Bands. A higher multiplier results in wider bands, and a lower multiplier results in narrower bands.
Grouped Calculation: Instead of calculating the SMA on a rolling basis, this script groups the data in sets of n (as per the user-defined length) and calculates the SMA for each group. After each group, the calculation resets.
Bollinger Bands: Based on the SMA calculated for each group, the script calculates the standard deviation of prices within the group. Using the standard deviation and the standard deviation multiplier (StdDev), it computes the upper and lower Bollinger Bands.
Dynamic Visualization: For each completed group of n bars, the script draws lines on the chart representing the upper band, lower band, and the SMA itself. These lines help visualize the volatility and the average price level for each group.
How It Works:
Data Grouping: For every candle/bar on the chart, the script sums up the closing prices and counts the number of bars until it reaches the user-defined length (n). It stores closing prices in an array for further calculations.
Average Calculation: Once the count reaches n, it calculates the average closing price for the group and resets the sum and count for the next group.
Standard Deviation and Bollinger Bands: With the average calculated, it then computes the standard deviation of the closing prices within the group. This standard deviation, multiplied by the user-defined StdDev multiplier, determines the distance of the Bollinger Bands from the average.
Drawing Lines: Finally, the script visually represents these calculations on the chart by drawing lines for the upper band, lower band, and the average itself for each group.
Purpose and Use:
This script is useful for traders and analysts who prefer to examine price movements and volatility in fixed intervals or groups of bars, rather than the continuous rolling averages provided by traditional SMA and Bollinger Band indicators. By adjusting the length and standard deviation multiplier, users can tailor the indicator to fit various trading strategies, time frames, and market conditions. This grouped approach can provide unique insights into market trends, potential reversals, and volatility patterns that might not be as evident with standard indicators.
แบนด์และแชนแนล
Relative Strength Index(RSI)- Range (60-40)Custom RSI Indicator:
The Custom RSI Indicator is a technical analysis tool designed to assess the momentum of a financial instrument's price movements within a specified range. Unlike the traditional RSI, which typically operates within a range of 0 to 100, this customized version focuses on a narrower spectrum between 40 and 60, providing clearer signals for traders.
Key Features:
Bullish and Bearish Zones: The indicator delineates between bullish and bearish sentiment. When the RSI value climbs above 60, it signals bullish momentum, indicating potential uptrends in the price. Conversely, when the RSI dips below 40, it suggests bearish sentiment, signaling potential downtrends.
Overbought and Oversold Conditions: Additionally, the Custom RSI Indicator identifies extreme market conditions. When the RSI surpasses 80 , it denotes overbought territory, suggesting that the asset may be overvalued and prone to a reversal or correction. Conversely, when the RSI falls below 30 , it indicates oversold conditions, suggesting that the asset may be undervalued and ripe for a potential rebound.
Default RSI Comparison: The Custom RSI Indicator can be compared against the traditional RSI for added context. While the customized range provides more precise signals within the 60-40 spectrum, referencing the default RSI can offer broader insights into market dynamics.
Usage:
Trend Identification: Traders can utilize the Custom RSI Indicator to identify potential trend reversals or continuations based on shifts in momentum within the specified range.
Confirmation Tool: It can serve as a confirmation tool alongside other technical indicators or price action analysis, enhancing the overall reliability of trading decisions.
Risk Management: By recognizing overbought and oversold conditions, traders can implement risk management strategies such as setting stop-loss orders or adjusting position sizes to mitigate potential losses.
Conclusion:
The Custom RSI Indicator offers traders a focused perspective on market momentum within the 60-40 range, facilitating more accurate assessments of bullish and bearish sentiment as well as identifying extreme market conditions. By incorporating this tool into their analysis, traders can make informed decisions and potentially improve their trading outcomes.
NSE Option Straddle Candle Chart
'NSE Option Straddle Candle Chart' plot a straddle chart of the mentioned strike.
Straddle means combine price of a call price and a put price.
User has 4 inputs :
1 : Spot Symbol
2 : Expiry date
3 : Straddle Strikes
4 : Ema Length
5 : Supertrend Inputs
How to use :
1 : Trade need to know first what is a straddle. If ATM straddle price is 405, than it means market is likely to close within 405 points up or down at the expiry.
2 : Straddle is traded on pairs only
3 : If trader sells a straddle than , straddle price should move down. For there reference supertrend and moving average is plotted on chart
4 : Both this indicators helps trade to identify the trend , hence predict market.
5 : Options are dying assite , so is straddle , so prefer selling straddle instead of buying.
Kelbol Bands @shrilss The Kelbol Bands are designed to provide traders with insights into price volatility and potential trend reversal points. By combining Bollinger Bands (BB) and Keltner Channels (KC), this indicator offers a versatile approach to analyzing market dynamics.
Key Features:
- Customizable Parameters: The indicator allows traders to adjust parameters such as BB Length, BB Multiplier, KC Length, KC Multiplier, and ATR Length to suit their trading preferences and strategies.
- Timeframe Flexibility: Traders can select different timeframes for calculating Bollinger Bands and Keltner Channels independently, enhancing adaptability to various market conditions.
- Visual Representation: The indicator plots Upper, Basis (Midline), and Lower Kelbol Bands, as well as Upper, Basis, and Lower Keltner Channels and Bollinger Bands separately. This visual representation aids traders in identifying potential support and resistance levels, as well as trend direction.
- Toggle Display: Users have the option to toggle the visibility of each component individually, providing flexibility in focusing on specific aspects of price action.
Calculation Method:
- Bollinger Bands (BB) are calculated based on the selected BB Length and BB Multiplier. The upper and lower bands are derived from the simple moving average (SMA) of the price and the standard deviation of the price series.
- Keltner Channels (KC) are determined using the selected KC Length, KC Multiplier, and ATR Length. The basis (midline) of the channel is derived from the SMA of the price, while the upper and lower channels are calculated based on the average true range (ATR).
- Kelbol Bands (KBL) are a combination of Bollinger Bands and Keltner Channels. The upper, basis, and lower bands of KBL are calculated as the averages of the corresponding values of Bollinger Bands and Keltner Channels.
Dual SMA/EMA BandsThe Dual SMA/EMA Bands indicator provides a clear view of market trends, combining Simple Moving Averages (SMA) and Exponential Moving Averages (EMA) in one customizable tool. Designed for any timeframe, it features Aqua and Purple Bands for 50-period and 200-period averages , respectively, aiding in trend analysis and volatility insights.
Features:
Adaptive Timeframes : Automatically aligns with the chart’s timeframe or can be manually set for cross-timeframe analysis.
Customization : Offers easy adjustments for colors, line thickness, and opacity to suit personal preferences and enhance readability.
Insights : Facilitates trend confirmation and volatility assessment, essential for informed trading decisions.
Usage Tips:
Use the bands to gauge market direction; above the bands suggests bullish conditions, below them indicates bearish trends.
The gap between EMA and SMA within each band can signal market volatility.
Apply customizable timeframes for a comprehensive market overview.
Conclusion:
With its straightforward setup and versatile application, the Dual SMA/EMA Bands indicator is a valuable tool for traders looking to deepen their market analysis and uncover trading opportunities.
Predictive Channel SignalsThis script is a comprehensive tool designed to enhance trading strategies by utilizing predictive channels, multiple moving average types, and dynamic signal generation. The script is meticulously crafted for traders who seek to identify potential support and resistance levels, anticipate market reversals, and optimize entry and exit points through advanced technical analysis featuring with the help of codes provided by LuxAlgo.
Core Features:
Dynamic Predictive Channels: The script calculates predictive channels based on price movements and volatility, represented by adjustable factors for sensitivity and slope. These channels adapt to changing market conditions, providing real-time support and resistance levels.
Versatile Moving Averages: Users can select from a variety of moving average types, including SMA, EMA, SMMA (RMA), HullMA, WMA, VWMA, DEMA, and TEMA. This flexibility allows traders to tailor the analysis to their specific strategy and market view.
Signal Generation: The script generates buying and selling signals based on the interaction between moving averages and predictive channels. Signals are categorized into low, mid, and high tiers, indicating the strength and potential risk/reward of the trade opportunity.
Visual Cues and Customization: With an emphasis on usability, the script offers customizable color schemes for easy interpretation of bullish and bearish zones, moving averages, and trading signals. Traders can quickly identify market trends and reversal points at a glance.
Advanced Calculations: Utilizing calculations such as the Average True Range (ATR) for volatility assessment, the script ensures that signals are both sensitive to market dynamics and robust against false positives.
Ideal for Traders Who:
Prefer a technical analysis approach with a focus on moving averages and price channels.
Desire a customizable tool that can adapt to different trading styles and market conditions.
Seek to enhance their trading strategy with predictive insights and actionable signals.
Circle = Entry Point
End of polyline = Stop Loss
1 Circle = Low Strength
2 Circles = Mid Strength
3 Circles = High Strength
STY-Divergencedraws a blue line representing the divergence between a 3-period moving average (3MA) close and the current candle high, and a red line representing the divergence between a 20-period moving average (20MA) close and the 3MA close
This script calculates the moving averages for both 3-period and 20-period and then computes the divergences as described. It plots the lines with blue color if the divergence is positive and red if negative. Adjust the length of moving averages or other parameters according to your preference.
RSI-HeatmapThis unique indicator is a comprehensive tool designed for traders seeking to gain an edge in the market. It consists of three main components: a revised RSI, a dynamic heatmap, and an integrated alert system.
1.Modified RSI:
Unlike the traditional RSI that calculates delta as the difference between the current price and the previous price (Δ = {price} - {previous price}), this version computes delta by comparing the current price with the price n periods ago (Δ = {price} - {n-th previous price}). This delta is then smoothed using a Volume Weighted Moving Average (VWMA) with a short length to preserve the RSI's core characteristics while adapting it to capture longer-term momentum shifts more effectively.
2.Heatmap:
The heatmap feature introduces a novel approach to visualize market conditions, with 5 high levels and 5 low levels identified around the current price. When the price crosses these thresholds, the RSI-based heatmap changes colors, ranging from blue (indicative of oversold conditions) to red (signaling overbought conditions). This visual tool helps traders quickly gauge the strength and potential reversal points in the market.
3.Alert:
The Alert system employs MACD (Moving Average Convergence Divergence) and CCI (Commodity Channel Index) indicators to signal potential buy or sell opportunities. It categorizes alerts into four color-coded recommendations:
Green and Lighter Green: Strong buy signal, suggesting favorable conditions for entering buy positions.
Blue and Lighter Blue: Moderate buy signal, indicating less robust but potentially profitable buy conditions.
Red and Lighter Red: Strong sell signal, advising traders to consider taking sell positions.
Orange and Lighter Orange: Moderate sell signal, hinting at sell conditions that are not as compelling as those indicated by red.
MBAND 200 4H BTC/USDT - By MGS-TradingMBAND 200 4H BTC/USDT with RSI and Volume by MGS-Trading: A Neural Network-Inspired Indicator
Introduction:
The MBAND 200 4H BTC/USDT with RSI and Volume represents a groundbreaking achievement in the integration of artificial intelligence (AI) into cryptocurrency market analysis. Developed by MGS-Trading, this indicator is the culmination of extensive research and development efforts aimed at leveraging AI's power to enhance trading strategies. By synthesizing neural network concepts with traditional technical analysis, the MBAND indicator offers a dynamic, multi-dimensional view of the market, providing traders with unparalleled insights and actionable signals.
Innovative Approach:
Our journey to create the MBAND indicator began with a simple question: How can we mimic the decision-making prowess of a neural network in a trading indicator? The answer lay in the weighted aggregation of Exponential Moving Averages (EMAs) from multiple timeframes, each serving as a unique input akin to a neuron in a neural network. These weights are not arbitrary; they were painstakingly optimized through backtesting across various market conditions to ensure they reflect the significance of each timeframe’s contribution to overall market dynamics.
Core Features:
Neural Network-Inspired Weights: The heart of the MBAND indicator lies in its AI-inspired weighting system, which treats each timeframe’s EMA as an input node in a neural network. This allows the indicator to process complex market data in a nuanced and sophisticated manner, leading to more refined and informed trading signals.
Multi-Timeframe EMA Analysis: By analyzing EMAs from 15 minutes to 3 days, the MBAND indicator captures a comprehensive snapshot of market trends, enabling traders to make informed decisions based on a broad spectrum of data.
RSI and Volume Integration: The inclusion of the Relative Strength Index (RSI) and volume data adds layers of confirmation to the signals generated by the EMA bands. This multi-indicator approach helps in identifying high-probability setups, reinforcing the neural network’s concept of leveraging multiple data points for decision-making.
Usage Guidelines:
Signal Interpretation: The MBAND bands provide a visual representation of the market’s momentum and direction. A price moving above the upper band signals strength and potential continuation of an uptrend, while a move below the lower band suggests weakness and a possible downtrend.
Overbought/Oversold Conditions: The RSI component identifies when the asset is potentially overbought (>70) or oversold (<30). Traders should watch for these conditions near the MBAND levels for potential reversal opportunities.
Volume Confirmation: An increase in volume accompanying a price move towards or beyond an MBAND level serves as confirmation of the strength behind the move. This can indicate whether a breakout is likely to sustain or if a reversal has substantial backing.
Strategic Entry and Exit Points: Combine the MBAND readings with RSI and volume indicators to pinpoint strategic entry and exit points. For example, consider entering a long position when the price is near the lower MBAND, RSI indicates oversold conditions, and there is a notable volume increase.
About MGS-Trading:
At MGS-Trading, we are passionate about harnessing the transformative power of AI to revolutionize cryptocurrency trading. Our indicators and tools are designed to provide traders with advanced analytics and insights, drawing on the latest AI techniques and methodologies. The MBAND 200 4H BTC/USDT with RSI and Volume indicator is a prime example of our commitment to innovation, offering traders a sophisticated, AI-enhanced tool for navigating the complexities of the cryptocurrency markets.
Disclaimer:
The MBAND indicator is provided for informational purposes only and does not constitute investment advice. Trading cryptocurrencies involves significant risk and can result in the loss of your investment. We recommend conducting your own research and consulting with a qualified financial advisor before making any trading decisions.
Heikin Ashi TSI and OTT [Erebor]TSI (True Strength Index)
The TSI (True Strength Index) is a momentum-based trading indicator used to identify trend direction, overbought/oversold conditions, and potential trend reversals in financial markets. It was developed by William Blau and first introduced in 1991.
Here's how the TSI indicator is calculated:
• Double Smoothed Momentum (DM): This is calculated by applying double smoothing to the price momentum. First, the single smoothed momentum is calculated by subtracting the smoothed closing price from the current closing price. Then, this single smoothed momentum is smoothed again using an additional smoothing period.
• Absolute Smoothed Momentum (ASM): This is calculated by applying smoothing to the absolute value of the price momentum. Similar to DM, ASM applies a smoothing period to the absolute value of the difference between the current closing price and the smoothed closing price.
• TSI Calculation: The TSI is calculated as the ratio of DM to ASM, multiplied by 100 to express it as a percentage. Mathematically, TSI = (DM / ASM) * 100.
The TSI indicator oscillates around a centerline (typically at zero), with positive values indicating bullish momentum and negative values indicating bearish momentum. Traders often look for crossovers of the TSI above or below the centerline to identify shifts in momentum and potential trend reversals. Additionally, divergences between price and the TSI can signal weakening trends and potential reversal points.
Pros of the TSI indicator:
• Smoothed Momentum: The TSI uses double smoothing techniques, which helps to reduce noise and generate smoother signals compared to other momentum indicators.
• Versatility: The TSI can be applied to various financial instruments and timeframes, making it suitable for both short-term and long-term trading strategies.
• Trend Identification: The TSI is effective in identifying the direction and strength of market trends, helping traders to align their positions with the prevailing market sentiment.
Cons of the TSI indicator:
• Lagging Indicator: Like many momentum indicators, the TSI is a lagging indicator, meaning it may not provide timely signals for entering or exiting trades during rapidly changing market conditions.
• False Signals: Despite its smoothing techniques, the TSI can still produce false signals, especially during periods of low volatility or ranging markets.
• Subjectivity: Interpretation of the TSI signals may vary among traders, leading to subjective analysis and potential inconsistencies in trading decisions.
Overall, the TSI indicator can be a valuable tool for traders when used in conjunction with other technical analysis tools and risk management strategies. It can help traders identify potential trading opportunities and confirm trends, but it's essential to consider its limitations and incorporate additional analysis for more robust trading decisions.
Heikin Ashi Candles
Let's consider a modification to the traditional “Heikin Ashi Candles” where we introduce a new parameter: the period of calculation. The traditional HA candles are derived from the open , high low , and close prices of the underlying asset.
Now, let's introduce a new parameter, period, which will determine how many periods are considered in the calculation of the HA candles. This period parameter will affect the smoothing and responsiveness of the resulting candles.
In this modification, instead of considering just the current period, we're averaging or aggregating the prices over a specified number of periods . This will result in candles that reflect a longer-term trend or sentiment, depending on the chosen period value.
For example, if period is set to 1, it would essentially be the same as traditional Heikin Ashi candles. However, if period is set to a higher value, say 5, each candle will represent the average price movement over the last 5 periods, providing a smoother representation of the trend but potentially with delayed signals compared to lower period values.
Traders can adjust the period parameter based on their trading style, the timeframe they're analyzing, and the level of smoothing or responsiveness they prefer in their candlestick patterns.
Optimized Trend Tracker
The "Optimized Trend Tracker" is a proprietary trading indicator developed by TradingView user ANIL ÖZEKŞİ. It is designed to identify and track trends in financial markets efficiently. The indicator attempts to smooth out price fluctuations and provide clear signals for trend direction.
The Optimized Trend Tracker uses a combination of moving averages and adaptive filters to detect trends. It aims to reduce lag and noise typically associated with traditional moving averages, thereby providing more timely and accurate signals.
Some of the key features and applications of the OTT include:
• Trend Identification: The indicator helps traders identify the direction of the prevailing trend in a market. It distinguishes between uptrends, downtrends, and sideways consolidations.
• Entry and Exit Signals: The OTT generates buy and sell signals based on crossovers and direction changes of the trend. Traders can use these signals to time their entries and exits in the market.
• Trend Strength: It also provides insights into the strength of the trend by analyzing the slope and momentum of price movements. This information can help traders assess the conviction behind the trend and adjust their trading strategies accordingly.
• Filter Noise: By employing adaptive filters, the indicator aims to filter out market noise and false signals, thereby enhancing the reliability of trend identification.
• Customization: Traders can customize the parameters of the OTT to suit their specific trading preferences and market conditions. This flexibility allows for adaptation to different timeframes and asset classes.
Overall, the OTT can be a valuable tool for traders seeking to capitalize on trending market conditions while minimizing false signals and noise. However, like any trading indicator, it is essential to combine its signals with other forms of analysis and risk management strategies for optimal results. Additionally, traders should thoroughly back-test the indicator and practice using it in a demo environment before applying it to live trading.
The following types of moving average have been included: "SMA", "EMA", "SMMA (RMA)", "WMA", "VWMA", "HMA", "KAMA", "LSMA", "TRAMA", "VAR", "DEMA", "ZLEMA", "TSF", "WWMA". Thanks to the authors.
Thank you for your indicator “Optimized Trend Tracker”. © kivancozbilgic
Thank you for your programming language, indicators and strategies. © TradingView
Kind regards.
© Erebor_GIT
SMA with ATR BandsSMA with ATR Bands
This custom indicator combines the Simple Moving Average (SMA) with Average True Range (ATR) bands. It’s designed to help traders identify potential price reversals and gauge volatility. Here’s what it does:
Simple Moving Average (SMA):
The SMA represents the average price over a specified period.
It acts as a trend-following line, smoothing out price fluctuations.
The blue line on the chart represents the SMA.
ATR Bands:
The ATR measures volatility by calculating the average range between high and low prices.
We add and subtract the ATR (multiplied by a user-defined factor) from the SMA to create the bands.
The green upper band and red lower band dynamically adjust based on volatility.
How to Use It:
Volatility Signals: When the bands are close together (a “squeeze”), it indicates low volatility. A breakout often follows.
Overbought/Oversold: Price touching the upper band suggests overbought conditions, while touching the lower band suggests oversold conditions.
Trend Confirmation: The indicator can confirm trends.
Feel free to use this indicator on TradingView to enhance your trading strategy. Remember to customize the parameters according to your preferences. Happy trading! 📈🚀
Heikin Ashi and Optimized Trend Tracker and PVSRA [Erebor]Heikin Ashi Candles
Let's consider a modification to the traditional “Heikin Ashi Candles” where we introduce a new parameter: the period of calculation. The traditional HA candles are derived from the open , high low , and close prices of the underlying asset.
Now, let's introduce a new parameter, period, which will determine how many periods are considered in the calculation of the HA candles. This period parameter will affect the smoothing and responsiveness of the resulting candles.
In this modification, instead of considering just the current period, we're averaging or aggregating the prices over a specified number of periods . This will result in candles that reflect a longer-term trend or sentiment, depending on the chosen period value.
For example, if period is set to 1, it would essentially be the same as traditional Heikin Ashi candles. However, if period is set to a higher value, say 5, each candle will represent the average price movement over the last 5 periods, providing a smoother representation of the trend but potentially with delayed signals compared to lower period values.
Traders can adjust the period parameter based on their trading style, the timeframe they're analyzing, and the level of smoothing or responsiveness they prefer in their candlestick patterns.
Optimized Trend Tracker
The "Optimized Trend Tracker" is a proprietary trading indicator developed by TradingView user ANIL ÖZEKŞİ. It is designed to identify and track trends in financial markets efficiently. The indicator attempts to smooth out price fluctuations and provide clear signals for trend direction.
The Optimized Trend Tracker uses a combination of moving averages and adaptive filters to detect trends. It aims to reduce lag and noise typically associated with traditional moving averages, thereby providing more timely and accurate signals.
Some of the key features and applications of the OTT include:
• Trend Identification: The indicator helps traders identify the direction of the prevailing trend in a market. It distinguishes between uptrends, downtrends, and sideways consolidations.
• Entry and Exit Signals: The OTT generates buy and sell signals based on crossovers and direction changes of the trend. Traders can use these signals to time their entries and exits in the market.
• Trend Strength: It also provides insights into the strength of the trend by analyzing the slope and momentum of price movements. This information can help traders assess the conviction behind the trend and adjust their trading strategies accordingly.
• Filter Noise: By employing adaptive filters, the indicator aims to filter out market noise and false signals, thereby enhancing the reliability of trend identification.
• Customization: Traders can customize the parameters of the OTT to suit their specific trading preferences and market conditions. This flexibility allows for adaptation to different timeframes and asset classes.
Overall, the OTT can be a valuable tool for traders seeking to capitalize on trending market conditions while minimizing false signals and noise. However, like any trading indicator, it is essential to combine its signals with other forms of analysis and risk management strategies for optimal results. Additionally, traders should thoroughly back-test the indicator and practice using it in a demo environment before applying it to live trading.
PVSRA (Price, Volume, S&R Analysis)
“PVSRA” (Price, Volume, S&R Analysis) is a trading methodology and indicator that combines the analysis of price action, volume, and support/resistance levels to identify potential trading opportunities in financial markets. It is based on the idea that price movements are influenced by the interplay between supply and demand, and analyzing these factors together can provide valuable insights into market dynamics.
Here's a breakdown of the components of PVSRA:
• Price Action Analysis: PVSRA focuses on analyzing price movements and patterns on price charts, such as candlestick patterns, trendlines, chart patterns (like head and shoulders, triangles, etc.), and other price-based indicators. Traders using PVSRA pay close attention to how price behaves at key support and resistance levels and look for patterns that indicate potential shifts in market sentiment.
• Volume Analysis: Volume is an essential component of PVSRA. Traders monitor changes in trading volume to gauge the strength or weakness of price movements. An increase in volume during a price move suggests strong participation and conviction from market participants, reinforcing the validity of the price action. Conversely, low volume during price moves may indicate lack of conviction and potential reversals.
• Support and Resistance (S&R) Analysis: PVSRA incorporates the identification and analysis of support and resistance levels on price charts. Support levels represent areas where buying interest is expected to be strong enough to prevent further price declines, while resistance levels represent areas where selling interest may prevent further price advances. These levels are often identified using historical price data, trendlines, moving averages, pivot points, and other technical analysis tools.
The PVSRA methodology combines these three elements to generate trading signals and make trading decisions. Traders using PVSRA typically look for confluence between price action, volume, and support/resistance levels to confirm trade entries and exits. For example, a bullish reversal signal may be considered stronger if it occurs at a significant support level with increasing volume.
It's important to note that PVSRA is more of a trading approach or methodology rather than a specific indicator with predefined rules. Traders may customize their analysis based on their preferences and trading style, incorporating additional technical indicators or filters as needed. As with any trading strategy, risk management and proper trade execution are essential components of successful trading with PVSRA.
The following types of moving average have been included: "SMA", "EMA", "SMMA (RMA)", "WMA", "VWMA", "HMA", "KAMA", "LSMA", "TRAMA", "VAR", "DEMA", "ZLEMA", "TSF", "WWMA". Thanks to the authors.
Thank you for your indicator “Optimized Trend Tracker”. © kivancozbilgic
Thank you for your indicator “PVSRA Volume Suite”. © creengrack
Thank you for your programming language, indicators and strategies. © TradingView
Kind regards.
© Erebor_GIT
Deck@r True Range IndexThis Pine Script calculates the True Range Index (TRI) using ATR and Fib Levels and uses the result to generate buy and sell signals based on certain conditions.
Here's a breakdown of the code:
Inputs:
atr_period: Determines the period for calculating the Average True Range (ATR), preferred setting at 14.
atr_multiplier: Multiplier used to set the width of the ATR bands preferred setting at 1.
Calculations:
atr_value: Calculates the Average True Range (ATR) using the input period.
upper_band: Calculates the upper band of the ATR bands using a Simple Moving Average (SMA) of the close price plus the ATR multiplied by the multiplier.
lower_band: Calculates the lower band of the ATR bands using a Simple Moving Average (SMA) of the close price minus the ATR multiplied by the multiplier.
midline_75 and midline_25: Calculate midlines at Fibonacci retracement levels of 0.75 and 0.25, respectively, between the upper and lower bands.
Plotting:
Plots the upper and lower bands of the ATR bands.
Optionally plots midlines for the ATR bands (commented out in the code).
Buy and Sell Conditions:
buy_condition: Defines a condition for a buy signal, which occurs when the close price is above the midline at the Fibonacci retracement level of 0.25.
sell_condition: Defines a condition for a sell signal, which occurs when the close price is below the midline at the Fibonacci retracement level of 0.75.
Candle Color:
Sets the candle color based on the buy and sell conditions.
Buy and Sell Signals:
buy_signal: Checks for a buy signal when the close price crosses above the midline at the Fibonacci retracement level of 0.25.
sell_signal: Checks for a sell signal when the close price crosses below the midline at the Fibonacci retracement level of 0.75.
Plots buy and sell signals on the chart.
Sector ETFs performance overviewThe indicator provides a nuanced view of sector performance through ETF analysis, focusing on long-term price trends and deviations from these trends to gauge relative strength or weakness. It utilizes a methodical approach to smooth out ETF price data and then applies a regression analysis to pinpoint the primary trend direction. By examining how far the current price deviates from this regression line, the indicator identifies potential overbought or oversold conditions within various sectors.
Core Analysis Techniques:
Logarithmic Transformation and Regression: This process transforms ETF closing prices on a logarithmic scale to better understand sector growth patterns and dynamics. A linear regression of these prices helps define the overarching trend, crucial for understanding market movements.
Volatility Bands for Market State Assessment: The indicator calculates standard deviation based on logarithmic prices to establish dynamic bands around the regression line. These bands are instrumental in identifying market states, highlighting when sectors may be overextended from their central trend.
Sector-Specific Analysis: By focusing on distinct sector ETFs, the tool enables targeted analysis across various market segments. This specificity allows for a granular look at sectors like technology, healthcare, and financials, providing insights tailored to each area.
Adaptability and Insight:
Customizable Parameters: The indicator offers users the ability to adjust key parameters such as regression length and smoothing factors. This customization ensures that the analysis can be tailored to individual preferences and market outlooks.
Trend Direction and Momentum: It assesses the ETF's price movement relative to historical data and the established volatility bands, helping to clarify the sector's trend strength and potential directional shifts.
Strategic Application:
Focusing on trend and volatility analysis rather than direct trading signals, the indicator aids in forming a strategic view of sector investments. It's particularly useful for:
Spotting macroeconomic trends through the lens of sector ETF performance.
Informing portfolio decisions with nuanced insights into sector momentum and market conditions.
Anticipating potential market shifts by evaluating how current prices align with historical volatility and trend patterns.
This tool stands out as a vital resource for analyzing sector-level market trends, offering detailed insights into the dynamics of economic sectors for comprehensive market analysis.
POC IndicatorThis simplified Point of Control (POC) indicator for TradingView is designed to identify and plot the price level where the highest volume of trading occurred over a specified period. The script works as follows:
Input and Initialization: The user specifies a length for the analysis period. Variables highestVolPrice and highestVol are initialized to track the price with the highest volume and the highest volume encountered, respectively.
Volume Analysis Loop: For each bar in the specified period (up to length bars back from the current bar), the script compares the volume of the current bar (volume ) to highestVol. If the current bar's volume is higher, highestVol and highestVolPrice are updated to reflect the volume and closing price of the current bar.
Plotting the POC: Instead of using a horizontal line (hline), which cannot be dynamically updated within the loop, the script uses plot to draw the POC. This plotting function draws a line on the chart that represents the closing price level associated with the highest volume observed within the analysis period.
Resetting Variables: To ensure the indicator updates correctly with each new bar, the script resets highestVol and highestVolPrice at the start of the analysis for each new period. This step is designed to recalculate the POC dynamically as new data comes in.
This approach offers a basic method for visualizing significant price levels where substantial trading activity occurred, potentially indicating areas of strong support or resistance. However, it's a simplified model and does not calculate the true POC based on a detailed volume profile across all price levels within the period.
Foxy's Logarithmic Bollinger BandsThis versatile indicator plots logarithmic Bollinger Bands on any financial asset or timeframe in the TradingView platform. Unlike traditional Bollinger Bands, which use simple arithmetic calculations, Foxy's LBB employs logarithmic scales to better capture and visualize percentage-based price movements.
The core functionality includes:
Basis Line: A central moving average line calculated on the log10 of the selected price source (default is close price). Multiple moving average types are available, including SMA, EMA, RMA, and volume-weighted variants.
Upper/Lower Bands 1: The first set of upper and lower bands, plotted at a user-defined number of standard deviations (default 2.0) above and below the Basis Line.
Upper/Lower Bands 2: A second set of bands plotted at a different standard deviation level (default 3.0) to cater to different volatility preferences.
Offset: An option to vertically offset the plotted lines for better visualization alongside other indicators or studies.
By using a logarithmic scale, Foxy's LBB provides a more accurate representation of percentage-based price changes, making it particularly useful for analyzing and trading volatile assets or markets with significant price swings.
Traders can leverage this indicator for various purposes, such as identifying potential overbought/oversold conditions, gauging volatility levels, and spotting trend continuations or reversals based on the interaction between price and the band levels.
Whether you're a seasoned trader or just starting, Foxy's LBB offers a powerful and flexible tool to enhance your technical analysis and decision-making process in the TradingView environment.
Range PercentageRange Percentage is a simple indicator utility to clearly display and dynamically alert on where a chosen series falls between two bounds, either series themselves or constant values.
To set up, select between series or value for upper and lower bounds. Only the chosen options will be used by the indicator, though you may enter the non-selected option. Configure the thresholds if you wish to use them for visual display or alerting. If you only care about the background color, disable both thresholds and the percentage line and move the indicator into the main pane.
Some sample use cases:
Coloring background on a zoomed-in chart to show to show price change relative to the entire value of an asset, not just the range selected on the y-axis
Get alerts which adjust dynamically as price approaches another series or dynamic value
Determine at a glance where a price falls between your identified support/resistance lines, no matter where you zoom or scroll
Compare relative gain of two assets
Identify trends of a price closing closer to low or high over time
This indicator is often most useful in conjunction with other indicators which produce a plotted series output and can save a lot of time thinking or interpreting. Its usefulness to a trader depends entirely on the rationale for choosing a lower/upper bound and sample series that are meaningful to that trader.
Breaker Blocks Screener | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Breaker Blocks Screener! This screener can provide information about the latest breaker blocks in up to 5 tickers. You can also customize the algorithm that finds the breaker blocks and the styling of the screener.
Features of the new Breaker Blocks Screener :
Find Latest Breaker Blocks Accross 5 Tickers
Latest Status, Restests & Volume
Customizable Algoritm / Styling
📌 HOW DOES IT WORK ?
Breaker blocks form when an order block fails, or "breaks". It is often associated with market going in the opposite direction of the broken order block, and they can be spotted by following order blocks and finding the point they get broken, ie. price goes below a bullish order block.
The volume of a breaker block is simply the total volume of the bar that the original order block is broken. Often the higher the breaking bar's volume, the stronger the breaker block is.
This screener then finds breaker blocks accross 5 different tickers, and shows the latest information about them.
Status ->
Far -> The current price is far away from the breaker block.
Approaching ⬆️/⬇️ -> The current price is approaching the breaker block, and the direction it's approaching from.
Inside -> The price is currently inside the breaker block.
Retests -> Retest means the price to invalidate the breaker block, but failed to do so. Here you can see how many times the price retested the breaker block.
For the volume, check the top of the "How Does It Work" section.
🚩UNIQUENESS
This screener can detect latest breaker blocks and give information about them for up to 5 tickers. This saves the user time by showing them all in a dashboard at the same time. The screener shows the number of the retests of the breaker block as an unique trait. Another unique ability of the screener is that it shows the latest valid breaker block's volume in the dashboard.
⚙️SETTINGS
1. Tickers
You can set up to 5 tickers for the screener to scan breaker blocks here. You can also enable / disable them and set their individual timeframes.
2. General Configuration
Zone Invalidations -> Select between Wick & Close price for Order & Breaker Block Invalidation.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order blocks.
BabyShark VWAP Strategy What the code does:
This Pine Script implements a trading strategy based on two indicators: Volume Weighted Average Price (VWAP) and On Balance Volume (OBV) Relative Strength Index (RSI). The strategy aims to identify potential buy and sell signals based on deviations from VWAP and OBV RSI crossing certain threshold levels.
How it does it:
**VWAP Calculation**: The script calculates the VWAP using either standard deviation or average deviation over a specified length. It then plots the VWAP and its upper and lower deviation bands.
**OBV RSI Calculation**: It computes the OBV and then calculates the RSI using the cumulative changes in OBV. The RSI is plotted and compared against predefined levels.
**Table Visibility and Occurrence Counting**: It allows the user to display a table showing the number of occurrences where the price is above Upper Dev 2, below Lower Dev 2, crosses above a higher RSI level, or crosses below a lower RSI level.
**Entries**: Long and short entry conditions are defined based on the position of the price relative to the VWAP deviation bands and the color of the OBV RSI. Entries are made when specific conditions are met, and there hasn't been a recent entry.
**Exit Conditions**: The script includes stop-loss and take-profit mechanisms. It exits positions based on price crossing the VWAP or a certain percentage, and it prevents further trading after a certain number of consecutive losses.
What traders can use it for:
**Trend Identification**: Traders can use the VWAP and its deviation bands to identify potential trend reversals or continuations.
**Volume Confirmation**: The inclusion of OBV RSI provides confirmation of price movements based on volume changes.
**Entry and Exit Signals**: The script generates buy and sell signals based on the specified conditions, allowing traders to enter and exit positions with defined stop-loss and take-profit levels.
**Statistical Analysis**: The visibility of occurrence counts in the table allows traders to perform statistical analysis on the frequency of price movements relative to the VWAP and OBV RSI levels.
Support and Resistance ZoneSupport and Resistance Zone Indicator :
Introduction :
The purpose of this indicator is to identify the chart symbol's main supports and resistances. It displays these key zones, which are very important psychological points for traders. Since support and resistance are not very precise levels, the indicator displays them as zones.
Pivots :
Pivots are a key concept in identifying support and resistance. The indicator uses two types of pivot:
Pivot high : This is a high point that has not been reached by a user-defined number of candles on either the left and right of this candle. The " left pivot leg " is the number of candles before this pivot point that have not reached the realized high, and the " right pivot leg " is the number of candles after this pivot point that have not reached this high. If these two conditions are met, the pivot point is considered a turning point, and resistance is probably the cause.
Pivot low : This is a low point that has not been reached by a user-defined number of candles on either the left or right. The " left pivot leg " is the number of candles before this pivot point that have not reached the candle low, and the " right pivot leg " is the number of candles after this pivot point that have not reached this low. If these two conditions are met, the pivot point is considered a turning point, and support is probably the cause.
Support/Resistance area :
If a pivot point has been identified, the indicator considers it a resistance if it's a pivot high, or a support if it's a pivot low. To define the support or resistance zone, we'll use the ATR (Average True Range), an indicator that measures asset volatility. We'll take the ATR of the candle for which the pivot was spotted, and use it as the width of the support or resistance zone. Thus the upper line of support/resistance is at pivot+atr/2 and the lower line is at pivot-atr/2 . The greater the volatility, the larger the zone.
New Support/Resistance :
If a new pivot has been identified, but the level of this pivot lies between the lower line and the upper line of the previous support or resistance, the indicator considers this to be the same support or resistance as before. In this case, no new support or resistance is created. The pivot must be outside the area of the previous support or resistance to be validated.
Anticipated Support/Resistance :
This indicator also allows early detection of support or resistance. To do this, the value of the right pivot legs will be shortened in order to find these areas more quickly. The support or resistance will then be considered anticipated and may disappear at any time if the high/low is reached. On the other hand, if the high/low is not reached, and a number of candles equal to the " Right Pivot Legs" parameter has elapsed since the detection of this anticipated support/resistance, it will be considered validated and will integrate the other supports/resistances of the chart.
Extended supports/resistances :
For a more optimal view, the indicator allows the user to choose the number of last support or resistance levels to be extended to the last candle. This must be specified in the indicator parameters.
Parameters :
Pivot Legs : Determine the left and right legs of the pivot i.e the number of candle before and after the pivot that doesn’t reach pivot point. The pivot is validated only if this two conditions are verified.
Extend Last Supports : Number of supports to extend to the last bar
Extend Last Resistances : Number of resistances to extend to the last bar
Show Support/Resistance Anticipated : If yes, will find anticipated support and resistance
Right Pivot Legs for Anticipation : Determine the right legs of pivots to find faster a support or a resistance.
Conclusion :
This indicator plot support and resistance zones based on pivot. The width of support and resistance zones are calculated with ATR. Possibility to find anticipated support and resistance in order to have more timeliness informations.
Enjoy the indicator and don’t forget to take the trade ;)
Peak and Trough Tracker by Mustafa KAPUZPeak and Trough Tracker
This indicator identifies the highest and lowest prices reached in two user-defined time periods. It then draws two lines connecting these peak and trough points. The purple line represents the connection between the highest prices, while the aqua line represents the relationship between the lowest prices. Both lines extend into the future and past, providing insights into potential support and resistance levels.
How to Use:
Add the indicator to your chart.
Enter two time periods.
Analyze the lines connecting peak and trough points.
This tool helps visually understand the market's key turning points and adjust your investment strategy based on these insights.
Zirve ve Dip Noktaları İzleyici
Bu indikatör, kullanıcı tarafından belirlenen iki zaman periyodunda piyasanın ulaştığı en yüksek ve en düşük fiyatları tespit eder. Ardından, bu zirve ve dip noktalarını birleştiren iki çizgi çizer. Mor çizgi, en yüksek fiyatlar arasındaki bağlantıyı gösterirken; aqua çizgi, en düşük fiyatlar arasındaki ilişkiyi temsil eder. Her iki çizgi de geleceğe ve geçmişe doğru uzanarak, potansiyel destek ve direnç seviyeleri hakkında fikir verir.
Kullanımı:
İndikatörü grafik üzerine ekleyin.
İki zaman periyodu girin.
Zirve ve dip noktalarını birleştiren çizgilerin analizini yapın.
Bu araç, piyasanın önemli dönüm noktalarını görsel olarak anlamanıza ve yatırım stratejinizi bu bilgilere göre ayarlamanıza yardımcı olur.
Previous Day High and LowPlots previous and the day before days' high and low for all days, not just today.
AWR_WaveTrend Multitimeframe [adapted from LazyBear]I've adapted a script from Lazy Bear (WT trend oscillator)
WaveTrend Oscillator is a port of a famous TS/MT indicator.
When the oscillator (WT1 designed as a line) is above the overbought band (50 to 60) and crosses down the WT2 (dotted line), it is usually a good SELL signal. Similarly, when the oscillator crosses above the signal when below the Oversold band ( (-50 to -60)), it is a good BUY signal.
In this indicator, you can display at the same time, different time frames.
Choice possible are 1 mn, 15 mn, 30 mn, 60 mn, 120 mn, 240 mn, 1D, Week, Month.
Small time frames (1 to 30 mn) are represented by a blue lines (light to dark)
1H is in grey
2H & 4H are in purple (light to dark)
1D is in green
1W is in orange
1M is in black
You can choose which timeframes you want to display for the current period or for the last period closed.
In a few seconds, you perfectly see the selected timeframes trends.
There is also at the bottom right a table summing up all the different values of WT1, WT2 and difference between them.
Positive difference means an upside trend
Negative difference means a downside trend.
Another way of using this indicator is displaying only the difference between WT1 & WT2. It's giving the speed & the direction of all trends. Trends are our friends ...
You can observe the significent times frames and look if they are all positives or negatives or if the speed of lower timeframe cross a longer timeframe of if the speed is decreasing or increasing...
Difference values goes generaly from -20 to 20 (it can exceed a bit but really rare). 12 is already high level of speed.
Many uses possible.
In the exemple posted, I've selected WT1 and WT2 for timeframes 4H, Daily & Weekly.
Marker 1:
Orange lines (WT1) are far below - 50 (-67 here) and cross WT2 pointed lines : weekly buy signal
But this buy signal is balanced by 4H & Daily sell signal = it's marking start of hesitations of main trend !!!!
Marker 2 :
Next buy signal in 4H or daily would normaly confirm the start
Marker 3 :
Sell signal in 4H and daily but weekly has an upside trend ! Start of a counter trend in the trend. To find the perfect timing of that you have to look to lower time frames, because 4H and daily are giving many hesitations signals crossing down & crossing up many times in an overbought zone.
Marker 4 :
End of the counter trend. Most of the time, the countertrend don't go in the "over" zone. That's why if you trading in an counter trend, you have to keep it in mind.
Then a few days later you can see the sell signal. And what a sell signal ! 4H & daily are smashed down really fastly ! Trends change warning !
Marker 5
Long hesitation/change of the trend. Daily WT and 4H are below the weekly trends. Weekly start to go down.
Start of a counter trend inside the trend giving us the best selling signal at her end !
Marker 6 :
Long hesitation/change of the trend.
You have to look in lower time frames to identify the short trend. Difficult to find the best timing to get in. ....
I've add many alerts. When a time frame become positive or negative. When many time frames are positive or negative or above or below 47 level...
Please feel free to explore.
Hope it will help you.
Thanks to Lazybear ! Thousands thanks to Lazybear !
Exemple with difference