Original Keltner with Support And ResistanceThis indicator is based on the original Keltner Channels using typical price and calculating the 10 period average of high - low
Typical price = (high + low + close)/3
In this case, I've taken Typical price as (open + high + low + close)/4 on the advice of John Bollinger from his book Bollinger on Bollinger Bands.
Buy Line = 10 Period Typical Price Average + 10 Period Average of (High - Low)
Sell Line = 10 Period Typical Price Average - 10 Period Average of (High - Low)
This is the basis for the indicator. I've added the highest of the Buy Line and lowest of the Sell Line for the same period which acts as Support and Resistance.
If price is trending below the Lowest of Sell Line, take only sell trades and the Lowest Line acts as resistance.
If price is trending above the Highest of Buy Line, take only buy trades and the Highest Line acts as support.
Indicateurs et stratégies
2024 - Median High-Low % Change - Monthly, Weekly, DailyDescription:
This indicator provides a statistical overview of Bitcoin's volatility by displaying the median high-to-low percentage changes for monthly, weekly, and daily timeframes. It allows traders to visualize typical price fluctuations within each period, supporting range and volatility-based trading strategies.
How It Works:
Calculation of High-Low % Change: For each selected timeframe (monthly, weekly, and daily), the script calculates the percentage change from the high to the low price within the period.
Median Calculation: The median of these high-to-low changes is determined for each timeframe, offering a robust central measure that minimizes the impact of extreme price swings.
Table Display: At the end of the chart, the script displays a table in the top-right corner with the median values for each selected timeframe. This table is updated dynamically to show the latest data.
Usage Notes:
This script includes input options to toggle the visibility of each timeframe (monthly, weekly, and daily) in the table.
Designed to be used with Bitcoin on daily and higher timeframes for accurate statistical insights.
Ideal for traders looking to understand Bitcoin's typical volatility and adjust their strategies accordingly.
This indicator does not provide specific buy or sell signals but serves as an analytical tool for understanding volatility patterns.
Watchlist & Symbols Distribution [Daveatt]TLDR;
I got bored so I just coded the TradingView watchlist interface in Pinescript :)
TLDR 2:
Sharing it open-source what took me 1 full day to code - haven't coded in Pinescript in a long time, so I'm a bit slow for now :)
█ OVERVIEW
This script offers a comprehensive market analysis tool inspired by TradingView's native watchlist interface features.
It combines an interactive watchlist with powerful distribution visualization capabilities and a performance comparison panel.
The script was developed with a focus on providing multiple visualization methods while working within PineScript's limitations.
█ DEVELOPMENT BACKGROUND
The pie chart implementation was greatly inspired by the ( "Crypto Map Dashboard" script / )
adapting its circular visualization technique to create dynamic distribution charts. However, due to PineScript's 500-line limitation per script, I had to optimize the code to allow users to switch between pie chart analysis and performance comparison modes rather than displaying both simultaneously.
█ SETUP AND DISPLAY
For optimal visualization, users need to adjust the chart's display settings manually.
This involves:
Expanding the indicator window vertically to accommodate both the watchlist and graphical elements
Adjusting the Y-axis scale by dragging it to ensure proper spacing for the comparison panel grid
Modifying the X-axis scale to achieve the desired time window display
Fine-tuning these adjustments whenever switching between pie chart and comparison panel modes
These manual adjustments are necessary due to PineScript's limitations in controlling chart scaling programmatically. While this requires some initial setup, it allows users to customize the display to their preferred viewing proportions.
█ MAIN FEATURES
Distribution Analysis
The script provides three distinct distribution visualization modes through a pie chart.
Users can analyze their symbols by exchanges, asset types (such as Crypto, Forex, Futures), or market sectors.
If you can't see it well at first, adjust your chart scaling until it's displayed nicely.
Asset Exchanges
www.tradingview.com
Asset Types
Asset Sectors
The pie charts feature an optional 3D effect with adjustable depth and angle parameters. To enhance visual customization, four different color schemes are available: Default, Pastel, Dark, and Neon.
Each segment of the pie chart includes interactive tooltips that can be configured to show different levels of detail. Importantly, the pie chart only visualizes the distribution of selected assets (those marked with a checkmark in the watchlist), providing a focused view of the user's current interests.
Interactive Watchlist
The watchlist component displays real-time data for up to 10 user-defined symbols. Each entry shows current price, price changes (both absolute and percentage), volume metrics, and a comparison toggle.
The table is dynamically updated and features color-coded entries that correspond to their respective performance lines in the comparison chart. The watchlist serves as both an information display and a control panel for the comparison feature.
Performance Comparison
One of the script's most innovative features is its performance comparison panel.
Using polylines for smooth visualization, it tracks the 30-day performance of selected symbols relative to a 0% baseline.
The comparison chart includes a sophisticated grid system with 5% intervals and a dynamic legend showing current performance values.
The polyline implementation allows for fluid, continuous lines that accurately represent price movements, providing a more refined visual experience than traditional line plots. Like the pie charts, the comparison panel only displays performance lines for symbols that have been selected in the watchlist, allowing users to focus on their specific assets of interest.
█ TECHNICAL IMPLEMENTATION
The script utilizes several advanced PineScript features:
Dynamic array management for symbol tracking
Polyline-based charting for smooth performance visualization
Real-time data processing with security calls
Interactive tooltips and labels
Optimized drawing routines to maintain performance
Selective visualization based on user choices
█ CUSTOMIZATION
Users can personalize almost every aspect of the script:
Symbol selection and comparison preferences
Visual theme selection with four distinct color schemes
Pie chart dimensions and positioning
Tooltip information density
Component visibility toggles
█ LIMITATIONS
The primary limitation stems from PineScript's 500-line restriction per script.
This constraint necessitated the implementation of a mode-switching system between pie charts and the comparison panel, as displaying both simultaneously would exceed the line limit. Additionally, the script relies on manual chart scale adjustments, as PineScript doesn't provide direct control over chart scaling when overlay=false is enabled.
However, these limitations led to a more focused and efficient design approach that gives users control over their viewing experience.
█ CONCLUSION
All those tools exist in the native TradingView watchlist interface and they're better than what I just did.
However, now it exists in Pinescript... so I believe it's a win lol :)
David_candle length with average and candle directionThis indicator,
calculates the difference between the highest and lowest price (High-Low difference) for a specified number of periods and displays it in a table. Here are the functions and details included:
Number of Periods: The user can define the number of periods (e.g., 10) for which the High-Low differences are calculated.
Table Position: The position of the table that displays the results can be selected by the user (top left, top right, bottom left, or bottom right).
High-Low Difference per Candle: For each defined period, the difference between the highest and lowest price of the respective candle is calculated.
Candle Direction: The color of the displayed text in the table changes based on the candle direction:
Green for bullish candles (close price higher than open price).
Red for bearish candles (close price lower than open price).
White for neutral candles (close price equal to open price).
Average: Below the High-Low differences, the average value of the calculated differences is displayed in yellow text.
This indicator is useful for visually analyzing the volatility and movement range within the recent candles by highlighting the average High-Low difference.
Zones by RajeshThis T "Zones by Rajesh," creates a visual representation of high and low zones based on the Average Daily Range (ADR) for the past 5 and 10 days. This script can be useful for identifying potential support and resistance zones around the opening price for each trading day.
How to Use the Indicator:
Identify Support and Resistance Zones:
The filled zones visually show where the price might find support (green) or resistance (red) based on historical price action over the last 5 and 10 days.
Trading Strategies:
Range Bound Trading: When prices enter the filled zones, it can be a signal that price may encounter support or resistance.
Breakout Signals: Price breaking above or below these zones can indicate potential for a continued trend in that direction.
Risk Management:
The zones offer a reference for setting stop-loss and take-profit levels, as the ADR gives a statistically calculated boundary based on recent price movement.
This indicator is versatile for intraday trading setups, particularly for identifying potential reversal or breakout zones around the day's opening price.
Previous Highs + Lows by HAZED📈 Introducing: Previous Highs + Lows by H A Z E D 📉
✨ Overview
Get a clear view of market levels with Previous Highs + Lows v1.0! This indicator lets you track critical previous highs and lows across multiple timeframes, marking them directly on your chart for an intuitive view of support and resistance zones. Whether you’re analyzing breakouts or looking for reversal levels, these indicators provide essential context to refine your trades.
🛠️ Key Features
Multiple Timeframes Supported
Toggle on previous highs and lows for daily, weekly, monthly, 4-hour, and 1-hour charts to match your analysis style.
Customizable Labels
Choose label sizes from “tiny” to “huge,” adjust the opacity to blend seamlessly with your chart, and customize text color for optimal readability.
Label Position Control
Avoid overlap with a flexible label offset feature, allowing for 10 adjustable increments to fit your preference and chart layout.
Clear Visual Cues
Labels use icons to differentiate high (⬆️) and low (⬇️) levels at a glance, providing a straightforward way to interpret key price areas.
Instant Alerts for Key Levels
Receive alerts when the price crosses over previous high levels, keeping you informed about potential breakout zones without constant chart-watching.
🚀 How to Use
Identify Key Levels: Quickly locate significant highs and lows from previous periods to define your support and resistance zones.
Set Alerts: Stay updated on market moves with built-in alerts when prices cross these critical levels.
Customize Your View: Use the various options to make this indicator uniquely yours – adjust label size, color, opacity, and position.
🔔 Why Use Previous Highs + Lows v1.0?
Enhanced visibility of critical levels saves you time by giving you a structured view of price action.
Customization features let you adapt the indicator to your personal style and chart setup.
Flexible alerts mean you can focus on other tasks without missing important price movements.
🔗 License: Mozilla Public License 2.0
© H A Z E D, 11/4/2024
Heikin Ashi Buy-Sell Signals [Non-Repainting] @TradingadeThis is a basic indicator that displays Heikin Ashi candles in a simple format. Key features include:
- Unlike most other Heikin Ashi indicators, this one does not repaint, which is crucial when building strategies based on indicators.
- It generates Buy & Sell signals based on consecutive candles of the same color:
BUY Signal: Triggered when there are at least x green candles in a row (adjustable in settings).
SELL Signal: Triggered when there are at least x red candles in a row (also adjustable in settings).
Multiple Signal Option: If activated, the indicator will continue generating signals after the buy or sell condition is met, until a candle of the opposite color appears.
The Buy & Sell signals are shown both in the indicator and on your chart. You can turn them on or off in the style section.
You can set alerts when buy or sell signals are generated.
Horizontal Lines at Custom IntervalsThis Pine Script indicator, "Horizontal Lines at Custom Intervals," is a versatile tool designed to help traders visualize key price levels at regular intervals above and below a specified starting price. It is particularly useful for identifying support and resistance zones, psychological price levels, or potential entry and exit points around a central price reference.
Customizable Starting Price**: Set a central price around which the lines will be drawn, such as a current asset price, pivot level, or significant historical level.
- **Adjustable Intervals and Range**: Choose the interval distance (in points) between each horizontal line, as well as the total range above and below the starting price. This flexibility allows the indicator to adapt to different asset classes and timeframes.
- **Full Chart Extensions**: Each line is set to extend across the entire chart, providing a clear, continuous visual reference that spans both past and future price action.
- **Editable Line Style, Width, and Color**: Personalize the appearance of the lines with selectable color, width, and style options (Solid, Dotted, Dashed), enabling the indicator to match your charting preferences and visual style.
### Applications:
1. **Support and Resistance Identification**: Traders can use the evenly spaced lines to identify potential support and resistance zones around the starting price, helping to mark areas of interest where price may react.
2. **Psychological Levels**: Round-number levels often hold psychological significance in trading. By setting intervals to common round numbers, this indicator can help identify these critical levels.
3. **Scalping and Range Trading**: This tool is especially valuable in range-bound markets, where repeated price action within defined levels allows traders to buy and sell around predictable zones.
4. **Trend Reversal and Breakout Signals**: In trending markets, observing how price interacts with these levels can offer insights into possible breakouts or trend reversals.
### Example Use Case:
For instance, if BankNifty is trading around 51,130, you can set this as the starting price. With 50-point intervals and a range of 1,000 points, the indicator will plot lines at 50-point increments both above and below 51,130, covering a total range of 2,000 points. This setup provides clear visual cues for potential price reaction zones as the asset moves through different price levels.
This indicator is a simple yet powerful addition to any trader’s toolkit, offering a structured approach to analyzing price levels and making informed trading decisions.
Global OECD CLI Diffusion Index YoY vs MoMThe Global OECD Composite Leading Indicators (CLI) Diffusion Index is used to gauge the health and directional momentum of the global economy and anticipate changes in economic conditions. It usually leads turning points in the economy by 6 - 9 months.
How to read: Above 50% signals economic expansion across the included countries. Below 50% signals economic contraction.
The diffusion index component specifically shows the proportion of countries with positive economic growth signals compared to those with negative or neutral signals.
The OECD CLI aggregates data from several leading economic indicators including order books, building permits, and consumer and business sentiment. It tracks the economic momentum and turning points in the business cycle across 38 OECD member countries and several other Non-OECD member countries.
Trend Continuation RatioThis TradingView indicator calculates the likelihood of consecutive bullish or bearish days over a specified period, giving insights into day-to-day continuation patterns within the market.
How It Works
Period Length Input:
The user sets the period length (e.g., 20 days) to analyze.
After each period, the counts reset, allowing fresh data for each new interval.
Bullish and Bearish Day Definitions:
A day is considered bullish if the closing price is higher than the opening price.
A day is considered bearish if the closing price is lower than the opening price.
Count Tracking:
Within each specified period, the indicator tracks:
Total Bullish Days: The number of days where the close is greater than the open.
Total Bearish Days: The number of days where the close is less than the open.
Bullish to Bullish Continuations: Counts each instance where a bullish day is followed by another bullish day.
Bearish to Bearish Continuations: Counts each instance where a bearish day is followed by another bearish day.
Calculating Continuation Ratios:
The Bullish Continuation Ratio is calculated as the percentage of bullish days that were followed by another bullish day:
Bullish Continuation Ratio = (Bullish to Bullish Continuations /Total Bullish Days)×100
Bullish Continuation Ratio=( Total Bullish Days/Bullish to Bullish Continuations )×100
The Bearish Continuation Ratio is the percentage of bearish days followed by another bearish day:
Bearish Continuation Ratio = (Bearish to Bearish Continuations/Total Bearish Days)×100
Bearish Continuation Ratio=( Total Bearish Days/Bearish to Bearish Continuations )×100
Display on Chart:
The indicator displays a table in the top-right corner of the chart with:
Bullish Continuation Ratio (%): Percentage of bullish days that led to another bullish day within the period.
Bearish Continuation Ratio (%): Percentage of bearish days that led to another bearish day within the period.
Usage Insights
High Ratios: If the bullish or bearish continuation ratio is high, it suggests a trend where bullish/bearish days often lead to similar days, indicating possible momentum.
Low Ratios: Low continuation ratios indicate frequent reversals, which could suggest a range-bound or volatile market.
This indicator is helpful for assessing short-term trend continuation tendencies, allowing traders to gauge whether they are more likely to see follow-through on bullish or bearish days within a chosen timeframe.
M2 Money Supply vs SPY SpreadSpread between M2 Money Supply and SPY, with Bollinger bands to see when it has become overextended in either direction.
Average Up and Down Candles Streak with Predicted Next CandleThis indicator is designed to analyze price trends by examining the patterns of up and down streaks (consecutive bullish or bearish candles) over a defined period. It uses this data to provide insights on whether the next candle is likely to be bullish or bearish, and it visually displays relevant information on the chart.
Here’s a breakdown of what the indicator does:
1. Inputs and Parameters
Period (Candles): Defines the number of candles used to calculate the average length of bullish and bearish streaks. For example, if the period is set to 20, the indicator will analyze the past 20 candles to determine average up and down streak lengths.
Bullish/Bearish Bias Signal Toggle: These options allow users to show or hide visual signals (green or red circles) when there’s a bullish or bearish bias in the trend based on the indicator’s calculations.
2. Streak Calculation
The indicator looks at each candle within the period to identify if it closed up (bullish) or down (bearish).
Up Streak: The indicator counts consecutive bullish candles. When there’s a bearish candle, it resets the up streak count.
Down Streak: Similarly, it counts consecutive bearish candles and resets when a bullish candle appears.
Averages: Over the defined period, the indicator calculates the average length of up streaks and average length of down streaks. This provides a baseline to assess whether the current streak is typical or extended.
3. Current and Average Streak Display
The indicator displays the current up and down streak lengths alongside the average streak lengths for comparison. This data appears in a table on the chart, allowing you to see at a glance:
The current streak length (for both up and down trends)
The average streak length for up and down trends over the chosen period
4. Trend Prediction for the Next Candle
Next Candle Prediction: Based on the current streak and its comparison to the average, the indicator predicts the likely direction of the next candle:
Bullish: If the current up streak is shorter than the average up streak, suggesting that the bullish trend could continue.
Bearish: If the current down streak is shorter than the average down streak, indicating that the bearish trend may continue.
Neutral: If the current streak length is near the average, which could signal an upcoming reversal.
This prediction appears in a table on the chart, labeled as “Next Candle.”
5. Previous Candle Analysis
The Previous Candle entry in the table reflects the last completed candle (directly before the current candle) to show whether it was bullish, bearish, or neutral.
This data gives a reference point for recent price action and helps validate the next candle prediction.
6. Visual Signals and Reversal Zones
Bullish/Bearish Bias Signals: The indicator can plot green circles on bullish bias and red circles on bearish bias to highlight points where the trend is likely to continue.
Reversal Zones: If the current streak length reaches or exceeds the average, it suggests the trend may be overextended, indicating a potential reversal zone. The indicator highlights these zones with shaded backgrounds (green for possible bullish reversal, red for bearish) on the chart.
Summary of What You See on the Chart
Bullish and Bearish Bias Signals: Green or red circles mark areas of expected continuation in the trend.
Reversal Zones: Shaded areas in red or green suggest that the trend might be about to reverse.
Tables:
The Next Candle prediction table displays the trend direction of the previous candle and the likely trend of the next candle.
The Streak Information table shows the current up and down streak lengths, along with their averages for easy comparison.
Practical Use
This indicator is helpful for traders aiming to understand trend momentum and potential reversals based on historical patterns. It’s particularly useful for swing trading, where knowing the typical length of bullish or bearish trends can help in timing entries and exits.
Distance Indicator:52W H/L,MA,ADR%Description:
This indicator provides key metrics for analyzing the market's distance from significant levels. It includes options to display the distance in percentage terms from:
52-Week High and Low: Shows how far the current close price is from the highest and lowest price over the past 52 weeks.
Selected Moving Averages (MA): Tracks the distance of the current close from multiple moving averages (10, 21, 30, 50 periods), with an option to choose either EMA or SMA. This allows traders to quickly gauge momentum relative to short and long-term trends.
Average Daily Range (ADR%): Calculates the average daily range (high minus low) over the past 14 days as a percentage of the current close, helping to understand recent volatility.
3-Month Move: Tracks the percentage distance from the lowest price of the past 3 months to the current close.
Customization Options:
Include/Exclude Plots: Turn each indicator on or off as needed.
Color and Transparency: Customizable colors and transparency levels for each plot for easy visualization.
MA Type Selection: Choose between SMA or EMA for moving averages to suit trading preferences.
Note: All calculations are based on the daily timeframe, ensuring consistent and reliable values regardless of the chart’s selected timeframe.
VPA Volume Price AverageDescription:
This indicator displays a moving average of volume and its signal line in a separate pane, with conditional highlighting to help interpret buyer and seller pressure. It’s based on two main lines:
Volume Moving Average (red line) : represents the average volume calculated over a configurable number of periods.
Signal Line of the Volume Moving Average (blue line): this is an average of the volume moving average itself, used as a reference for volume trends.
Key Features
Volume Moving Average with Conditional Highlighting:
The volume moving average is plotted as a red line and changes color based on two specific conditions:
The closing price is above its moving average, calculated over a configurable number of periods, indicating a bullish trend.
The volume moving average is greater than the signal line, suggesting an increase in buyer pressure.
When both conditions are met, the volume moving average turns green. If one or both conditions are not met, the line remains red.
Signal Line of the Volume Moving Average:
The signal line is plotted in blue and represents a smoothed version of the volume moving average, useful for identifying long-term volume trends and as a reference for the highlighting condition.
Customizable Periods
The indicator allows you to set the periods for each average to adapt to different timeframes and desired sensitivity:
Period for calculating the volume moving average.
Period for calculating the signal line of the volume moving average.
Period for the price moving average (used in the highlighting condition).
How to Use
This indicator is especially useful for monitoring volume dynamics in detail, with a visual system that highlights conditions of increasing buyer strength when the price is in an uptrend. The green highlight on the volume moving average provides an intuitive signal for identifying potential moments of buyer support.
Try it to gain a clearer and more focused view of volume behavior relative to price movement!
Price Move Exceed % Threshold & BE Evaluation1Handy to see history or quick back test of moves. Enter a decimal for percentage wanted and choose the time frame wanted . The occurrences of the up or down threshold are plotted in the panel as maroon or green squares and can be read as red or green text in the panel data and on the right hand scale . The last number in the panel is the average move for the chosen period.
My usage is mostly to see what % has been exceeded for break even prices of option trades. Example: in SPY a spread has a break even of 567 when the price is 570; I get the percentage of the $3 move by dividing 3/570 to get 0.0526 ; the results show as described above.
MMAPMarket Maker Aggression & Panic
Here's how it works:
Bollinger Bands: The script calculates and plots the Bollinger Bands, which helps you identify potential aggressive buying or panic selling when the price breaks above or below the bands.
Volume Analysis: It checks for volume spikes compared to the average volume over a specified period. If the volume exceeds a defined threshold, the background color changes to orange, indicating a potential market maker reaction.
Alerts: Alerts are set for volume spikes, aggressive buying (when the price breaks above the upper Bollinger Band), and panic selling (when it drops below the lower Bollinger Band).
Feel free to customize the parameters to fit your trading style!
Pritesh-Intraday This script is a customized TradingView indicator designed to identify potential intraday buy and sell opportunities using a combination of technical indicators and filters to enhance signal quality. It leverages multiple parameters and timeframes to assess market momentum, trend strength, and volume conditions, aiming to capture price swings during the day. Key features include:
1. **Multi-Timeframe Analysis**: Core signals, such as RSI, SMA, EMA, and ADX, are calculated on a 5-minute timeframe to enhance short-term trend detection.
2. **RSI and ADX Conditions**: Buy signals are generated when the short-term moving average is above the long-term moving average, the RSI is over 60, and ADX exceeds a set threshold, indicating a strong upward trend. Sell signals follow the opposite conditions with a lower RSI threshold. This combination helps validate signal strength based on price momentum.
3. **Stochastic and Volume Filters**: Optional volume and stochastic filters reduce noise by checking for high-volume conditions and avoiding overbought/oversold levels, making signals more reliable.
4. **Trend Confirmation with EMA**: A long-term EMA filter aligns entries with the prevailing trend, minimizing counter-trend signals and improving signal accuracy in trending markets.
5. **In-Position State Management**: The indicator tracks whether it’s currently "in position," ensuring that only one active signal—either buy or sell—is followed at a time, with appropriate exit conditions for each position.
6. **Custom Exit Logic**: Exit points for buy and sell positions are triggered by a trend reversal, declining RSI, or stochastic levels, optimizing the entry and exit timing for each trade.
7. **Visual Signals and Plotting**: The script includes buy and sell markers, along with the plotted short- and long-term SMAs, EMA, ADX, and stochastic levels, allowing easy visual confirmation of conditions and signal points on the chart.
RTI Thresholds Index | mad_tiger_slayerOverview of the Script
The Relative Trend Index (RTI) Threshold Index is a custom indicator for TradingView that enhances a Relative Trend Index (RTI) . The RTI is designed to reflect the market’s trend strength by comparing the current price to dynamically calculated upper and lower trend boundaries. Additionally, the indicator includes overbought and oversold thresholds, and Trend-coded signals to visually represent market conditions for easier analysis. The RTI Threshold Index is created and meant for long term investments targeted for longer swing trades over a few months to years.
How Do Investors Use the RTI Trend Index?
In the provided chart image, the indicator is displayed on a Bitcoin price chart. Here’s what each visual component represents:
INTENDED USES
The RTI Threshold Index is NOT intended for SCALPING.
With the nature of its components and calculations. This indicator will give false signals when the Timeframe is too low. The best intended use for high-quality signals are above the 12hr timeframes (Note: Coded to be used above 1 Day Timeframes)
The RTI Threshold Index is a TREND-FOLLOWING and MEAN REVERTING INDICATOR . With the explanation below of the image you can see both Trend-Following and Mean Reversion Uses.
A VISUAL REPRESENTATION INTENDED USES
Relative Trend Index Line (Green/Red): The main RTI line changes colors based on long or short conditions, providing an immediate visual cue of the trend direction. This conditional state enter long when the RTI is greater than the long threshold and will not enter short until it is less than the short threshold. (vice versa) When the RTI is less than the short threshold and will not enter long until it is greater than the long threshold.
EMA of RTI: A smoothed version of the RTI in yellow for more stable trend analysis. This EMA can be used for LONGER TERM trends. When the smoothed RTI is above 50, investors can assume that the trend will be in a trending state. Because this is slower than the RTI, you will get slower entries and slower exits.
Threshold Lines: Green and red lines for long and short thresholds, along with dashed lines for overbought and oversold levels. These lines can be calibrated to allow the RTI to enter a long trending or short trending state. The lower the value is for Long Threshold line , it will enter a long trend faster. The higher the value for Short Threshold Line , it will exit faster. We can also set Overbought and Oversold Thresholds. With the RTI entering above the Overbought Threshold line, Investors can assume that the environment is getting heated or is overbought. Same for oversold with the RTI entering below the Oversold Threshold line, Investors can assume that the environment is getting heated or is overbought.
Gradient Background: Shaded overbought and oversold areas improve readability by distinguishing these zones. This coloring of the shaded area tells us the oversold and overbought levels.
Colored Candles: Candles change color based on the RTI condition, aligning the price action visually with the trend status. The Green symbolizes a long state while red symbolizes a short state.
__________________________________________________________________________________
The indicator's primary elements include:
Input Parameters: Configurable settings for trend length, sensitivity, moving average (MA) period, thresholds, and overbought/oversold levels.
RTI Calculation: Computation of trend boundaries and the RTI value based on the price's position within these boundaries.
Visual Components: Horizontal threshold lines, plotted RTI values, color-coded candles, and gradient fills for overbought and oversold zones.
1. Input Parameters
The script includes several configurable inputs, allowing users to customize the indicator’s sensitivity and behavior according to market conditions:
Trend Length: Controls the number of data points for trend calculations. Higher values produce a smoother, less responsive trend, while lower values make the trend more sensitive to recent price changes.
Trend Sensitivity: Sets the sensitivity by defining the upper and lower percentiles for the trend boundaries. Higher sensitivity values make the RTI less reactive, while lower values increase responsiveness.
MA length: Defines the period for the Exponential Moving Average (EMA) applied to the RTI, smoothing its output.
longThreshold and shortThreshold: Set the levels for entering long and short positions. The RTI crossing above longThreshold or below shortThreshold signals a long or short condition, respectively.
Overbought and oversold thresholds: When RTI exceeds overbought or falls below oversold, it indicates overbought or oversold market conditions.
2. Relative Trend Index (RTI) Calculation
The RTI is calculated by dynamically setting upper and lower trend boundaries:
Upper Trend and Lower Trend: Calculated by adding and subtracting the standard deviation of the closing price to/from the close, providing a measure of price variation.
upper array and Lower Arrays : Arrays that hold the upper and lower trend values over the specified trend length period.
Sorting and Indexing: After sorting these arrays, the values at specific percentiles (based on trend sensitivity) are selected as UpperTrend and LowerTrend.
RTI formula: The RTI is calculated by normalizing the close price within the range of UpperTrend and LowerTrend. This yields a percentage that reflects the price's relative position within the trend range.
3. Threshold and Signal Lines
Several horizontal lines mark key threshold levels:
midline: A dashed line at 50, marking the RTI midpoint.
overbought and oversold: Dashed lines for the overbought and oversold levels as set by overbought and oversold.
long hline and short hline: Solid lines marking the longThreshold and shortThreshold levels for entering long and short trades. They are colored Green for long threshold and Red for short threshold
4. Long and Short Conditions
The script defines long and short conditions based on the RTI’s position relative to the longThreshold and shortThreshold:
isLong: Set to true when the RTI exceeds longThreshold, signaling a long condition.
isShort: Set to true when the RTI drops below shortThreshold, signaling a short condition. overboughtcandles and oversoldcandles: Boolean variables that indicate when the RTI crosses the overbought or oversold thresholds, enhancing visual feedback.
5. Color Coding
Color-coded elements help to visually indicate the RTI's current state:
rtiColor: Sets the RTI line color based on the long or short condition (green for long, red for short).
obosColor: Colors specific candles in the overbought (yellow) and oversold (purple) regions, adding clarity to these conditions.
6. Plotting and Visualization
The following components display the RTI indicator and its conditions visually:
RTI and EMA Plot: The RTI line is plotted alongside an EMA line for smooth trend observation. The RTI line uses the conditional colors to indicate market conditions.
Background Gradient Fill: Shaded areas between the overbought and oversold levels highlight these zones in the background.
Colored Candles: Candles on the price chart are color-coded based on the RTI condition (green for long, red for short), making it easy to see trend direction changes.
Overbought and Oversold Gradient Fill: Gradient fills are applied to the overbought and oversold regions, creating a visual effect when the RTI reaches extreme levels.
Conclusion
The RTI Threshold Indicator is a powerful tool for assessing trend strength and market conditions. With configurable parameters, it adapts well to various timeframes and market environments, providing investors with a reliable means to identify potential entry and exit points. With configurable parameters, RTI Threshold Indicator can identify market conditions for potential buy and sell zones.
Half Trend Regression [AlgoAlpha]Introducing the Half Trend Regression indicator by AlgoAlpha, a cutting-edge tool designed to provide traders with precise trend detection and reversal signals. This indicator uniquely combines linear regression analysis with ATR-based channel offsets to deliver a dynamic view of market trends. Ideal for traders looking to integrate statistical methods into their analysis to improve trade timing and decision-making.
Key Features
🎨 Customizable Appearance : Adjust colors for bullish (green) and bearish (red) trends to match your charting preferences.
🔧 Flexible Parameters : Configure amplitude, channel deviation, and linear regression length to tailor the indicator to different time frames and trading styles.
📈 Dynamic Trend Line : Utilizes linear regression of high, low, and close prices to calculate a trend line that adapts to market movements.
🚀 Trend Direction Signals : Provides clear visual signals for potential trend reversals with plotted arrows on the chart.
📊 Adaptive Channels : Incorporates ATR-based channel offsets to account for market volatility and highlight potential support and resistance zones.
🔔 Alerts : Set up alerts for bullish or bearish trend changes to stay informed of market shifts in real-time.
How to Use
🛠 Add the Indicator : Add the Half Trend Regression indicator to your chart from the TradingView library. Access the settings to customize parameters such as amplitude, channel deviation, and linear regression length to suit your trading strategy.
📊 Analyze the Trend : Observe the plotted trend line and the filled areas under it. A green fill indicates a bullish trend, while a red fill indicates a bearish trend.
🔔 Set Alerts : Use the built-in alert conditions to receive notifications when a trend reversal is detected, allowing you to react promptly to market changes.
How It Works
The Half Trend Regression indicator calculates linear regression lines for the high, low, and close prices over a specified period to determine the general direction of the market. It then computes moving averages and identifies the highest and lowest points within these regression lines to establish a dynamic trend line. The trend direction is determined by comparing the moving averages and previous price levels, updating as new data becomes available. To account for market volatility, the indicator calculates channels above and below the trend line, offset by a multiple of half the Average True Range (ATR). These channels help visualize potential support and resistance zones. The area under the trend line is filled with color corresponding to the current trend direction—green for bullish and red for bearish. When the trend direction changes, the indicator plots arrows on the chart to signal a potential reversal, and alerts can be set up to notify you. By integrating linear regression and ATR-based channels, the indicator provides a comprehensive view of market trends and potential reversal points, aiding traders in making informed decisions.
Enhance your trading strategy with the Half Trend Regression indicator by AlgoAlpha and gain a statistical edge in the markets! 🌟📊
Multi-Timeframe Supertrend Dashboard - EnhancedOverview
The Multi-Timeframe Supertrend Dashboard is a powerful tool designed to give traders a clear view of market trends across multiple timeframes, all from a single dashboard. This indicator leverages the Supertrend method to calculate buy and sell signals based on the direction of price relative to dynamically calculated support and resistance lines. The dashboard is optimized for dark mode and provides easy-to-interpret color-coded signals for each timeframe.
How It Works
The Supertrend indicator is a trend-following indicator that uses the Average True Range (ATR) to set upper and lower bands around the price, adapting dynamically as volatility changes. When the price is above the Supertrend line, the market is considered in an uptrend, triggering a "BUY" signal. Conversely, when the price falls below the Supertrend line, the market is in a downtrend, triggering a "SELL" signal.
This Multi-Timeframe Supertrend Dashboard calculates Supertrend signals for the following timeframes:
1 minute
5 minutes
15 minutes
1 hour
Daily
Weekly
Monthly
For each timeframe, the dashboard shows either a "BUY" or "SELL" signal, allowing traders to assess whether trends align across timeframes. A "BUY" signal displays in green, and a "SELL" signal displays in red, giving a quick visual reference of the overall trend direction for each timeframe.
Customization Options
ATR Period: Defines the period for the Average True Range (ATR) calculation, which determines how responsive the Supertrend lines are to changes in market volatility.
Multiplier: Sets the sensitivity of the Supertrend bands to price movements. Higher values make the bands less sensitive, while lower values increase sensitivity, allowing quicker reactions to changes in price.
How to Interpret the Dashboard
The Multi-Timeframe Supertrend Dashboard allows traders to see at a glance if trends across multiple timeframes are aligned. Here’s how to interpret the signals:
BUY (Green): The current timeframe’s price is in an uptrend based on the Supertrend calculation.
SELL (Red): The current timeframe’s price is in a downtrend based on the Supertrend calculation.
For example:
If all timeframes display "BUY," the asset is in a strong uptrend across multiple time horizons, which may indicate a bullish market.
If all timeframes display "SELL," the asset is likely in a strong downtrend, signaling a bearish market.
Mixed signals across timeframes suggest market consolidation or differing trends across short- and long-term periods.
Use Cases
Trend Confirmation: Use the dashboard to confirm trends across multiple timeframes before entering or exiting a position.
Quick Market Analysis: Get a snapshot of market conditions across timeframes without having to change charts.
Multi-Timeframe Alignment: Identify alignment across timeframes, which is often a strong indicator of market momentum in one direction.
Dark Mode Optimization
The dashboard has been optimized for dark mode, with white text and contrasting background colors to ensure easy readability on darker TradingView themes.
Weekly Range & Trend (Signed)Weekly Trend & Range is basically calculated every week.
It helps to get a broad idea whether coming week market can be directional , volatile or range bound action. So this helps me to get a hint which style of approach should be given more important on positional basis like directional or non-directional.
I mostly track in NSE:BANKNIFTY , NSE:NIFTY , BSE:SENSEX
For example:
Average range difference of past 4 weeks is bigger in compare to current week range difference means good chance for directional opportunities.
Average range difference of past 4 weeks is lesser in compare to current week range difference means good chance for non-directional opportunities.
Directional or Non-directional hint is been shown in terms of probability . So based on this i plan my week and trades.
Implied Fair Value Gap (IFVG) ICT [TradingFinder] Hidden FVG OTE🔵 Introduction
The Implied Fair Value Gap (IFVG) is distinctive due to its unique three-candlestick formation, which differentiates it from conventional Fair Value Gaps.
Implied fair value represents an estimated worth of an asset—often a business or its goodwill—based on the price likely to be received in a structured transaction between market participants at a specific point in time.
In the ever-evolving world of technical analysis, pinpointing price reversal points and market anomalies can significantly enhance trading strategies and decision-making for traders and investors. Among the advanced concepts gaining traction in this field is the Implied Fair Value Gap (IFVG), introduced by the renowned analyst Inner Circle Trader (ICT).
This tool has proven to be an effective method for identifying hidden supply and demand zones in financial markets, offering a unique edge to traders looking for high-probability setups.
Unlike traditional gaps that are visible on price charts, IFVG is a hidden gap that doesn’t appear explicitly on the chart and thus requires specialized technical analysis tools for accurate identification.
This hidden gap can signal potential price reversals and offers traders insight into high-liquidity areas where price is likely to react. This article will guide you through using the ICT Implied Fair Value Gap Indicator effectively, covering its settings, usage strategies, and key features to help you make informed decisions in the market.
🟣 Bullish Implied FVG
🟣 Bearish Implied FVG
🔵 How to Use
The IFVG indicator is designed to assist traders in recognizing hidden support and resistance zones by identifying Bullish and Bearish IFVG patterns. With this tool, traders can make better-informed decisions about suitable entry and exit points for their trades based on these patterns.
🟣 Bullish Implied Fair Value Gap
This pattern occurs in an uptrend when a large bullish candlestick forms, with the wicks of the previous and following candles overlapping the body of the central candlestick.
This overlap creates a demand zone or a hidden support level, which can act as an ideal entry point for buy trades. Often, when the price returns to this area, it is likely to resume its upward trend, presenting a profitable buying opportunity.
🟣 Bearish Implied Fair Value Gap
This pattern is similar but forms in downtrends. Here, a large bearish candlestick appears on the chart, with the wicks of adjacent candles overlapping its body. This overlap defines a supply zone or a hidden resistance level and serves as a signal for potential sell trades.
When the price returns to this zone, it often continues its downward trend, providing an optimal point for entering sell trades.
The IFVG indicator also includes various filters that traders can use to refine their analysis based on market conditions. These filters, including Very Aggressive, Aggressive, Defensive, and Very Defensive, allow users to customize the IFVG zones' width, offering flexibility according to the trader’s risk tolerance and trading style.
🟣 Example Trading Scenarios
Suppose you’re in a strong uptrend and the IFVG indicator identifies a Bullish IFVG zone. In this scenario, you could consider entering a buy trade when the price retraces to this zone, expecting the uptrend to resume. Conversely, in a downtrend, a Bearish IFVG zone can signal a favorable entry point for short trades when the price revisits this area.
🔵 Settings
Implied Block Validity Period: This parameter specifies the validity period of each identified block, taking into account the number of bars that have passed since its formation. Proper adjustment of this period helps traders focus only on relevant zones, increasing the accuracy of the analysis.
Mitigation Level OB : This option defines the mitigation level for supply and demand blocks (Order Blocks), with settings including Proximal, 50% OB, and Distal.
Depending on the selected level, the indicator will focus on closer, mid-range, or farther points for block identification, allowing traders to adjust for the level of precision required.
Implied Filter : Activating this filter allows traders to apply conditions based on the width of the IFVG zones. With options like Very Aggressive and Very Defensive, traders can control the width of IFVG zones to suit their risk management strategy—whether they prefer high-risk setups or low-risk setups.
Display and Color Settings : This section enables users to customize the appearance of the IFVG zones on their charts. Traders can set different colors for Bullish and Bearish zones, allowing for easier distinction and improved visualization.
Alert Settings : One of the standout features of the IFVG indicator is the alert system. By setting up alerts, users can be notified whenever the price approaches a demand or supply zone.
Alerts can be customized to trigger Once Per Bar (one alert per bar) or Per Bar Close (alert at the close of each bar), ensuring that traders stay updated on critical price movements without needing to monitor the chart continuously.
🔵 Conclusion
The ICT Implied Fair Value Gap (IFVG) indicator is a powerful and sophisticated tool in technical analysis, allowing professional traders to identify hidden supply and demand zones and use them as entry and exit points for buy and sell trades.
This indicator’s automatic detection of IFVG zones helps traders uncover hidden trading opportunities that can enhance their analysis.
While the IFVG indicator offers numerous advantages, it is important to use it in conjunction with other technical analysis tools and sound risk management practices.
IFVG alone does not guarantee profitability in trading; it works best when combined with other indicators such as volume analysis and trend-following indicators for a comprehensive trading strategy.
Globex Trap ZoneGlobex Trap Indicator
A powerful tool designed to identify potential trading opportunities by analyzing the relationship between Globex session ranges and Supply & Demand zones during regular trading hours.
Key Features
Tracks and visualizes Globex session price ranges
Identifies key Supply & Demand zones during regular trading hours
Highlights potential trap areas where price might experience significant reactions
Fully customizable time ranges and visual settings
Clear labeling of Globex highs and lows
How It Works
The indicator tracks two key periods:
Globex Session (Default: 6:00 PM - 9:30 AM)
Monitors overnight price action
Marks session high and low
Helps identify potential range breakouts
Supply & Demand Zone (Default: 8:00 AM - 11:00 AM)
Tracks price action during key market hours
Identifies potential reaction zones
Helps spot institutional trading areas
Best Practices for Using This Indicator
Use on 1-hour timeframe or lower for optimal visualization
Best suited for futures and other instruments traded during Globex sessions
Pay attention to areas where Globex range and Supply/Demand zones overlap
Use in conjunction with your existing trading strategy for confirmation
Recommended minimum of 10 days of historical data for context
Settings Explanation
Globex Session: Customizable time range for overnight trading session
Supply & Demand Zone: Adjustable time range for regular trading hours
Days to Look Back: Number of historical days to display (default: 10)
Visual Settings: Customizable colors and transparency for both zones
Important Notes
All times are based on exchange timezone
The indicator respects overnight sessions and properly handles timezone transitions
Historical data requirements: Minimum 10 days recommended
Performance impact: Optimized for smooth operation with minimal resource usage
Disclaimer
Past performance is not indicative of future results. This indicator is designed to be used as part of a comprehensive trading strategy and should not be relied upon as the sole basis for trading decisions.
Updates and Support
I actively maintain this indicator and welcome feedback from the trading community. Please feel free to leave comments or suggestions for improvements.