13W High/Low/Fibs w/100D SMAIndicator: 13 Week High/100 Day SMA/13 Week Low with 0.382, 0.5, and 0.618 Fibonacci Levels
Description:
This indicator for TradingView, written in Pine Script version 6
It displays a table on the chart that provides a visual analysis of key price levels based on a 13-week timeframe and a 100-day Simple Moving Average (SMA).
Core Calculations:
100-Day SMA: The indicator calculates the 100-day Simple Moving Average of the closing price using daily data. The SMA is a widely used trend-following indicator.
13-Week High and Low: The indicator calculates the highest high and lowest low over the past 13 weeks using weekly data. This provides a longer-term perspective on the price range.
13-Week Fibonacci Retracement Levels: Based on the calculated 13-week high and low, the script determines the 0.382, 0.5, and 0.618 Fibonacci retracement levels.
The table includes the following information:
13W High: The highest price reached over the last 13 weeks.
100D SMA: The calculated 100-day Simple Moving Average value.
13W Low: The lowest price reached over the last 13 weeks.
Fibonacci Levels: The 0.382, 0.5, and 0.618 Fibonacci retracement levels, labeled as "↗," "|," and "↘," respectively.
Cerca negli script per "high low"
[Marmotte] Support & ResistanceDynamic Support/Resistance Indicator
Available on charts of all symbols, not just Bitcoin.
Timeframe
The chart time to base the support/resistance values on.
This value cannot be less than the current chart timeframe.
ex) Current chart timeframe = 15 minutes, option value = 60 (1 hour) O
ex) Current chart timeframe = 4 hours, option = 60 (1 hour) X
Mode
This is how support/resistance values are calculated.
The “Pivot” option takes the PivotHigh and PivotLow for a specific period of time (number of candles).
The “Normal” option is used to get the Highest and Lowest for a specific time period (number of candles).
Lookback Candle
When set to 20 and the “Pivot” option is selected, the highest price of the 20 candles before the specific candle is selected.
If set to 20 and the “Normal” option is selected, the highest price of the 20 candles before the current candle is selected.
Sensitivity
This option only applies when “General” is selected.
Different support/resistance values calculated based on sensitivity
Extract the reference high/low for the “Lookback Candle” in the selected “Timeframe” based on the “Mode”.
Compare the Bar Index (candle order) of the extracted reference high/low and divide the upside/downside (ex: up if the reference low came before the reference high, down if the reference high came before the reference low, etc.).
Now, based on the baseline high/low and up/down, calculate the , and plot them on the chart.
Updates the extracted values based on the “base value” when the reference high/low for the “calculation period (number of candles)” in the selected “chart time” changes.
The indicator is built with simple logic that automatically identifies tops and bottoms, and then calculates and plots the corresponding Fibonacci retracements and extensions.
Therefore, it is not recommended to trade blindly on the support/resistance plotted by the indicator.
The indicator can be used to enhance the ability of support-resistance lines or to reference support-resistance on longer time frames from shorter time frames. For example, you can set up a 4-hour support/resistance on a 15-minute timeframe. This way, you can see the support/resistance of a higher timeframe that looks like a pullback/recovery in the short term, but is more reliable and can be used as a reference for trading.
The recommended time frame is 4 hour.
Please note that this may not work properly on symbols with too small an amount (e.g. it does not work properly on symbols like 0.005$)
-------------------------------------------------
동적 지지/저항선 인디케이터
비트코인뿐 아니라 모든 심볼의 차트에서 사용가능합니다.
차트 시간
지지/저항 값을 계산에 기본이 될 차트 시간입니다.
이 값은 현재 차트 타임프레임보다 작을 수 없습니다.
ex) 현재 차트 타임프레임 = 15분, 옵션값 = 60(1시간) O
ex) 현재 차트 타임프레임 = 4시간, 옵션값 = 60(1시간) X
베이스 값
지지/저항 값을 계산하는 방법입니다.
"피봇고저" 옵션은 특정 기간(캔들 수)의 PivotHigh, PivotLow를 구하여 사용합니다.
"일반고저" 옵션은 특정 기간(캔들 수)의Highest, Lowest를 구하여 사용합니다.
계산 기간
20으로 설정 후 "Pivot" 옵션을 선택한 경우, 특정 캔들 이전 20개의 캔들 중 해당 캔들이 제일 고가가 높을 때 선택
20으로 설정 후 "Normal" 옵션을 선택한 경우, 현재 캔들 이전 20개의 캔들 중 가장 고가 선택
민감도
해당 옵션은 "Normal"를 선택했을때만 적용됩니다.
민감도에 따라 계산되는 지지/저항 값이 다름
선택한 "차트 시간"에서 "계산 기간(캔들 수)" 동안의 기준 고가/저가를 "모드"에 기반하여 추출합니다.
추출된 기준 고가/저가의 Bar Index(캔들 순서)를 비교하여 상승/하락을 나눕니다. (ex. 기준 저가가 기준 고가보다 먼저 나왔다면 상승, 기준 고가가 기준 저가보다 먼저 나왔다면 하락)
이제 기준 고가/저가와 상승/하락을 토대로 , 을 계산하여 차트에 그립니다.
선택한 "차트 시간"에서 "계산 기간(캔들 수)" 동안의 기준 고가/저가를 "모드"에 기반하여 추출한 값이 변경될 때 업데이트 됩니다.
해당 지표는 고점과 저점을 자동으로 식별하여 상승/하락을 파악 후 그에 맞는 피보나치 되돌림 및 확장을 계산하여 그려주는 간단한 로직으로 만들어졌습니다.
그렇기에 해당 지표에서 그려주는 지지/저항을 맹목적으로 믿고 트레이딩에 임하는 것은 권장하지 않습니다.
해당 지표는 지지저항선의 능력을 키우거나 단기 프레임에서 장기 프레임의 지지저항을 참고하는데 사용할 수 있습니다. 예를 들어서 15분 타임프레임에서 4시간 지지/저항을 설정하여 확인할 수 있습니다. 이렇게되면 단기적으로는 하락/상승처럼 보이지만, 비교적 신뢰도가 더 높은 상위 타임프레임의 지지/저항을 확인하여 매매에 참고로 사용할 수 있습니다.
권장 타임 프레임은 1시간 입니다.
너무 금액이 작은 심볼에선 제대로 동작하지 않을 수 있습니다. (ex. 0.005$와 같은 심볼에서는 제대로 작동하지 않음)
Intrabar BoxPlotThe Intrabar BoxPlot publication highlights an uncommon technique by displaying statistical intrabar Lower Timeframe (LTF) values on the chart.
🔶 USAGE
🔹 Middle 50% Boxes
By showing the middle 50% intrabar values through a box, we can more easily see where the intrabar activity is mainly situated.
The middle 50% intrabar values are referred to from here on as Interquartile range (IQR).
In this example, the successive IQRs form a channel where the price eventually breaks out.
Disproportionately distributed values can give insights which can be used to find potential support/resistance areas.
IQR gaps can give valuable information as well. Potentially, the price can return to these gaps.
Seeing the IQR areas against regular candles gives an alternative image of the underlying price movements.
🔹 Highest volume Price level
The script displays the price level with the highest volume situated, dependable on the user's source setting. Setting the source at 'close' will only display intrabar close values; the same goes for high, low, ...
As seen in the above example, the volume levels can aid in finding support/resistance.
🔹 Median
The location of the median off all intrabar values is displayed as a coloured dot: green when the close price is higher than the opening price and red if otherwise. The median can give valuable insights into price movements.
🔹 Outliers
Medium (white dots) and extreme (white X) outliers, in combination with the IQR box, can help identify potential areas of interest.
🔹 Volume Delta
When there is a discrepancy between the delta volume and direction of the candle, this will be displayed as follows:
Green candle: when the sum of the volume of red intrabars is higher than the sum of the volume of green intrabars, the candle will be coloured orange.
Red candle: when the sum of the volume of green intrabars is higher than the sum of the volume of red intrabars, the candle will be coloured blue.
🔹 Highlight Boxplot only
Probably the easiest way to display boxplot only is by changing the Bar's style to Bars .
🔶 DETAILS
All intrabar values (Lower TimeFrame - LTF) are sorted and evaluated. Values can be close , high , low , ... by selecting this in Settings ( source ).
The middle 50% of all values are displayed as a box; this contains the values between percentile 25 (p25) and percentile 75 (p75). The value of percentile rank 75 means 75% of all values are lower. The value of percentile rank 25 means 25% of all values are lower, or 75% is higher.
The difference between p75 and p25 is also known as Interquartile range (IQR)
IQR is used to check for outliers.
Wiki: Boxplot , Interquartile range
Extreme high: maximum value, higher than p75 + IQR*3
Max outlier high: maximum value, higher than p75 + IQR*1.5 but lower than p75 + IQR*3
Max: maximum value, lower than p75 + IQR*1.5
Min: minimum value, higher than p25 - IQR*1.5
Min outlier low: minimum value, lower than p25 - IQR*1.5 but higher than p25 - IQR*3
Extreme low: minimum value, lower than p25 - IQR*3
Max and min must not be interpreted with the current candle high/low.
🔹 Example: Length of chart-puppets
The following example can make it easier to digest. Forty "chart-puppets" are sorted by their length.
The p25 value is 97
The p50 value is 120
The p75 value is 149
75% of all "chart-puppets" are smaller than p75, and 25% is larger than p75.
50% of all "chart-puppets" are smaller than p50, and 50% is larger than p50 (= median).
25% of all "chart-puppets" are smaller than p25, and 75% is larger than p25.
IQR = 149 - 97 = 52
Extreme outlier limit max: p75 + IQR*3 = 149 + 52*3 = 305
Mild outlier limit max: p75 + IQR*1.5 = 149 + 52*1.5 = 227
Mild outlier limit min: p25 - IQR*1.5 = 97 - 52*1.5 = 19
Extreme outlier limit min: p25 - IQR*3 = 97 - 52*3 = -59
In this example there are no outliers to be found, all values are located between p25 - IQR*1.5 (19) and p75 + IQR*1.5. (227)
🔹 Source settings
Note that results are dependable on the chosen source (settings). When, for example, close is chosen as the source, only intrabar close prices are included. This means a low or high can stretch further then the min or max.
Here we can see different results with different source settings
🔹 LTF settings
When 'Auto' is enabled (Settings, LTF), the LTF will be the nearest possible x times smaller TF than the current TF. When 'Premium' is disabled, the minimum TF will always be 1 minute to ensure TradingView plans lower than Premium don't get an error.
Examples with current Daily TF (when Premium is enabled):
500 : 3 minute LTF
1500 (default): 1 minute LTF
5000: 30 seconds LTF (1 minute if Premium is disabled)
🔶 SETTINGS
Source: Set source at close, high, low,...
🔹 LTF
LTF: LTF setting
Auto + multiple: Adjusts the initial set LTF
Premium: Enable when your TradingView plan is Premium or higher
🔹 Intrabar Delta : Colors, dependable on different circumstances.
Up: Price goes up, with more bullish than bearish intrabar volume.
Up-: Price goes up, with more bearish than bullish intrabar volume.
Down: Price goes down, with more bearish than bullish intrabar volume.
Down+: Price goes down, with more bullish than bearish intrabar volume.
🔹 Table
Show table: Show details at the top right corner
Show TF: Show LTF at the bottom right corner
Text color/table size
See DETAILS for more information
Support and Resistance TrendlinesStrategy:
Support: Identified as the lowest low over a specific period.
Resistance: Identified as the highest high over a specific period.
Dynamic Trendlines: We’ll use the concept of a rolling window to calculate the highest highs and lowest lows over the last n bars (you can adjust the number of bars for more sensitivity).
Explanation:
Lookback Period (length): The number of bars over which we calculate the support and resistance levels. You can adjust this value depending on the timeframe and the sensitivity you want for the trendlines.
Resistance: This is the highest high over the length of bars. We use ta.highest(high, length) to find the highest high within the specified lookback period.
Support: This is the lowest low over the length of bars. We use ta.lowest(low, length) to find the lowest low within the specified lookback period.
Plotting the Lines:
We plot the support and resistance as horizontal lines on the chart using plot().
Additionally, we create dynamic trendlines that update automatically with each new bar. The line.new function creates lines that can be modified dynamically as new price data comes in.
Line Persistence:
The line functions are used to create horizontal lines that persist across bars. The trendlines adjust their position as the bars move forward.
How It Works:
This indicator will automatically detect the highest and lowest prices over the last n bars and draw support (green line) and resistance (red line) levels on the chart.
The trendlines will adjust as the market evolves and provide visual reference points for potential areas of price reversal.
How to Use This Script:
Copy and paste the Pine Script code into the Pine Script Editor on TradingView.
Save the script, and then add it to your chart.
Adjust the Lookback Period input to suit your trading strategy and timeframe.
The support and resistance levels will be drawn dynamically, and the lines will update as new bars form.
Customizations:
You can modify the number of bars (length) used to calculate support and resistance, depending on the timeframes you're interested in.
If you need more advanced trendline drawing (such as drawing trendlines between significant high/low points or automatic adjustment to more complex patterns), you might need to implement more advanced logic using peaks and valleys or price action patterns.
Let me know if you need any further adjustments!
Candle Open Time labels (& TAPDA Lines)Description of the "4-Hour Candle Opening Times (TAPDA Lines)" Indicator
The "4-Hour Candle Opening Times (TAPDA Lines)" indicator integrates key principles of the Time and Price Action Trading Algorithm (TAPTA) with practical tools for analyzing market behavior. This script is designed for traders who leverage the interaction between time and price to identify opportunities in the market. The indicator supports the identification of significant price levels and potential areas of interest based on historical data and recurring patterns tied to specific timeframes.
Core Concepts
Time and Price Interaction (TAPTA Logic):
The script implements TAPTA principles by focusing on time intervals (4-hour candles) and the price action associated with those intervals.
Traders use this logic to recognize how prices behave at specific times, identifying patterns, levels of support or resistance, and potential reversals.
Highs and Lows Recognition (TAPDA):
The indicator includes logic for identifying and marking "Tapped Highs and Lows," which occur when price action retraces to previously significant levels within a specified tolerance. These taps are visually represented with horizontal lines, enabling traders to spot recurring price behaviors and levels of interest.
Dynamic Levels for Decision-Making:
By combining time and price, the script visualizes key price levels and their relevance over time, equipping traders with actionable insights for entry, exit, and risk management.
Indicator Features
1. Visual Representation of Candle Opening Times
The indicator marks the opening times of 4-hour candles on the chart.
A customizable label system displays the time in either a 12-hour or 24-hour format, with options to toggle the visibility of AM/PM suffixes.
2. TAPDA Logic
Identifies and highlights price levels that have been tapped within a specified tolerance.
Horizontal lines are drawn to mark these levels, allowing traders to see historical price levels acting as support or resistance.
The "Tapped Highs and Lows" are updated dynamically based on the most recent price action.
3. Timeframe-Specific Filtering
Users can limit the display to specific times of interest, such as 2 AM, 6 AM, and 10 AM, by toggling the "GCT (General Candle Times)" option.
Additional options allow filtering TAPDA logic by AM or PM timeframes, catering to traders who focus on specific market sessions.
4. Adjustable Plotting Limits
The script incorporates settings for controlling the maximum number of labels and lines displayed on the chart:
Max Labels: Limits the number of labels plotted for 4-hour candle opening times.
Max TAPDA Lines: Limits the number of TAPDA horizontal lines displayed.
A "Sync Lines and Labels" option ensures the same number of labels and lines are plotted when enabled, providing a consistent and clutter-free visualization.
5. Plot Maximum Capability
A "Plot Max" feature allows users to override the default behavior and force the plotting of the maximum allowed labels and lines, providing a comprehensive view of historical data.
6. User-Friendly Customization
Fully customizable label styles, including options for position, size, color, and background opacity.
Adjustable tolerance levels for TAPDA lines ensure compatibility with different market conditions and trading strategies.
Settings for flipping or aligning label positions above or below candles, or locking them to the opening price.
Script Logic
The script is built to prioritize efficiency and clarity, adhering to TradingView's Pine Script best practices and community standards:
Initialization:
Arrays are used to store historical price data, including highs, lows, and timestamps, ensuring only the necessary amount of data is processed.
A flexible and efficient data management system maintains a rolling window of data for both labels and TAPDA lines, ensuring smooth performance.
Label and Line Plotting:
Labels are plotted dynamically at user-defined positions and styles to mark the opening times of 4-hour candles.
TAPDA lines are drawn between historical high or low points and the current price action when the tolerance condition is met.
Limit Management:
The script enforces limits on the number of labels and lines plotted on the chart to maintain visual clarity.
Users can enable synchronization between the maximum labels and lines to ensure consistent visualization.
Customization Options:
Extensive customization settings allow traders to tailor the indicator to their strategies and preferences, including:
Label and line styles.
Session filtering (AM, PM, or specific times).
Display limits and synchronization options.
Capabilities
1. Enhance Time-Based Analysis
By marking significant times (4-hour candle openings), traders can identify key market phases and recurring behaviors tied to specific hours.
2. Leverage Historical Price Action
TAPDA logic highlights areas where price action interacts with historical highs and lows, providing actionable insights into potential support or resistance zones.
3. Improve Decision-Making
The indicator supports informed decision-making by blending visual data with time and price action principles, helping traders spot opportunities and mitigate risks.
4. Flexible Application Across Strategies
Suitable for day traders, swing traders, and position traders who utilize time and price action for trend analysis, reversals, or breakout strategies.
Best Practices for Use
Key Levels Analysis:
Focus on labels and TAPDA lines near critical price zones to gauge potential market reactions.
Session-Based Trading:
Use AM/PM filters or GCT settings to isolate specific trading sessions relevant to your strategy.
Combine with Other Indicators:
Enhance the effectiveness of this indicator by combining it with moving averages, RSI, or other tools for confirmation.
Risk Management:
Use the identified levels for stop-loss placement or target setting to align with your risk tolerance.
Overnight High/LowThe script identifies the Overnight High (the highest price) and Overnight Low (the lowest price) for a trading instrument during a specified overnight session. It then plots these levels on the chart for reference in subsequent trading sessions.
Key Features:
Time Settings:
The script defines the start (startHour) and end (endHour + endMinute) times for the overnight session.
The session spans across two calendar days, such as 5:00 PM (17:00) to 9:30 AM (09:30).
Tracking High and Low:
During the overnight session, the script dynamically tracks:
Overnight High: The highest price reached during the session.
Overnight Low: The lowest price reached during the session.
Reset Mechanism:
After the overnight session ends (at the specified end time), the script resets the overnightHigh and overnightLow variables, preparing for the next session.
Visual Representation:
The script uses horizontal dotted lines to plot:
A green line for the Overnight High.
A red line for the Overnight Low.
These lines extend to the right of the chart, providing visual reference points for traders.
How It Works:
Session Detection:
The script checks whether the current time falls within the overnight session:
If the hour is greater than or equal to the start hour (e.g., 17:00).
Or if the hour is less than or equal to the end hour (e.g., 09:30), considering the next day.
The end minute (e.g., 30 minutes past the hour) is also considered for precision.
High and Low Calculation:
During the overnight session:
If the overnightHigh is not yet defined, it initializes with the current candle's high.
If already defined, it updates by comparing the current candle's high to the existing overnightHigh using the math.max function.
Similarly, overnightLow is initialized or updated using the math.min function.
Post-Session Reset:
After the session ends, the script clears the overnightHigh and overnightLow variables by setting them to na (not available).
Line Drawing:
The script draws horizontal dotted lines for the Overnight High and Low during and after the session.
The lines extend indefinitely to the right of the chart.
Benefits:
Visual Aid: Helps traders quickly identify overnight support and resistance levels, which are critical for intraday trading.
Automation: Removes the need for manually plotting these levels each day.
Customizable: Time settings can be adjusted to match different markets or trading strategies.
This script is ideal for traders who use the overnight range as part of their analysis for breakouts, reversals, or trend continuation strategies.
BuySell%_ImtiazH_v2BuySell%_ImtiazH
This indicator includes two powerful volume metrics to complement your trading analysis:
30-Day Avg Vol (Blue Line): Tracks the average volume over the past 30 days, providing a baseline for typical trading activity.
Breakout Vol (White Line): Highlights the volume threshold needed for a potential breakout, calculated as a user-defined percentage above the 30-day average volume (default: 40%).
In addition to these enhancements, the indicator breaks down total trading volume into buying and selling components and calculates the percentage of buy volume for each bar.
🟥 Red Bars: Represent total volume.
🟩 Teal Bars: Show the buying volume within each candle.
🟨 Buy %: Displays the percentage of buy volume dynamically in the indicator panel, highlighted in yellow for quick visibility.
Use this tool to easily spot accumulation (buying pressure) or distribution (selling pressure) trends, customize breakout thresholds, and identify key breakout opportunities. Simple, clear, and effective for volume-based analysis!
How Are Buy Volume and Sell Volume Calculated?
This indicator uses a proportional approach to estimate buy and sell volumes based on price action:
Buy Volume: The portion of total volume where the price is moving upward, representing trades executed at the ask price.
Formula:
Buy Volume = (close - low) / (high - low) * volume
Sell Volume: The portion of total volume where the price is moving downward, representing trades executed at the bid price.
Formula:
Sell Volume = (high - close) / (high - low) * volume
If the high and low prices are the same (flat bar), both buy and sell volumes are set to 0.
Why This Matters
This calculation assumes the close price’s position within the high-to-low range reflects the balance of buying and selling activity:
Close near the high: Most volume is buy volume.
Close near the low: Most volume is sell volume.
Close in the middle: Volume is split between buying and selling.
By breaking down volume in this way, the indicator helps traders identify key trends like accumulation (buying pressure) and distribution (selling pressure), making it a powerful tool for volume-based analysis.
UVR ChannelsUVR CHANNELS: A VOLATILITY-BASED TREND ANALYSIS TOOL
PURPOSE
UVR Channels are designed to dynamically measure market volatility and identify key price levels for potential trend reversals. The channels are calculated using a unique volatility formula(UVR) combined with an EMA as the central reference point. This approach provides traders with a tool for evaluating trends, reversals, and market conditions such as breakouts or consolidations.
CALCULATION MECHANISM
1. Ultimate Volatility Rate (UVR) Calculation:
The UVR is a custom measure of volatility that highlights significant price movements by comparing the extremes of current and previous candles.
Volatility Components:
Two values are calculated to represent potential price fluctuations:
The absolute difference between the current candle's high and the previous candle's low:
Volatility Component 1=∣high−low ∣
The absolute difference between the previous candle's high and the current candle's low:
Volatility Component 2=∣high −low∣
Volatility Ratio:
The larger of the two components is selected as the Volatility Ratio, ensuring the UVR captures the most significant movement:
Volatility Ratio=max(Volatility Component 1,Volatility Component 2)
Smoothing with SMMA:
To stabilize the volatility calculation, the Volatility Ratio is smoothed using a Smoothed Moving Average (SMMA) over a user-defined period (e.g., 14 candles):
UVR= (UVR(Previous) × (Period−1))+Volatility Ratio)/Period
2. Band Construction:
The UVR is integrated into the band calculations by using the Exponential Moving Average (EMA) as the central line:
Central Line (EMA):
The EMA is calculated based on closing prices over a user-defined period (e.g., 20 candles).
Upper Band:
The upper band represents a dynamic resistance level, calculated as:
Upper Band=EMA+(UVR × Multiplier)
Lower Band:
The lower band serves as a dynamic support level, calculated as:
Lower Band=EMA−(UVR × Multiplier)
3. Role of the Multiplier:
The Multiplier adjusts the width of the bands based on trader preferences:
Higher Multiplier: Wider bands to capture larger price swings.
Lower Multiplier: Narrower bands for tighter market analysis.
FEATURES AND USAGE
Dynamic Volatility Analysis:
The UVR Channels expand and contract based on real-time market volatility, offering a dynamic framework for identifying potential price trends.
Expanding Bands: High market volatility.
Contracting Bands: Low volatility or consolidation.
Trend Identification:
Price consistently near the upper band indicates a strong bullish trend.
Price near the lower band signals a bearish trend.
Trend Reversal Signals:
Price reaching the upper band may signal overbought conditions, while price touching the lower band may signal oversold conditions.
Breakout Potential:
Narrow bands often precede significant price breakouts, making UVR Channels a useful tool for spotting early breakout conditions.
DIFFERENCES FROM BOLLINGER BANDS
Unlike Bollinger Bands, which rely on standard deviation to measure volatility, the UVR Channels use a custom volatility formula based on price extremes (highs and lows). This approach adapts to market behaviour in a unique way, providing traders with an alternative and accurate view of volatility and trends.
INPUT PARAMETERS
Volatility Period:
Determines the number of periods used to smooth the volatility ratio. A higher value results in smoother bands but may lag behind sudden market changes.
EMA Period:
Controls the calculation of the central reference line.
Multiplier:
Adjusts the width of the bands. Increasing the multiplier widens the bands, capturing larger price movements, while decreasing it narrows the bands for tighter analysis.
VISUALIZATION
Purple Line: The EMA (central line).
Red Line: Upper band (dynamic resistance).
Green Line: Lower band (dynamic support).
Shaded Area: Fills the space between the upper and lower bands, visually highlighting the channel.
Z_TRendThe Z_Trend indicator is designed to detect significant volume spikes during trading sessions and identify the high/low levels of the candlestick with the highest volume in each session. This helps users recognize key price zones and monitor market activity effectively.
Main Features:
Session Classification:
Asian Session: From 0:00 to 14:00 (UTC+7).
European Session: From 14:00 to 19:00 (UTC+7).
US Session: From 19:00 to 23:00 (UTC+7).
Volume Analysis:
Calculates a Simple Moving Average (SMA) of the volume over the last 89 candles.
Marks candles with volumes exceeding defined thresholds:
High Threshold: Default is 1.618 (adjustable).
Low Threshold: Default is 0.618 (adjustable).
Highlighting Highest Volume Candle:
Detects the candle with the highest volume in each session.
Plots the high and low levels of this candle on the chart to signify critical price zones.
Volume-Based Candle Coloring:
Bullish candles (closing above open) with high volume are marked green.
Bearish candles (closing below open) with high volume are marked dark red.
Customizable Inputs:
High Threshold: Set to 1.618 by default; can be adjusted.
Low Threshold: Set to 0.618 by default; can be adjusted.
Chart Visuals:
Green line: Represents the highest price of the candle with the largest volume in the session.
Red line: Represents the lowest price of the candle with the largest volume in the session.
Practical Applications:
Identify Key Price Zones: Use the high/low levels of the high-volume candle to locate potential support/resistance levels.
Analyze Market Dynamics: Observe candle colors and volume to gauge session-specific trends.
Trading Strategy: Utilize these insights to make informed entry and exit decisions.
Notes:
The indicator can be adjusted to fit individual trading strategies.
It is recommended to combine this tool with other indicators for more reliable signals.
Try it out on your chart now to discover potential trading opportunities! 🚀
Support, Resistance & OHLCUPDATE:
This Pine Script code is an indicator for TradingView that displays support, resistance, and OHLC (Open, High, Low, Close) data across various timeframes. The code is divided into two main sections: Support/Resistance and OHLC Data.
Support and Resistance:
Logic for Support and Resistance: The indicator draws support and resistance lines after 4 consecutive candles without forming new lows (for support) or new highs (for resistance). This means that a support or resistance level is created after 4 candles that don't set new extremes.
Support: When the last 3 candles have lower lows, and the current candle forms a higher low, the support level is set.
Resistance: When the last 3 candles have higher highs, and the current candle forms a lower high, the resistance level is set.
Drawing the Lines and Labels:
Once the support or resistance level is determined, a horizontal line is drawn that extends left and right from the candle.
Additionally, labels for support and resistance are shown if the corresponding settings are enabled. These labels appear at a distance from the line and display the current support or resistance value.
Deleting the Lines:
If the price falls below the support level or rises above the resistance level, the respective line is deleted. This means that the market has breached the support or resistance level, making the line invalid.
When the support or resistance line is breached, alerts can be triggered to notify the trader.
Alerts:
The script provides options to set alerts when a support or resistance line is created or broken. These alerts notify the trader when the price reaches an important level.
OHLC Data:
The code allows the display of the high, low, close, and open values of the last candles across different timeframes (hourly, daily, weekly, monthly).
Settings:
Options are available to show these values for the respective timeframes.
The user can also adjust the size of the labels.
Visualization: The indicator plots lines for the high, low, and close values for each timeframe and places labels showing the respective values.
In summary, the indicator provides a detailed view of support and resistance levels, which are based on a 4-candle logic, and displays important OHLC values across different timeframes. The indicator also allows setting alerts for specific price levels, so traders can quickly react to market movements.
Key Prices & LevelsThis indicator is designed to visualize key price levels & areas for NY trading sessions based on the price action from previous day, pre-market activity and key areas from NY session itself. The purpose is to unify all key levels into a single indicator, while allowing a user to control which levels they want to visualize and how.
The indicator identifies the following:
Asia Range High/Lows, along with ability to visualize with a box
London Range High/Lows, along with ability to visualize with a box
Previous Day PM Session High/Lows
Current Day Lunch Session High/Lows, starts appearing after 12pm EST once the lunch session starts
New York Open (8:30am EST) price
9:53 Open (root candle) price
New York Midnight (12:00am EST) price
Previous Day High/Lows
First 1m FVG after NY Session Start (after 9:30am), with the ability to configure minimum FVG size.
Opening Range Gap, showing regular market hours close price (previous day 16:15pm EST close), new session open price (9:30am EST open) and optionally the mid-point between the two
Asia Range 50% along with 2, 2.5, 4 and 4.5 deviations of the Asia range in both directions
Configurability:
Each price level can be turned off
Styles in terms of line type, color
Ability to turn on/off labels for price levels and highlighting of prices on price scale
Ability to control label text for price levels
How is it different:
Identifies novel concepts such as 9:53 open, root candle that can be used as a bounce/resistance area during AM/PM sessions as well as confirmation of direction once closed over/under to indicate price's willingness to continue moving in the same direction.
It also shows 1st 1m FVG after New York Session open, that can be used to determine direction of the price action depending on PA's reaction to that area. While both 9:53 and 1m FVG are 1m based markers, these levels are visualized by the indicator on all timeframes from 15s to 1h.
Additionally the indicator is able to both highlight key prices in the price scale pane as well as combine labels to minimize clutter when multiple levels have the same price.
Lastly for in-session ranges such as Lunch High/Low the indicator updates the range in real-time as opposed to waiting for the lunch session to be over.
5-Minute YEN Pivot Bars 1.0The 5-Minute YEN Pivot Bars indicator is designed to identify and highlight low-range pivot bars on 5-minute charts, specifically tailored for Yen-based pairs (e.g., GBPJPY, USDJPY). By focusing on precise pip thresholds, this tool helps traders detect potential pivot points within specific trading sessions, while avoiding inside bars and other noise often seen in low-volatility conditions. This can be particularly useful for trend traders and those looking to refine their entry points based on intraday reversals.
Key Features:
- Customized Pip Thresholds for Yen Pairs:
The indicator is pre-configured for Yen pairs, where 1 pip is typically represented by 0.01. It applies these thresholds:
- Limited Range: 4 pips or less between open and close prices.
- High/Low Directionality: At least 3 pips from the close/open to the bar's high or low.
- Open/Close Proximity: 4 pips or less between open and close.
- Inside Bar Tolerance: A tolerance of 3 pips for inside bars, helping reduce false signals from bars contained within the previous bar's range.
- Session-Specific Alerts:
- The indicator allows you to enable alerts for the European Session (6:00-12:00), American Session (12:00-17:00), and London Close (17:00-20:00). You can adjust these times based on your own trading hours or timezone preferences via a time-shift setting.
- Receive real-time alerts when a valid bullish or bearish pivot bar is identified within the chosen sessions, allowing you to respond to potential trade opportunities immediately.
- Time Shift Customization:
- Adjust the "Time Shift" parameter to account for different time zones, ensuring accurate session alignment regardless of your local time.
How It Works:
1. Pivot Bar Identification:
The indicator scans for bars where the difference between the open and close is within the "Limited Range" threshold, and both open and close prices are close to either the high or the low of the bar.
2. Directional Filtering:
It requires the bar to show strong directional bias by enforcing an additional distance between the open/close levels and the opposite end of the bar (high/low). Only bars with this directional structure are considered for highlighting.
3. Exclusion of Inside Bars:
Bars that are completely contained within the range of the previous bar are excluded (inside bars), as are consecutive inside bars. This filtering is essential to avoid marking bars that typically indicate consolidation rather than potential pivot points.
4. Session Alerts:
When a valid pivot bar appears within the selected sessions, an alert is triggered, notifying the trader of a potential trading signal. Bullish and bearish signals are differentiated based on whether the close is near the high or low.
How to Use:
- Trend Reversals: Use this indicator to spot potential trend reversals or pullbacks on a 5-minute chart, especially within key trading sessions.
- Entry and Exit Points: Highlighted bars can serve as potential entry points for traders looking to capitalize on short-term directional changes or continuation patterns.
- Combine with Other Indicators: Consider pairing this tool with momentum indicators or trendlines to confirm the signals, providing a comprehensive analysis framework.
Default Parameters:
- Limited Range: 4 Pips
- High/Low Directionality: 3 Pips
- Open/Close Proximity: 4 Pips
- Inside Bar Tolerance: 3 Pips
- Session Alerts: Enabled for European, American, and London Close sessions
- Time Shift: Default 6 (adjustable to align with different time zones)
This indicator is specifically optimized for Yen pairs on 5-minute charts due to its pip calculation.
Formation Defined Moving Support and ResistanceThe script was originally coded in 2018 with Pine Script version 3, and it was in protected code status. It has been updated and optimised for Pine Script v5 and made completely open source.
The Formation Defined Moving Support and Resistance indicator is a sophisticated tool for identifying dynamic support and resistance levels based on specific price formations and level interactions. This indicator goes beyond traditional static support and resistance by updating levels based on predefined formation patterns and market behaviour, providing traders with a more responsive view of potential support and resistance zones.
Features:
The indicator detects essential price levels:
Lower Low (LL)
Higher Low (HL)
Higher High (HH)
Lower High (LH)
Equal Lower Low (ELL)
Equal Higher Low (EHL)
Equal Higher High (EHH)
Equal Lower High (ELH)
By identifying these key points, the script builds a foundation for tracking and responding to changes in price structure.
Pre-defined Formations and Comparisons:
The indicator calculates and recognises nine different pre-defined formations, such as bullish and bearish formations, based on the sequence of price levels.
These formations are compared against previous levels and formations, allowing for a sophisticated understanding of recent market movements and momentum shifts.
This formation-based approach provides insights into whether the price is likely to maintain, break, or reverse key levels.
Dynamic Support and Resistance Levels:
The indicator offers an option to toggle Moving Support and Resistance Levels.
When enabled, the support and resistance levels dynamically adjust:
Upon a change in the detected formation.
When the bar’s closing price breaks the last defined support or resistance level.
This feature ensures that the support and resistance levels adapt quickly to market changes, giving a more accurate and responsive perspective.
Customisable Price Source:
Users can choose the price source for level detection, selecting between close or high/low prices.
This flexibility allows the indicator to adapt to different trading styles, whether the focus is on closing prices for more conservative levels or on highs and lows for more sensitive level tracking.
This indicator can benefit traders relying on dynamic support and resistance rather than fixed, historical levels. It adapts to recent price actions and market formations, making it useful for identifying entry and exit points, trend continuation or reversal, and setting trailing stops based on updated support and resistance levels.
Candle Data AnalyzerCandle Data Analyzer
Overview
The Candle Data Analyzer is a powerful TradingView script designed to provide traders with insights into price action patterns within specific time sessions. By analyzing historical candle data, this indicator offers predictive suggestions for future price movements, helping traders make more informed decisions.
Key Features
**Custom Session Analysis**: Analyze price action within user-defined time sessions.
**Bias Selection**: Choose between Bullish, Bearish, or Neutral bias for predictions.
**Daily/Weekly Toggle**: Option to use daily or weekly results for broader context.
**Visual Predictions**: Display predicted high, low, and open levels for the next session.
**Detailed Statistics**: View average time and price movements for highs and lows.
**Interactive Table**: Optional table display showing current and historical data.
How It Works
1. The script collects and analyzes candle data from user-defined sessions.
2. It calculates average time and price movements for highs and lows.
3. Based on the selected bias, it predicts the next session's open, high, and low levels.
4. These predictions are visually represented on the chart using colored lines.
5. A detailed statistics table can be displayed for in-depth analysis.
Usage Guide
Setup
1. Add the indicator to your chart.
2. Configure the session time in the format "HHMM-HHMM" (e.g., "0300-0500" for 3:00 AM to 5:00 AM).
3. Select your bias: Bullish, Bearish, or Neutral.
4. Choose whether to use daily results or not.
5. Decide if you want to display the detailed statistics table.
Interpreting the Results
**Blue Line**: Open level for the next session.
**Green Line**: Predicted high level for the next session.
**Red Line**: Predicted low level for the next session.
**Vertical Lines**: Estimated times for the high (green) and low (red) to occur.
Using the Statistics Table
If enabled, the table provides:
- Previous session's OHLC data with timestamps.
- Average price movements (as percentages) from open to high and open to low.
- Average time for highs and lows to occur (in minutes).
- Count of analyzed candles matching the selected bias.
Trading Applications
**Session Trading**: Use predictions to plan entries and exits for session-based trading strategies.
**Risk Management**: Set stop-loss and take-profit levels based on predicted price ranges.
**Trend Analysis**: Compare current price action to predicted levels to gauge trend strength.
**Time-Based Strategies**: Utilize timing predictions for high-probability trade entries.
Best Practices
- Combine this indicator with other technical analysis tools for confirmation.
- Regularly adjust the session times and bias to adapt to changing market conditions.
- Use the statistics table to gain deeper insights into historical price patterns.
- Remember that predictions are based on averages and should not be considered guaranteed outcomes.
Conclusion
The Candle Data Analyzer offers a unique approach to understanding and predicting price action within specific time frames. By leveraging historical data and user-defined parameters, it provides traders with valuable insights to enhance their trading strategies and decision-making processes.
Future Developments
- Weekly and Daily Projections
- User defined line styles
Higher Time Frame Strat [QuantVue]The Higher Time Frame Strat Indicator is a tool that helps traders visualize and analyze price action from a higher timeframe (HTF) on their current chart. It applies the Strat method, a trading strategy focused on identifying key price action setups by observing how current price bars relate to previous ones. This helps in understanding the market's structure and determining potential trading opportunities based on higher timeframe data.
Key Concepts:
Strat Basics:
Type 1 Bar (Inside Bar): The current bar's high is lower than the previous bar's high, and its low is higher than the previous bar's low. This signifies a consolidation, or indecision, as the price is contained within the previous bar's range.
Type 2 Bar (Directional Bar): The current bar either breaks above the previous bar's high (bullish) or stays above the previous bar's low (bearish), indicating a continuation in the price direction.
Type 3 Bar (Outside Bar): The current bar breaks both above the previous bar's high and below the previous bar's low, showing volatility and a potential reversal.
Higher Timeframe Visualization:
The indicator uses a user-defined higher timeframe (default: 1 hour) and plots the last three higher timeframe candles on the current chart.
Strat Classification:
When a new higher timeframe candle forms, the indicator draws a semi-transparent box around the candle's range (high to low), along with the Strat type label. This provides a visual cue to the trader about the structure of the newly formed candle and how it fits into the overall market movement.
The script classifies each higher timeframe candle as one of the Strat types (1, 2, or 3). Based on the relationship between the current candle and the previous candle's high/low, it assigns a label ("1", "2", or "3"), helping traders quickly identify the price action setup on the higher timeframe.
How to Use the Indicator:
Trend Continuation: Look for Type 2 bars, which indicate a continuation in the current trend. For example, a Type 2 up suggests the price is breaking above the previous high, potentially signaling further upward movement.
Reversals: Type 3 bars show increased volatility, where the price breaks both above and below the previous bar's range. This could indicate a reversal, so be prepared for a potential change in direction.
Consolidation: Inside bars (Type 1) signify a tightening range and can signal the beginning of a breakout once the price moves outside of the previous bar's high or low.
By combining these price action concepts with the visualization of higher timeframe data, traders can potentially get earlier entry and exits as a higher timeframe set up forms.
Pure Price Action ICT Tools [LuxAlgo]The Pure Price Action ICT Tools indicator is designed for pure price action analysis, automatically identifying real-time market structures, liquidity levels, order & breaker blocks, and liquidity voids.
Its unique feature lies in its exclusive reliance on price patterns, without being constrained by any user-defined inputs, ensuring a robust and objective analysis of market dynamics.
🔶 MARKET STRUCTURES
A Market Structure Shift, also known as a Change of Character (CHoCH), is a pivotal event in price action analysis indicating a potential change in market sentiment or direction. An MSS occurs when the price reverses from an established trend, signaling that the prevailing trend may be losing momentum and a reversal might be underway. This shift is often identified by key technical patterns, such as a higher low in a downtrend or a lower high in an uptrend, which indicate a weakening of the current trend's strength.
A Break of Structure typically indicates the continuation of the current market trend. This event occurs when the price decisively moves beyond a previous swing high or low, confirming the strength of the prevailing trend. In an uptrend, a BOS is marked by the price breaking above a previous high, while in a downtrend, it is identified by the price breaking below a previous low.
While a Market Structure Shift (MSS) can indicate a potential trend reversal and a Break of Structure (BOS) often confirms trend continuation, they do not assure a complete reversal or continuation. MSS and BOS levels can also function as liquidity zones or areas of price consolidation rather than definitively signaling a change in market direction. Traders should approach these signals cautiously and validate them with additional factors before making trading decisions. For further details on other components of the tool, please refer to the following sections.
🔶 ORDER & BREAKER BLOCKS
Order and Breaker Blocks are key concepts in price action analysis that help traders identify significant levels in the market structure.
Order Blocks are specific price zones where significant buying or selling activity has occurred. These zones often represent the actions of large institutional traders or market makers, who execute substantial orders that impact the market.
Breaker Blocks are specific price zones where a strong reversal occurs, causing a break in the prevailing market structure. These blocks indicate areas where the price encountered significant resistance or support, leading to a reversal.
In summary, Order and Breaker Blocks are essential tools in price action analysis, providing insights into significant market levels influenced by institutional trading activities. These blocks help traders make informed decisions about potential support and resistance levels, trend reversals, and breakout confirmations.
🔶 BUYSIDE & SELLSIDE LIQUIDITY
Both buy-side and sell-side liquidity zones are critical for identifying potential turning points in the market. These zones are where significant buying or selling interest is concentrated, influencing future price movements.
In summary, buy-side and sell-side liquidity provide crucial insights into market demand and supply dynamics, helping traders make informed decisions based on the availability of orders at different price levels.
🔶 LIQUIDITY VOIDS
Liquidity voids are gaps or areas on a price chart where there is a lack of trading activity. These voids represent zones with minimal to no buy or sell orders, often resulting in sharp price movements when the market enters these areas.
In summary, liquidity voids are crucial areas on a price chart characterized by a lack of trading activity. These voids can lead to rapid price movements and increased volatility, making them essential considerations for traders in their analysis and decision-making processes.
🔶 SWING POINTS
Reversal price points are commonly referred to as swing points. Traders often analyze historical swing points to discern market trends and pinpoint potential trade entry and exit points.
Do note that in this script these are subject to backpainting, that is they are not located where they are detected.
The detection of swing points and the unique feature of this script rely exclusively on price action, eliminating the need for numerical user-defined settings. The process begins with detecting short-term swing points:
Short-Term Swing High (STH): Identified as a price peak surrounded by lower highs on both sides.
Short-Term Swing Low (STL): Recognized as a price trough surrounded by higher lows on both sides.
Intermediate-term and long-term swing points are detected using the same approach but with a slight modification. Instead of directly analyzing price candles, previously detected short-term swing points are utilized. For intermediate-term swing points, short-term swing points are analyzed, while for long-term swing points, intermediate-term ones are used.
This method ensures a robust and objective analysis of market dynamics, offering traders reliable insights into market structures. Detected swing points serve as the foundation for identifying market structures, buy-side/sell-side liquidity levels, and order and breaker blocks presented with this tool.
In summary, swing points are essential elements in technical analysis, helping traders identify trends, support, and resistance levels, and optimal entry and exit points. Understanding swing points allows traders to make informed decisions based on the natural price movements in the market.
🔶 SETTINGS
🔹 Market Structures
Market Structures: Toggles the visibility of the market structures, both shifts and breaks.
Detection: An option that allows users to detect market structures based on the significance of swing levels, including short-term, intermediate-term, and long-term.
Market Structure Labels: Controls the visibility of labels that highlight the type of market structure.
Line Style: Customizes the style of the lines representing the market structure.
🔹 Order & Breaker Blocks
Order & Breaker Blocks: Toggles the visibility of the order & breaker blocks.
Detection: An option that allows users to detect order & breaker blocks based on the significance of swing levels, including short-term, intermediate-term, and long-term.
Last Bullish Blocks: Number of the most recent bullish order/breaker blocks to display on the chart.
Last Bearish Blocks: Number of the most recent bearish order/breaker blocks to display on the chart.
Use Candle Body: Allows users to use candle bodies as order block areas instead of the full candle range.
🔹 Buyside & Sellside Liquidity
Buyside & Sellside Liquidity: Toggles the visibility of the buyside & sellside liquidity levels.
Detection: An option that allows users to detect buy-side & sell-side liquidity based on the significance of swing levels, including short-term, intermediate-term, and long-term.
Margin: Sets margin/sensitivity for a liquidity level detection.
Visible Levels: Controls the amount of the liquidity levels/zones to be visualized.
🔹 Liquidity Voids
Liquidity Voids: Enable display of both bullish and bearish liquidity voids.
Threshold Multiplier: Defines the multiplier for the threshold, which is hard-coded to the 200-period ATR range.
Mode: Controls the lookback length for detection and visualization. Present considers the last X bars specified in the option, while Historical includes all available data.
Label: Enable display of a label indicating liquidity voids.
🔹 Swing Highs/Lows
Swing Highs/Lows: Toggles the visibility of the swing levels.
Detection: An option that allows users to detect swing levels based on the significance of swing levels, including short-term, intermediate-term, and long-term.
Label Size: Control the size of swing level labels.
🔶 RELATED SCRIPTS
Pure-Price-Action-Structures.
Market-Structures-(Intrabar).
Buyside-Sellside-Liquidity.
Order-Breaker-Blocks.
Flow IndicatorThe Flow Indicator is designed to help you identify potential breakout and reversal points by analysing market momentum, volume, and dynamic price zones. Here's how to effectively use this indicator in your trading:
1. Flow Zones
Flow High: This is the highest high over the specified Period. It acts as a resistance level.
Flow Low: This is the lowest low over the Period. It acts as a support level.
Flow Mid: The midpoint between Flow High and Low, acting as a pivot or balance point for price action.
2. Momentum Flow and Volume Pressure
Momentum: Calculated using the RSI, this helps you gauge the strength of the current price move.
Volume Pressure: The moving average of volume helps you understand the level of market participation.
3. Energy Surge
Energy Surge: This proprietary calculation combines momentum and volume pressure to identify potential "energy surges" in the market. When these surges occur, the market is likely to make a significant move.
Energy Multiplier: This input allows you to adjust the sensitivity of energy surges. Higher values make the indicator less sensitive, while lower values increase sensitivity.
4. Buy and Sell Signals
Buy Signal: A buy signal is generated when an energy surge crosses above the specified energyMultiplier and the price is above the Flow Mid. This indicates potential upward momentum with strong market participation.
Sell Signal: A sell signal is generated when an energy surge crosses above the energyMultiplier and the price is below the Flow Mid. This indicates potential downward momentum with strong market participation.
5. Visual Cues
Flow Zones: The indicator plots the Flow High, Low, and Mid lines on your chart. These help you identify key levels where price action is likely to react.
Energy Surge Histogram: The energy surge is plotted as a histogram, showing when these surges occur.
Background Colours: When a buy signal is generated, the background turns green, indicating a potential buy zone. Similarly, when a sell signal is generated, the background turns red, indicating a potential sell zone.
6. Practical Application
Trend Continuation: Use buy signals when the price is above the Flow Mid and the market is in an uptrend. Similarly, use sell signals when the price is below the Flow Mid and the market is in a downtrend.
Reversals: If a signal occurs near the Flow High or Low, it could indicate a reversal. For instance, if a buy signal is generated near the Flow Low, it could signal a reversal from a support level.
Breakouts: Watch for signals that occur as the price breaks through the Flow High or Low. These can indicate strong breakout opportunities.
7. Customisation
Flow Period: Adjust this setting to change the sensitivity of the Flow Zones. Shorter periods will react more quickly to recent price changes, while longer periods will provide more stable zones.
Momentum Period: This controls the sensitivity of the RSI-based momentum calculation. Shorter periods react faster, while longer periods smooth out the momentum.
Volume Period: This setting controls how the volume pressure is calculated. Adjust it based on the timeframe and market you're trading.
Energy Multiplier: Customise this to fine-tune the energy surge signals. Higher multipliers filter out weaker surges, focusing only on the strongest movements.
Vmoon Trend TableVmoon Trend Table Indicator
The **Vmoon Trend Table Indicator** is a powerful tool designed for traders who want to track trends across multiple timeframes and identify key pivot points that signal trend changes. This indicator provides a visual representation of trends in different timeframes through a convenient table, which can be positioned either at the top or bottom of the chart. It is particularly useful for those who prefer trading with the trend and need to monitor higher timeframes for stronger signals.
#### Key Features:
1. **Multi-Timeframe Trend Detection**:
- The indicator analyzes up to four different timeframes simultaneously, allowing traders to observe trends from shorter to longer timeframes.
- The user can select which timeframes to monitor, making it adaptable to various trading strategies.
2. **Pivot Point Analysis**:
- The Vmoon Trend Table identifies trends based on pivot points, which are defined by higher highs and higher lows for uptrends, and lower highs and lower lows for downtrends.
- Users can customize the lookback period to define these pivot points, offering control over the sensitivity of trend detection.
- A choice between using the high/low or close price for pivot calculations is available, allowing further customization.
3. **Visual Representation**:
- The indicator provides a table showing the current trend direction (uptrend or downtrend) for each selected timeframe.
- Trends are visually indicated by up or down arrows, colored appropriately to represent bullish or bearish trends.
- The table can be positioned at the top or bottom of the chart, based on user preference.
4. **Support and Resistance Levels**:
- The indicator can display support and resistance lines based on the most recent swing high/low points for each timeframe.
- These lines help traders visualize critical levels where trends might change, enabling better decision-making.
5. **Historical Pivot Points**:
- Users can toggle the visibility of historical pivot points on the chart, aiding in the evaluation of trend consistency and the placement of these points.
6. **Optimized Performance**:
- The script is optimized to reduce the number of security calls, ensuring it runs efficiently even when tracking multiple timeframes.
- Revisions have focused on improving speed and allowing users to reposition the information table according to their needs.
#### How to Use:
1. **Set Timeframes**: Choose the timeframes that you want to monitor for trends. The indicator supports up to four different timeframes.
2. **Define Pivot Points**: Adjust the lookback period to define how pivot points (highs/lows) are calculated. Select whether to use high/low or close prices for this calculation.
3. **Monitor the Trend Table**: Observe the trend direction indicated in the table. Use this information to confirm the overall trend before making trading decisions.
4. **Watch Support/Resistance Levels**: If enabled, use the support and resistance levels drawn from higher timeframe pivots to anticipate potential trend reversals.
5. **Fine-Tune Settings**: Customize the indicator's display, such as repositioning the trend table, adjusting line widths, or changing colors, to fit your trading style.
zavaUnni-MTF_Volume-Based AnalysisThis Pine Script is designed for volume-based analysis across multiple timeframes. Users can select a specific timeframe, and based on the selected timeframe, the script calculates and projects key price levels such as potential highs and lows. The script also identifies significant buy and sell volumes, displaying them visually on the chart through lines and labels.
Key Points:
1.Timeframe Selection and Volume Analysis:
The script allows users to select a timeframe through an input field.
The selected timeframe is used as the basis for all subsequent volume and price calculations.
The core function vol_dir(string _TF) computes projected highs and lows based on volume data. This function determines whether the market is in a bullish or bearish phase by calculating the spread (spred) and its rate (spred_rate), and then averaging these over the selected timeframe.
2.Projected High and Low Calculation:
-Green Line: Represents the volume-based projected high for the selected timeframe (e.g., 1D).
This line acts as a key resistance level, and if the price reaches or exceeds this level, it serves as support.
-Red Line: Represents the volume-based projected low for the selected timeframe.
This line acts as a support level, and if the price reaches or falls below this level, it serves as resistance.
3.Price and Volume Indicators:
-Blue Line: Marks the previous 1D closing price, giving traders an additional reference point for recent price action.
-Green Dotted Line: Indicates the previous 1D projected high. This line serves as historical context for traders, showing where resistance was expected in the past.
-Red Dotted Line: Shows the previous 1D projected low, similarly providing historical support levels.
4.Trading Implications:
If the price breaks above the Green Line, it suggests strong bullish momentum, making short entries riskier.
Conversely, if the price drops below the Red Line, it indicates strong bearish momentum, where long entries should be avoided.
5.Volume Summation and Percentage Calculation:
The script tracks the buy and sell volumes over the selected timeframe, storing these in arrays.
It then calculates the total buy and sell volumes, along with their respective percentages of the total volume. These percentages help in assessing the relative strength of buyers versus sellers.
6.Visual Representation:
The script plots various lines representing the projected high, low, and real-time closing price.
Additionally, it uses the label function to display the buy and sell volume percentages directly on the chart.
A table is also generated at the bottom of the chart, summarizing the information for easy reference.
7.Dynamic Updates:
The script dynamically updates the projected lines and labels based on new data as it becomes available, ensuring that traders always have the latest insights.
The timeframe.change function triggers recalculations and updates the last high, low, and close values whenever the timeframe shifts.
Conclusion:
This script is a powerful tool for traders who rely on volume-based analysis to make informed decisions. By projecting key levels based on volume and price action, it helps identify critical support and resistance zones. The visual elements, including lines, labels, and tables, make it easier for traders to interpret the data and act accordingly. Whether trading intraday or on longer timeframes, this script provides a robust framework for assessing market conditions and planning trades
50%er Lite by Tren10x50%er Script Lite
Overview:
The Tren10x 50%er Script Lite is a streamlined version of my fully-featured 50%er script. It calculates the critical 50% line of the previous candle and extends this functionality to daily, weekly, monthly, quarterly, and yearly levels. This script also detects previous highs and lows for these timeframes, providing a comprehensive view of key price levels. Additionally, it calculates and prints opening levels for the day, week, month, quarter, and year. A custom timeframe feature allows for flexibility in setting 50% and high/low levels, catering to individual trading preferences.
How It Works:
The script leverages Pine Script to calculate the midpoint (50%) of the previous candle's high and low. This midpoint acts as a crucial level for traders to identify potential support and resistance. The same logic is applied to daily, weekly, monthly, quarterly, and yearly timeframes, offering a multi-dimensional perspective on price action.
The script identifies and marks the previous high and low points for these timeframes, which are essential for breakout and breakdown strategies. It also tracks and prints the opening levels for various periods, helping traders gauge market sentiment from the open.
How to Use:
Adding to Chart:
Apply the Tren10x 50%er Script Lite to your TradingView chart.
Configuring Inputs:
Customize the timeframes and levels according to your trading strategy.
Use the custom timeframe feature to set specific periods for 50% and high/low levels.
Analyzing Levels:
Observe the plotted 50% lines and opening levels to identify potential areas of support and resistance.
Utilize the previous high and low markers to spot breakout or breakdown points.
Strategizing Trades:
Incorporate these levels into your trading strategy for entry and exit points.
Monitor price reactions around these critical levels for potential trade setups.
What Makes It Original:
50%er Lite stands out for its simplicity and precision. By focusing on the essential 50% line and previous high/low levels across multiple timeframes, it provides traders with a clear and concise view of the market. The custom timeframe feature adds a layer of personalization, allowing traders to adapt the script to their unique trading styles.
50%er Lite maintains a clean and straightforward approach. It offers essential data without overwhelming the user, making it a valuable tool for both novice and experienced traders.
Future Prospects:
For traders seeking even more advanced features, the fully-fledged version of the 50%er script includes Futures levels.
Volume-Weighted Support and Resistance with ProjectionsVolume-Weighted Support and Resistance with Projections (VW-SRP)
Overview
This TradingView PineScript indicator, "Volume-Weighted Support and Resistance with Projections" (VW-SRP), identifies key support and resistance levels based on volume-weighted average price (VWAP), short-term highs and lows, and projects future levels using standard deviation. It also provides a dashboard displaying the strength of each level based on the number of volume-based taps.
Features
VWAP Calculation: Computes the volume-weighted average price over a specified lookback period.
Support and Resistance Levels: Identifies short-term high and low levels within a rolling window.
Projected Levels: Calculates projected high and low levels based on standard deviation.
Volume-Based Strength: Counts the number of times each level is tested with significant volume.
Dynamic Labels: Displays labels for key levels and updates their positions periodically.
Dashboard: Shows the strength of each level in terms of volume-based taps.
Inputs
Lookback Period: Number of bars to consider for VWAP calculation (default: 100).
Projection Period: Number of bars for projecting future levels (default: 10).
Projection Offset: Number of bars to offset labels into the future (default: 15).
Update Interval: Frequency of updating labels and dashboard in bars (default: 5).
Standard Deviation Multiplier: Multiplier for calculating projected levels (default: 2.0).
Rolling Window: Number of bars for identifying short-term highs and lows (default: 20).
Volume Threshold: Minimum volume for counting taps (default: 1000).
Show Labels: Toggle for displaying labels on the chart (default: true).
Custom Colors
Light Red: color.rgb(255, 99, 71, 90)
Dark Red: color.rgb(205, 92, 92, 90)
White: color.new(color.white, 90)
Deep Orange: color.new(#f46200, 90)
Light Green: color.rgb(144, 238, 144, 90)
Text Color: color.white
Configuring the Indicator
Lookback Period: Set the number of bars for VWAP calculation.
Projection Period: Define the number of bars for projecting future levels.
Projection Offset: Set the number of bars to offset labels.
Update Interval: Choose how often the labels and dashboard should update.
Standard Deviation Multiplier: Adjust the multiplier for projected levels.
Rolling Window: Define the window for identifying short-term highs and lows.
Volume Threshold: Set the minimum volume for counting taps.
Show Labels: Toggle to display or hide labels.
Interpreting the Indicator
VWAP: The volume-weighted average price over the specified lookback period.
Short-term High/Low: The highest and lowest prices within the rolling window.
Projected High/Low: Future projections based on standard deviation.
Dashboard: Displays the strength of each level in terms of volume-based taps.
Visual Elements
Labels: Display the price levels and their respective values.
Dashboard: Located at the bottom-right corner of the chart, showing the number of taps for each level.
Example Usage
To use this indicator effectively, look for price reactions around the VWAP and projected levels. Strong volume-based taps at these levels indicate significant support or resistance. Adjust the input parameters to match your preferred timeframe and trading style
Important Levels by Sandun Kolambage
### Pine Script Indicator: Important Levels by Sandun Kolambage
#### Description
Introducing our new pivot point and high/low indicator for TradingView! This indicator is designed to help traders identify key levels of support and resistance across different timeframes, from daily to yearly. By analyzing historical data and market trends, our indicator displays the most important pivot points and high/low levels, giving you a better understanding of market dynamics and potential trading opportunities.
Whether you're a day trader, swing trader, or long-term investor, our indicator can help you optimize your trading strategy and achieve your financial goals. Install our indicator on TradingView today and start taking advantage of these important levels!
#### Key Features
- **Daily, Weekly, Monthly, and Yearly Levels:** Automatically plots the open, high, low, and close prices for different timeframes to help traders identify significant levels.
- **Pivot Points:** Calculates and displays pivot points for weekly, monthly, and yearly timeframes, providing additional support and resistance levels.
- **Customizable Line Styles:** Offers options to customize the appearance of the lines (solid, dashed, or dotted) for better visualization.
- **Conditional Coloring:** Uses color coding to highlight the relationship between different timeframe closes, making it easy to spot important levels.
#### How It Works
1. **Daily, Weekly, Monthly, and Yearly Levels:**
- The indicator uses `request.security` to fetch and display open, high, low, and close prices for daily, weekly, monthly, and yearly timeframes.
- Lines are plotted at these key levels with colors indicating their relationship to closes of other timeframes.
2. **Pivot Points:**
- Pivot points are calculated using the formula \((High + Low + Close) / 3\).
- These pivot points are plotted on the chart and labeled clearly to indicate potential support and resistance areas.
3. **Customizable Line Styles:**
- Users can select from solid, dashed, or dotted lines to represent the key levels and pivot points for better clarity and personal preference.
4. **Conditional Coloring:**
- The indicator applies conditional coloring to the lines based on the comparison of current close prices across different timeframes. Yellow indicates lower closes, and red indicates higher closes, making it easy to identify important price levels quickly.
#### Usage Instructions
1. **Enable Key Levels:**
- Toggle the "Daily Weekly Monthly High/Low" option to display or hide the respective levels.
- Select your preferred line style (solid, dashed, dotted) for better visibility.
2. **Display Pivot Points:**
- Toggle the "Pivot" option to show or hide the weekly, monthly, and yearly pivot points on the chart.
3. **Interpret Color Coding:**
- Yellow lines indicate levels where the close price is lower compared to a specific timeframe close.
- Red lines indicate levels where the close price is higher compared to a specific timeframe close.
- Specific colors for yearly levels and pivots are used to distinguish them clearly on the chart.
By following these guidelines, traders can effectively use this indicator to identify critical price levels and make informed trading decisions.
PCH & PCL Indicator with Bias and Target TablePCH & PCL Indicator with Bias and Target Table
Description:
The "PCH & PCL Indicator with Bias and Target Table" is designed to help traders identify critical price levels and understand market bias. This indicator focuses on Previous Candle High (PCH) and Previous Candle Low (PCL) to determine potential breakouts and reversals, providing valuable insights for various market conditions.
Key Features:
PCH and PCL Levels:
The indicator calculates the high and low of the previous candle to establish PCH and PCL levels, which are essential for identifying potential support and resistance zones.
These levels are visually represented on the chart through rays and labels extended to the right for easy reference.
Market Bias Detection:
The indicator evaluates market bias based on the closing price relative to PCH and PCL levels:
Bullish Bias: Triggered when the closing price exceeds the previous high.
Bearish Bias: Triggered when the closing price drops below the previous low.
Neutral Bias: Indicated when there are no significant breakouts or reversals.
Reversal Conditions:
The indicator checks for potential reversal patterns:
Reversal Up: Occurs when the low dips below the previous low, but the closing price recovers above it.
Reversal Down: Occurs when the high surpasses the previous high, but the closing price falls below it.
These conditions help traders anticipate potential trend changes.
Bias and Target Table:
A table is displayed at the bottom-right corner of the chart, summarizing the current market bias, PCH, and PCL values.
The table provides a quick and comprehensive view of the market state, aiding in prompt decision-making.
Customization:
Traders can choose to show or hide labels for PCH and PCL levels.
Label positions can be customized using X and Y offset inputs to fit individual preferences and chart setups.
How It Works:
The indicator updates the previous high and low values at the close of each candle. It then evaluates the market bias based on the relationship between the closing price and the previous high/low levels. If a breakout or reversal condition is met, the indicator updates the bias status and reflects it in the bias and target table.
Use Cases:
Trend Following: Identify and follow significant breakouts above PCH or below PCL levels to capitalize on momentum.
Reversal Trading: Detect potential reversal points using reversal up/down conditions to enter trades counter to the prevailing trend.
Support and Resistance: Utilize PCH and PCL levels as dynamic support and resistance levels for setting stop-loss and take-profit targets.
Unique Value Proposition:
The "PCH & PCL Indicator with Bias and Target Table" stands out by integrating critical price levels with dynamic market bias detection, providing traders with a comprehensive tool for analyzing market trends and reversals. Its customizable features and easy-to-interpret visuals make it an indispensable addition to any trader's toolkit.