TrendBoxThis indicator is called "TrendBox," designed to help traders analyze daily price ranges using several technical indicators. Below is a breakdown of its functionality, purpose, and key components:
Purpose
The script overlays indicators on a chart to assess whether the price is above or below key levels:
VWAP (Volume Weighted Average Price, based on the chart's timeframe).
Daily Market Open (fetched from the daily timeframe).
Daily 4-period VWMA (Volume Weighted Moving Average, fetched from the daily timeframe).
VIX-based expected range (high and low levels calculated using the VIX index).
It also displays a status box (optional) summarizing whether the price is above or below these levels, helping traders quickly evaluate market conditions.
Pontos e níveis de pivô
OI GridTo draw a horizontal line that compares spot and future prices, users can select a symbol and an OI range for each asset.
Adaptive ATR LimitsThis script plots adaptive ATR limits for intraday trading. It is intended for equities. It is not tested for other securities like futures, crypto, etc, though it may work for these too. It works for both regular trading hours and extended trading hours.
The limit lines (top and bottom) are always exactly 1 ATR/ADR apart. This is a key feature of the indicator.
The main mode is ATR, which includes overnight gaps and pre- and post-market movements. This also means the previous day close is considered to part of the current days range (which aligns with the definition of ATR). There is also an ADR mode, which uses the average range the price moves within regular hours only and is not affected by prices outside of these. Other than that, they work the same (including ATR/ADR length option and smoothing).
When in ADR mode, it treats premarket as a separate session from the regular/post-market and resets the session range at the regular market open. This is so it can plot the limits in the regular/post-market hours without being affected by the pre-market range. This is necessary since the daily ADR includes only regular market moves and due to the way the limits adapt.
It tries to plot the most sensible ATR limits based on the current daily ATR, in order to provide a visual target for how far a price could/should move intraday. In order to do this, it uses two methods to calculate limits, i) based on the mid-point of the current session range, and ii) based on the currently established range and current relative price position within that range.
The session starts using the first method. As more of the ATR is covered in the session, it transitions over of the second method. Once (if) the full ATR is covered within the session, it will have completely transitioned to the second method and will only use that for the rest of the session. In between these states, a weighted average of the two methods is used depending on the amount of the ATR the session has covered.
To explain the effect, as an example, imagine that the price is approaching the full ATR range on the high side. The indicator will have almost fully transitioned to the second (relative) method. The lower ATR limit will now be anchored to the daily low as the price hits the upper ATR limit. If the price goes beyond the upper ATR, the lower ATR limit will stay anchored to the daily low, and the upper limit will stay anchored to 1 ATR above the lower limit. This allows you to see how far the price is going beyond the upper ATR limit. If the price then returns and backs off the upper ATR limit, the lower ATR limit will un-anchor from the daily low (it will actually rise since the daily ATR range has been exceeded so the lower ATR limit needs to come up since the actual daily range can't fit into the ATR range anymore). The overall effect is to give you the best visual indication where the price is in relation to a possible upper ATR-based target. Reverse this example for when price low approaches the ATR range on the low side.
There is also a "basic mode" which simply plots 1 ATR/ADR above/below the session low/high. When using ADR, the session resets at the end of the pre-market.
The ATR length (averaging period) can be set (number of days), as well as a visual smoothing of the ATR limits using EMA.
MTF RSI & SMA Crossover [OB/OS Filtered Signals]MTF RSI & SMA Crossover
This custom indicator combines the power of Multi-Timeframe (MTF) RSI, Simple Moving Average (SMA), and overbought/oversold (OB/OS) conditions to provide precise buy and sell signals based on the crossovers of the RSI and its SMA. The indicator includes the following features:
MTF RSI: The Relative Strength Index (RSI) is calculated on a customizable timeframe, giving traders the ability to analyze price momentum across different timeframes.
SMA of RSI: The RSI is smoothed using a Simple Moving Average (SMA), helping to filter out market noise and identify clearer trend reversals.
Overbought/Oversold Filter: Signals are only triggered when the RSI has been in an overbought (above 70) or oversold (below 30) condition, improving the reliability of potential trend reversals.
Buy/Sell Signals:
Buy signals occur when the RSI crosses above its SMA after being oversold, indicating potential upward momentum.
Sell signals occur when the RSI crosses below its SMA after being overbought, indicating potential downward momentum.
Customizable Label Colors: Choose your own colors for the "BUY" and "SELL" labels to match your chart's design and preferences.
Alerts: Set alerts for buy and sell signals, ensuring you don't miss a potential trade.
This indicator is ideal for traders who want to capture trend reversals and momentum shifts while filtering out false signals by using overbought and oversold conditions. Customize the settings to suit your trading style and strategy.
SHA Pivot Tracker-[1.4.5]SHA Pivot Tracker
The SHA Pivot Tracker is a powerful all-in-one tool designed to help traders identify key price levels and market behavior with precision. This indicator is ideal for day traders and swing traders who want to gain an edge in the market using critical reference points.
🔍 Features:
- Pivot Points: Automatically plots classic pivot points to identify potential reversal or breakout zones.
- PDH & PDL (Previous Day High & Low): Easily track where price reacted yesterday with clear high and low markers.
- Midnight Open: Marks the open price at midnight (00:00), a key level used by smart money and institutional traders.
- NDOG & NWOG: Visualize the New Day Opening Gap and New Week Opening Gap to spot possible imbalance areas or future price magnet zones.
- Weekly ADR: Displays the Average Daily Range over the week, helping you measure volatility and set realistic price targets.
Really Key LevelsThis is an indicator showing (only) the most important trading levels. It works (at least) for US and European equities, and US futures.
It shows Regular Trading Hours (RTH) High/Low (today and yesterday), RTH open, pre-market (PM) H/L (today and yesterday), RTH close (yesterday and 2 days ago), with nice labels. By default, only the most important of these are enabled.
It indicates the bar associated with the value of a line starting at that bar, and updates dynamically. There is an option to extend the lines right and left. With futures, you can change the hours which are considered to be RTH. This affects the (PM) H/L time window over which these values are evaluated.
Daily Levels & Stats Pro - [Aspect] v4.0# Description of the "Daily Levels & Stats Pro - v4.0" Indicator
This indicator is a powerful tool for market analysis through the lens of key daily levels and statistical price movement indicators. It allows you to display important trading session opening levels, daily statistical movements, and high volatility zones on the price chart.
## Main Indicator Functions:
### Key Time Levels:
- **Daily Open (DO)** - daily trading session opening level at 02:00
- **NY Midnight (NYM)** - New York session opening level at 06:00
- **Trade Open (TO)** - active trading opening level at 10:00
### Analysis Zones:
- **Previous Close Zone (PCZ)** - previous day's closing zone (displayed on M5 timeframe)
- **Open Day Zone (ODZ)** - current day's opening zone (displayed on M5 timeframe)
### Statistical Price Movement Levels:
- **Min** - minimum statistical movement from DO
- **Max** - maximum statistical movement from DO
- **Aver** - average statistical movement from DO
- **Dev-** - lower deviation of movement from DO
- **Dev+** - upper deviation of movement from DO
### TO Impulse Movement Statistical Levels:
- **Aver TO** - average statistical movement from TO
- **Dev+ TO** - upper deviation of movement from TO
- **Max TO** - maximum statistical movement from TO
## Indicator Features:
- Complete customization of colors, styles, and line widths for all levels
- Ability to select time for each main level
- Adjustment of the number of bars for level display
- Automatic calculation of level values relative to DO and TO
- Visual display of TO-levels starts 3 bars before the actual TO point, providing better visual perception
- Ability to enable/disable individual levels and zones
- Automatic updates and resets when the day changes
- Adaptive text labels to mark levels
This indicator is excellent for traders who use statistical data and daily support/resistance levels in their trading strategy. It is particularly useful for DAX40 and other highly liquid instruments where daily trading statistics are important for making trading decisions.
Binanace Liquidation LevelsIt shows you the liquidity levels for Binance at specific set levels. These levels can be seen as magnets for price action. The indicator only works for Crypto!!!
Horizontal Price TableOverview:
This script displays a dynamic price table on your chart, showing real-time prices and daily percentage changes for up to 7 user-defined tickers. You can customize both which tickers are shown and how many are visible, all through the settings panel.
How it works (Step-by-Step):
User-Defined Tickers:
The script provides input fields for up to 7 tickers using input.symbol(). You can track stocks, indexes, ETFs, crypto, or futures — anything supported by TradingView.
Choose How Many to Display:
An additional dropdown lets you choose how many of the 7 tickers to actually display (between 1 and 7). This gives you control over screen space and focus.
Market Data Fetching:
For each displayed ticker, the script fetches:
The current day’s closing price (close)
The previous day’s closing price (close )
This data is pulled using request.security() on the daily timeframe (1D).
% Change Calculation:
The script calculates the daily percentage change using:
(Current Price−Previous Close)/Previous Close×100(Current Price−Previous Close)/Previous Close×100
Cleaned Ticker Names:
Ticker symbols often include an exchange prefix like NASDAQ:AAPL. The script automatically removes anything before the colon (:), so only the clean symbol (e.g., AAPL) is shown in the table.
Table Display:
A visual table appears at the top-center of your chart, showing:
Row 1: Ticker symbol (cleaned)
Row 2: Current price (rounded to 2 decimals)
Row 3: Daily % change (green for gains, red for losses)
Customization:
You can choose the background color of the table.
Ticker names appear in white text with a gray background.
% change is color-coded: green for positive, red for negative.
Why Use This Script?
Track multiple tickers at once without leaving your chart.
Clean, customizable layout.
Useful for monitoring watchlists, portfolios, or related markets.
Tips:
Combine this with your favorite indicators for a personalized dashboard.
Works great on any chart or timeframe.
Ensure the tickers entered are valid on TradingView (e.g., SPY, BTCUSD, NQ1!, etc.).
Semaphore📌 Indicator Description: Semaphore
The Semaphore indicator plots three key moving averages on the current asset's price, allowing users to select between SMA (Simple Moving Average) or EMA (Exponential Moving Average), and to choose whether the calculation should be based on the daily timeframe or the current chart timeframe.
🔧 Customizable Parameters:
Moving average type: SMA or EMA.
Data source: Daily timeframe or current chart timeframe.
Fixed lengths: 10 (short-term), 21 (medium-term), and 50 (long-term).
🎯 What does it do?
Calculates and plots the three selected moving averages.
Automatically adapts to the chosen timeframe (e.g., display daily averages on a 1h chart).
Color-coded lines for easy visual distinction:
🔵 Blue for the 10-period MA
🟡 Yellow for the 21-period MA
🔴 Red for the 50-period MA
🌟 Benefits and Advantages:
Timeframe flexibility: Follow higher timeframe trends (daily) while trading on lower timeframes.
Clean and quick visual reference: With just three colored lines, you get a clear view of short, medium, and long-term trends.
Perfect for “traffic light” strategies: For example, all MAs aligned in one direction can indicate strong trend confirmation.
Universal use: Works seamlessly with any asset — stocks, crypto, forex, indices, and more.
Breakout Swing High LowIdentify swing high and swing low reversal points by comparing the price with previous and subsequent candles. Then, wait for the price to break those swing highs or swing lows to generate a signal.
10K's 4Levels for CME10K’s 4Levels for CME|A Navigation Tool for Market Opening Structure
This is a TradingView visual tool designed for CME index futures traders, helping you grasp the structural foundation and potential market direction before the New York session begins.
It consists of four key price levels:
ETH High & Low
The highest and lowest prices during the full electronic trading session (starting at 6:00 PM the previous day), representing the full range of market positioning before the U.S. equity market opens.
ETH Open (Daily Candle Open)
The opening price at the start of the ETH session, which marks the beginning of the futures daily candle. This price reflects the first valuation by market participants, especially market makers.
RTH Open (New York Open)
The opening price of the regular trading session, aligning with the U.S. cash market open.
This price is the starting point of my trading session and determines half the shape of the day’s futures daily candle.
Tool Function & Purpose
The 4Levels indicator is not a prediction tool or signal generator—it's a scene-setting mechanism for your daily price playbook. With these four levels, you can:
Distinguish between pre-market sentiment and actual post-open price movements.
Clearly identify the starting point of your trading narrative, avoiding misguidance from early session noise.
Combine with daily and 465K charts to imagine possible intraday structures and narrative paths.
Use it alongside 30K for entry timing and price positioning, then fine-tune entries with 3K or 5K charts.
Recommended Use
This tool is ideal for intraday traders who focus on the first 1–3 hours after the New York open. If your trading approach is built around structure rather than signals, if you care about the relationship between opening prices and subsequent movement, and if you value rhythm and behavior over predictions—then this tool provides a clean, logical, and intuitive framework.
10K’s 4Levels for CME|市場開盤結構的導航工具
這是一個為美國CME指數期貨設計的TradingView視覺工具,協助你在紐約開盤前,快速掌握市場的結構基礎與潛在推演方向。
它由四條關鍵價位構成:
ETH高低點
電子盤全時段(前一日18:00起)至紐約開盤前的高點與低點,代表所有交易者在美股開盤前所參與的完整價格範圍。
電子盤開盤價(日K開盤)
電子盤開啟瞬間的開盤價,對我而言也是當天「期貨日K」的起點,象徵造市者與市場的第一個定價。
紐約開盤價(RTH開盤)
現貨盤開始之際,小那斯達克期貨的開盤價,是日內決戰的起點。
這條價位,是我交易時間的起點,也決定了日K的一半樣貌。
工具功能定位
「4Levels」不是預測工具,也非訊號指標,而是一份價格劇本的基礎場景設定。透過這四條線,你能:
區分哪段波動來自開盤前的市場情緒,哪段則是現貨開盤後的實質推進。
明確劃出交易起點,不被模糊的早盤波動誤導。
結合日K與465K,設想當天日內結構可能發展的方向與路徑。
搭配30K圖表進行進場時點與位階判斷,再用3K/5K精準入場。
使用建議
本工具適合專注於紐約開盤後 1~3 小時的日內交易者。若你習慣用結構而非訊號進行交易、關注開盤價位置與推進狀況、重視市場節奏與行為邏輯,而不是預測高低點,那麼這會是一套非常直觀、乾淨且有邏輯的視覺輔助工具。
Adaptive Support & Resistance Levels [StabTrading]The Adaptive S&R Levels indicator is designed to study support and resistance levels by synthesizing multiple well-known techniques for identifying these zones. It aims to provide traders with reliable price levels that reflect the collective perspective of market participants, using historical price action and projective techniques for extreme conditions.
💡 Introduction: Identified Problem
Traders often draw support and resistance lines using varied methods, leading to inconsistencies in where these levels are placed on charts. This variability can reduce the effectiveness of individual levels, as price may not react strongly to zones that lack broad recognition. The Adaptive S&R Levels indicator addresses this by aggressively averaging multiple established techniques to create support and resistance lines that align with what most traders are likely to identify, increasing the probability of price reactions.
🚀 How it Works: Overview
The indicator employs a multi-technique algorithm to generate support and resistance levels, ensuring they represent a consensus of trader perspectives.
🚀 How it Works: Chart Levels Display and Styling
Support levels, displayed in green below the current price, and resistance levels, shown in red above the price, are plotted clearly on the chart. Levels are numbered sequentially (e.g., v1, v2) as they move further from the current price, providing a visual hierarchy of proximity. Extreme levels, labeled as "Extreme Support" or "Extreme Resistance," are plotted in a bolder color to distinguish them as the outermost boundaries, maintaining the same green (support) and red (resistance) color scheme for consistency.
🚀 How it Works: Historical Price Action Algorithm
For areas with available historical data, the algorithm analyzes price action using a variety of recognized methods for drawing support and resistance, such as pivot points, swing highs/lows, and volume-based zones. It calculates a weighted average of these techniques to produce a “regression fit” line that reflects the accumulation of levels traders might draw. By prioritizing areas where multiple methods converge, the indicator identifies zones likely to be significant to a wide audience, enhancing their relevance.
🚀 How it Works: Projective Techniques Algorithm
In scenarios without recent historical price action—such as all-time highs or lows—the indicator employs an alternative algorithm that combines projective techniques commonly used by traders. These include Fibonacci extensions, Measured Moves (price projections), Psychological Milestones (e.g., round numbers), Channel/Trendline Extrapolation, and Time-Based Targets (inspired by methods like Gann techniques). The algorithm seeks a confluence of these methods to draw support and resistance levels that align with what most traders would consider significant in such conditions. These levels maintain the same green (support) and red (resistance) color scheme, with numbering based on their distance from the price.
🚀 How it Works: Noise Parameter Adjustment
Users can adjust a noise parameter to control the number of displayed levels. Lower settings show more lines, reflecting a broader range of potential zones but with less confluence. Higher settings increase the required confluence of techniques, resulting in fewer lines that have a higher probability of eliciting a price reaction. This customization allows traders to tailor the indicator to their preferred timeframe or trading style.
🔥 Features
Confluence-Based Levels: Support and resistance lines are derived from a weighted average of multiple techniques, aiming to mirror the levels most traders would recognize.
Extreme Levels: Generates support and resistance in areas without historical price action, using techniques like Fibonacci extensions and Measured Moves.
Color-Coded Display: Green support levels appear below the current price, and red resistance levels appear above, with extreme levels in a bolder shade for distinction.
Adjustable Noise Parameter: Users can modify the confluence threshold to display more lines (lower settings) or fewer, higher-probability lines (higher settings).
📈 Implementing the System
1. Adjust Settings
Set the noise parameter based on your trading style (0.1 to 10).
Use lower values for more frequent levels, suitable for scalping or short-term analysis.
Use higher values for fewer, higher-confluence levels, ideal for swing trading or longer-term strategies.
Adjust for your timeframe: Settings tend to be lower on shorter timeframes and higher on longer timeframes.
2. Identify Levels
Monitor green support levels below the price for potential buying zones, noting their numbered proximity (v1, v2, etc.).
Observe red resistance levels above the price for potential selling or shorting zones, noting their numbered proximity.
Note extreme levels (labeled "Extreme Support" or "Extreme Resistance") in areas like all-time highs, which may act as key reversal points.
3. Evaluate Price Reactions
Track how price interacts with the plotted levels to assess their effectiveness, considering their proximity to price.
Observe performance in bullish, bearish, or ranging markets to understand the indicator’s behavior at different levels.
Test different noise parameter settings across various assets and timeframes to find the optimal balance for your approach.
4. Layering Trades with Levels
Use the numbered levels to layer into a trade: for example, enter a partial position at a closer support level (e.g., v1) and add to it at a further level (e.g., v2) if price continues to decline, spreading risk across multiple zones.
Layer out of a trade by taking partial profits at each resistance level as price rises (e.g., reduce position at v1, then v2), or fully exit at an "Extreme Resistance" level to maximize gains while managing exposure.
🔶 Conclusion
The Adaptive S&R Levels indicator provides a framework for studying support and resistance by averaging multiple trader-recognized techniques. With its ability to handle both historical and extreme price scenarios, numbered levels for visual hierarchy, and customizable noise settings, it offers a versatile tool for analyzing key price levels. Designed for educational use, it encourages traders to test and observe how these consensus-driven levels align with market behavior within broader analysis.
Teddy LiteOverview
"Teddy" overlays key price levels—Daily Open (DO), Average Daily Range (ADR), and ADR Extensions (ADE)—on intraday charts. Designed for traders, it provides a clear framework to align with market ranges, avoid choppy price action, and stay out of overbought/oversold conditions, enhancing decision-making in dynamic markets.
Originality and Usefulness
"Teddy" uniquely combines DO, ADR High/Low, and ADE High/Low with dynamic percentage labels, while offering a concise view of price boundaries for daily Highs and Lows.
What It Does
Plots DO, ADR High/Low, and ADE High/Low as levels on the chart.
Labels each level with percentage distances from the current price (e.g., "ADRH (2.34%)").
Customizes visuals for clarity (colors, line styles, label sizes).
How It Works
Data Sources: Retrieves daily open and historical high/low data to compute ranges.
Calculations:
Daily Open (DO): Marks the session’s opening price.
ADR: Estimates typical daily range from past data, centered on DO to set High/Low bounds.
ADE: Extends ADR by a fixed percentage for outer limits.
Visualization: Updates lines and labels live, with user-defined colors, styles, and sizes.
How It Helps Traders
"Teddy" guides traders to avoid chasing markets in extended conditions:
Respecting the range: ADR High/Low define range-friendly zones—price above DO nearing ADR High signals bullish momentum is peaking, while below DO near ADR Low supports bearish momentum peaking.
Avoiding Choppy Conditions: Price lingering near DO often indicates indecision; "Teddy" highlights this level, helping you define balanced market conditions that favor choppy conditions.
Steering Clear of Overbought/Oversold: ADE High/Low mark extended levels where reversals are extremely—price hitting ADE Highlights the trend strength on the day but warns price is extremely over extended.
This structured approach keeps trades aligned with the markets average range, so traders can avoid extremes favorable levels for choppiness.
How to Use It
Apply to an intraday chart (e.g., SPY 5m).
Customize via inputs:
"Appearance Settings": Colors, line styles (Solid, Dotted, Dashed), widths (1-6), label visibility, and sizes (Tiny to Huge).
Watch levels: Consider reducing risk as the market approaches our ADRH/L levels. Trades can also play breakouts/failed breakouts at ADR High/Low or at ADE High/Low. Additionally remaining patient while the auction remains in balance near Day Open is an option as well.
Underlying Concepts
Range Dynamics: ADR reflects average daily volatility, DO anchors context, and ADE flags extensions.
Price Action: Levels highlight Volatility/Range (ADR) versus consolidation (DO) or expansive exhaustion (ADE).
Limitations
Optimized for day traders during live sessions; less effective in low-volatility periods.
Requires sufficient historical data for accurate ADR/ADE.
Levels are contextual and where I expect reactive price action to occur.. They are not guaranteed signals.
Volume NodesVolume Nodes Indicator:
What This Indicator Does:
The Volume Nodes indicator identifies and visualizes statistically significant volume events on your chart, helping you identify important price levels where substantial trading activity has occurred. Unlike standard volume indicators, Volume Nodes:
Uses statistical analysis (z-scores) to identify truly abnormal volume bars
Calculates accurate buy/sell volume ratios by analyzing all lower timeframe data
Identifies the Volume Point of Control (VPOC) for high volume areas
Visualizes significant volume ranges as they extend across the chart
Tracks when price interacts with these important levels
Key Features:
High Volume Detection: Highlights bars with unusually high volume (z-score above threshold)
Low Volume Detection: Highlights bars with unusually low volume (z-score below threshold)
VPOC Lines: Horizontal lines showing the exact price level with maximum volume concentration
Volume Range Fills: Shaded areas showing the entire price range with significant volume
Accurate Volume Metrics: Shows true buy/sell volume ratios or delta percentages derived from lower timeframe data
How to Use It in Your Trading: **Move to front in the visual order on chart**
Step 1: Identify Important Volume Zones
High Volume Bars (green/red candles) indicate where significant buying or selling has occurred
VPOC Lines extending from these bars show you the exact price level with highest volume
Range Fills show you the entire zone where significant volume occurred
Step 2: Use These Levels for Trading Decisions
Support/Resistance: VPOC lines often act as support or resistance levels
Breakout Validation: Breakouts on high volume are more likely to be valid
Low Volume Warning: Low volume bars (yellow) often indicate indecision or potential reversals
Trading with Volume Flow: Use the buy/sell ratio or delta % to confirm the strength and direction of moves
Step 3: Monitor Price Interaction with Volume Zones
When price approaches a VPOC line, watch for reaction (bounce or breakout)
When price enters a volume range area, increased volatility often follows
When price crosses a VPOC line, the line changes transparency indicating it's been tested
Tips for Optimal Use
Higher Timeframes: The indicator works exceptionally well on higher timeframes (4H, daily, weekly) where volume patterns are more significant
Range Trading: Use volume nodes to identify the boundaries of trading ranges
Combine with Price Action: Look for price action confirmation (rejections, engulfing patterns) at VPOC levels
Multiple Timeframe Analysis: Compare volume nodes across different timeframes to find confluent levels
Alert Setup: Set up alerts for when price enters important volume zones or crosses VPOC lines
Reversal Signals: High volume bars with significant wicks often signal exhaustion points where smart money is transferring positions. Bullish candles with long upper wicks suggest sellers absorbing buying pressure at highs, while bearish candles with long lower wicks indicate buyers stepping in at lows - both potentially signaling momentum shifts that precede reversals.
The indicator is particularly valuable for identifying levels where large players have been active in the market and are likely to defend or act again in the future.
Previous Day Open & Close ETH (BKNY)Utilizing ELECTRONIC TRADING HOURS this indicator plots the previous day’s open (PDO) and close (PDC) levels on the chart to help identify key reference points. It offers customizable settings for line color, width, style (solid, dashed, dotted), and extension (up to 50 bars ahead). Additionally, it includes an option to adjust the text size for the labels ("PDO" and "PDC") displayed at the end of each line.
Customizable Line Styles: Choose between solid, dashed, or dotted lines.
Adjustable Line Extension: Extend lines forward from the previous day’s open and close up to 50 bars.
Dynamic Labeling: Displays "PDO" and "PDC" labels at the end of the lines with adjustable text size.
Efficient Line Management: Automatically deletes previous day’s lines and labels when a new day starts, ensuring only the most recent data is shown.
This tool provides an easy way to track the previous day’s open and close levels for use in your trading analysis.
Session OHLC LevelsMarks:
- NY open, AM high, AM low, PM high, PM low and close
- Asia open, high, low and close
- London open, high, low and close
GIGANEVA V6.61 PublicThis enhanced Fibonacci script for TradingView is a powerful, all-in-one tool that calculates Fibonacci Levels, Fans, Time Pivots, and Golden Pivots on both logarithmic and linear scales. Its ability to compute time pivots via fan intersections and Range interactions, combined with user-friendly features like Bool Fib Right, sets it apart. The script maximizes TradingView’s plotting capabilities, making it a unique and versatile tool for technical analysis across various markets.
1. Overview of the Script
The script appears to be a custom technical analysis tool built for TradingView, improving upon an existing script from TradingView’s Community Scripts. It calculates and plots:
Fibonacci Levels: Standard retracement levels (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range.
Fibonacci Fans: Trendlines drawn from a high or low point, radiating at Fibonacci ratios to project potential support/resistance zones.
Time Pivots: Points in time where significant price action is expected, determined by the intersection of Fibonacci Fans or their interaction with key price levels.
Golden Pivots: Specific time pivots calculated when the 0.5 Fibonacci Fan (on a logarithmic or linear scale) intersects with its counterpart.
The script supports both logarithmic and linear price scales, ensuring versatility across different charting preferences. It also includes a feature to extend Fibonacci Fans to the right, regardless of whether the user selects the top or bottom of the range first.
2. Key Components Explained
a) Fibonacci Levels and Fans from Top and Bottom of the "Range"
Fibonacci Levels: These are horizontal lines plotted at standard Fibonacci retracement ratios (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range (the "Range"). The Range is typically the distance between a significant high (top) and low (bottom) on the chart.
Example: If the high is $100 and the low is $50, the 0.618 retracement level would be at $80.90 ($50 + 0.618 × $50).
Fibonacci Fans: These are diagonal lines drawn from either the top or bottom of the Range, radiating at Fibonacci ratios (e.g., 0.382, 0.5, 0.618). They project potential dynamic support or resistance zones as price evolves over time.
From Top: Fans drawn downward from the high of the Range.
From Bottom: Fans drawn upward from the low of the Range.
Log and Linear Scale:
Logarithmic Scale: Adjusts price intervals to account for percentage changes, which is useful for assets with large price ranges (e.g., cryptocurrencies or stocks with exponential growth). Fibonacci calculations on a log scale ensure ratios are proportional to percentage moves.
Linear Scale: Uses absolute price differences, suitable for assets with smaller, more stable price ranges.
The script’s ability to plot on both scales makes it adaptable to different markets and user preferences.
b) Time Pivots
Time pivots are points in time where significant price action (e.g., reversals, breakouts) is anticipated. The script calculates these in two ways:
Fans Crossing Each Other:
When two Fibonacci Fans (e.g., one from the top and one from the bottom) intersect, their crossing point represents a potential time pivot. This is because the intersection indicates a convergence of dynamic support/resistance zones, increasing the likelihood of a price reaction.
Example: A 0.618 fan from the top crosses a 0.382 fan from the bottom at a specific bar on the chart, marking that bar as a time pivot.
Fans Crossing Top and Bottom of the Range:
A fan line (e.g., 0.5 fan from the bottom) may intersect the top or bottom price level of the Range at a specific time. This intersection highlights a moment where the fan’s projected support/resistance aligns with a key price level, signaling a potential pivot.
Example: The 0.618 fan from the bottom reaches the top of the Range ($100) at bar 50, marking bar 50 as a time pivot.
c) Golden Pivots
Definition: Golden pivots are a special type of time pivot calculated when the 0.5 Fibonacci Fan on one scale (logarithmic or linear) intersects with the 0.5 fan on the opposite scale (or vice versa).
Significance: The 0.5 level is the midpoint of the Fibonacci sequence and often acts as a critical balance point in price action. When fans at this level cross, it suggests a high-probability moment for a price reversal or significant move.
Example: If the 0.5 fan on a logarithmic scale (drawn from the bottom) crosses the 0.5 fan on a linear scale (drawn from the top) at bar 100, this intersection is labeled a "Golden Pivot" due to its confluence of key Fibonacci levels.
d) Bool Fib Right
This is a user-configurable setting (a boolean input in the script) that extends Fibonacci Fans to the right side of the chart.
Functionality: When enabled, the fans project forward in time, regardless of whether the user selected the top or bottom of the Range first. This ensures consistency in visualization, as the direction of the Range selection (top-to-bottom or bottom-to-top) does not affect the fan’s extension.
Use Case: Traders can use this to project future support/resistance zones without worrying about how they defined the Range, improving usability.
3. Why Is This Code Unique?
Original calculation of Log levels were taken from zekicanozkanli code. Thank you for giving me great Foundation, later modified and applied to Fib fans. The script’s uniqueness stems from its comprehensive integration of Fibonacci-based tools and its optimization for TradingView’s plotting capabilities. Here’s a detailed breakdown:
All-in-One Fibonacci Tool:
Most Fibonacci scripts on TradingView focus on either retracement levels, extensions, or fans.
This script combines:
Fibonacci Levels: Static horizontal lines for retracement and extension.
Fibonacci Fans: Dynamic trendlines for projecting support/resistance.
Time Pivots: Temporal analysis based on fan intersections and Range interactions.
Golden Pivots: Specialized pivots based on 0.5 fan confluences.
By integrating these functions, the script provides a holistic Fibonacci analysis tool, reducing the need for multiple scripts.
Log and Linear Scale Support:
Many Fibonacci tools are designed for linear scales only, which can distort projections for assets with exponential price movements. By supporting both logarithmic and linear scales, the script caters to a wider range of markets (e.g., stocks, forex, crypto) and user preferences.
Time Pivot Calculations:
Calculating time pivots based on fan intersections and Range interactions is a novel feature. Most TradingView scripts focus on price-based Fibonacci levels, not temporal analysis. This adds a predictive element, helping traders anticipate when significant price action might occur.
Golden Pivot Innovation:
The concept of "Golden Pivots" (0.5 fan intersections across scales) is a unique addition. It leverages the symmetry of the 0.5 level and the differences between log and linear scales to identify high-probability pivot points.
Maximized Plot Capabilities:
TradingView imposes limits on the number of plots (lines, labels, etc.) a script can render. This script is coded to fully utilize these limits, ensuring that all Fibonacci levels, fans, pivots, and labels are plotted without exceeding TradingView’s constraints.
This optimization likely involves efficient use of arrays, loops, and conditional plotting to manage resources while delivering a rich visual output.
User-Friendly Features:
The Bool Fib Right option simplifies fan projection, making the tool intuitive even for users who may not consistently select the Range in the same order.
The script’s flexibility in handling top/bottom Range selection enhances usability.
4. Potential Use Cases
Trend Analysis: Traders can use Fibonacci Fans to identify dynamic support/resistance zones in trending markets.
Reversal Trading: Time pivots and Golden Pivots help pinpoint moments for potential price reversals.
Range Trading: Fibonacci Levels provide key price zones for trading within a defined range.
Cross-Market Application: Log/linear scale support makes the script suitable for stocks, forex, commodities, and cryptocurrencies.
The original code was from zekicanozkanli . Thank you for giving me great Foundation.
Break of Structure & Change of CharacterThis Break of Structure & Change of Character indicator is a fully customizable Pine Script v6 tool designed to help you spot key market structure shifts on any timeframe (optimized by default for 5‑minute charts). Here’s what it does and how to tailor it:
What It Detects
Swing Pivots
Finds local swing highs and lows over a configurable lookback (Pivot Lookback).
Break of Structure (BOS)
Marks when price closes beyond the last swing high (bullish BOS) or below the last swing low (bearish BOS), using an ATR‑based buffer to filter out minor moves.
Change of Character (CHoCH)
After a BOS, watches for price to reverse back through that level (e.g. a drop below the higher‑low after a bullish BOS), signaling a potential shift in momentum.
Key Inputs & Features
Pivot Lookback (pivotLen): How many bars to look back for pivots (default 8 for a 5‑min chart).
Fast Mode: When enabled, halves both the pivot lookback and ATR threshold for quicker—but noisier—signals.
ATR Threshold (atrLen & atrMult): Uses ATR(atrLen) × atrMult to require a minimum follow‑through beyond the pivot for a valid BOS/CHoCH.
Show Labels / Show Pivot Labels: Toggle on/off all structure labels or just pivot “x” markers.
Appearance Customization
Colors: Choose separate colors for pivot highs/lows, BOS labels, CHoCH labels, and structure lines.
Line Style: Select “Solid”, “Dotted”, or “Dashed” for your swing‑level lines.
Label Size & Style: Pick “Tiny”, “Small”, or “Normal” text size and choose label orientation (Up/Down/Left/Right) independently for pivots, BOS, and CHoCH.
Pivot Label Text: Change the pivot marker from the default “x” to any character you prefer.
How to Use
Add to Chart: Apply it on a 5‑minute chart (you’ll get a one‑time notice if you’re on another timeframe).
Tweak Inputs: Adjust pivot lookback, ATR multiplier, and toggle Fast Mode to suit your style.
Interpret Signals:
Green “BOS↑” or red “BOS↓” labels mark structure breaks.
Orange “CHoCH↓” or “CHoCH↑” labels flag the reversal through that level.
Dotted (or styled) lines trace the last swing high/low for visual reference.
Auto Support Resistance Channels [TradingFinder] Top/Down Signal🔵 Introduction
In technical analysis, a price channel is one of the most widely used tools for identifying and tracking price trends. A price channel consists of two parallel trendlines, typically drawn from swing highs (resistance) and swing lows (support). These lines define dynamic support and resistance zones and provide a clear framework for interpreting price fluctuations.
Drawing a channel on a price chart allows the analyst to more precisely identify entry points, exit levels, take-profit zones, and stop-loss areas based on how the price behaves within the boundaries of the channel.
Price channels in technical analysis are generally categorized into three types: upward channels with a positive slope, downward channels with a negative slope, and horizontal (range-bound) channels with near-zero slope. Each type offers unique insights into market behavior depending on the price structure and prevailing trend.
Structurally, channels can be formed using either minor or major pivot points. A major channel typically reflects a stronger, more reliable structure that appears on higher timeframes, whereas a minor channel often captures short-term fluctuations or corrective movements within a larger trend.
For instance, a major downward channel may indicate sustained selling pressure across the market, while a minor upward channel could represent a temporary pullback within a broader bearish trend.
The validity of a price channel depends on several factors, including the number of price touches on the channel lines, the symmetry and parallelism of the trendlines, the duration of price movement within the channel, and price behavior around the median line.
When a price channel is broken, it is generally expected that the price will move in the breakout direction by at least the width of the channel. This makes price channels especially useful in breakout analysis.
In the following sections, we will explore the different types of price channels, how to draw them accurately, the structural differences between minor and major channels, and key trade interpretations when price interacts with channel boundaries.
Up Channel :
Down Channel :
🔵 How to Use
A price channel is a practical tool in technical analysis for identifying areas of support, resistance, trend direction, and potential breakout zones. The structure consists of two parallel trendlines within which price fluctuates.
Traders use the relative position of price within the channel to make informed trading decisions. The two primary strategies include range-based trades (buying low, selling high) and breakout trades (entering when price exits the channel).
🟣 Up Channel
In an upward channel, price moves within a positively sloped range. The lower trendline acts as dynamic support, while the upper trendline serves as dynamic resistance. A common strategy involves buying near the lower support and taking profit or selling near the upper resistance.
If price breaks below the lower trendline with strong volume or a decisive candle, it can signal a potential trend reversal. Channels constructed from major pivots generally reflect dominant uptrends, while those based on minor pivots are often corrective structures within a broader bearish movement.
🟣 Down Channel
In a downward channel, price moves between two negatively sloped lines. The upper trendline functions as resistance, and the lower trendline as support. Ideal entry for short trades occurs near the upper boundary, especially when confirmed by bearish price action or a resistance level.
Exit targets are typically located near the lower support. If the upper boundary is broken to the upside, it may be an early sign of a bullish trend reversal. Like upward channels, a major down channel represents broader selling pressure, while a minor one may indicate a brief retracement in a bullish move.
🟣 Range Channel
A horizontal or range-bound channel is characterized by price oscillating between two nearly flat lines. This type of channel typically appears during sideways markets or periods of consolidation.
Traders often buy near the lower boundary and sell near the upper boundary to take advantage of contained volatility. However, fake breakouts are more frequent in range-bound structures, so it is important to wait for confirmation through candlestick signals and volume. A confirmed breakout beyond the channel boundaries can justify entering a trade in the direction of the breakout.
🔵 Settings
Pivot Period :This parameter defines how sensitive the channel detection is. A higher value causes the algorithm to identify major pivot points, resulting in broader and longer-term channels. Lower values focus on minor pivots and create tighter, short-term channels.
🔔 Alerts
Alert Configuration :
Enable or disable the full alert system
Set a custom alert name
Choose the alert frequency: every time, once per bar, or on bar close
Define the time zone for alert timestamps (e.g., UTC)
Channel Alert Types :
Each channel type (Major/Minor, Internal/External, Up/Down) supports two alert types :
Break Alert : Triggered when price breaks above or below the channel boundaries
React Alert : Triggered when price touches and reacts (bounces) off the channel boundary
🎨 Display Settings
For each of the eight channel types, you can customize:
Visibility : show or hide the channel
Auto-delete previous channels when new ones are drawn
Style : line color, thickness, type (solid, dashed, dotted), extension (right only, both sides)
🔵 Conclusion
The price channel is a foundational structure in technical analysis that enables traders to analyze price movement, identify dynamic support and resistance zones, and locate potential entry and exit points with greater precision.
When constructed properly using minor or major pivots, a price channel offers a consistent and intuitive framework for interpreting market behavior—often simpler and more visually clear than many other technical tools.
Understanding the differences between upward, downward, and range-bound channels—as well as recognizing the distinctions between minor and major structures—is critical for selecting the right trading strategy. Upward channels tend to generate buying opportunities, downward channels prioritize short setups, and horizontal channels provide setups for both mean-reversion and breakout trades.
Ultimately, the reliability of a price channel depends on various factors such as the number of touchpoints, the duration of the channel, the parallelism of the lines, and how the price reacts to the median line.
By taking these factors into account, an experienced analyst can effectively use price channels as a powerful tool for trend forecasting and precise trade execution. Although conceptually simple, successful application of price channels requires practice, pattern recognition, and the ability to filter out market noise.
Bijnor Pivot ExtendedOverview: The Bijnor Pivot Extended (BP+) indicator is a powerful visual tool designed to help traders identify key price levels using Fibonacci-based pivots. It dynamically plots Support and Resistance levels based on your chosen timeframe (Daily, Weekly, or Monthly) and displays them only for the current session, reducing chart clutter and improving focus.
🔧 Features:
📆 Pivot Timeframe Selection: Choose between Daily, Weekly, or Monthly pivots.
🎯 Fibonacci Pivot Levels:
Central Pivot (P)
Resistance: R1, R2, R3, R4 (Extended)
Support: S1, S2, S3, S4 (Extended)
🎨 Full Customization:
Toggle labels and prices on/off
Position labels to the left or right
Change line width and individual colors for pivot, support, and resistance lines
🧠 Smart Line Plotting:
Lines are drawn only during the selected session, keeping your chart clean
🕹️ Max Performance: Optimized to stay lightweight with max_lines_count and max_labels_count set to 500
🧭 How to Use It:
Use this indicator to:
Plan entries and exits around key Fibonacci pivot zones
Identify overbought/oversold zones at R3/R4 and S3/S4
Enhance your intraday, swing, or positional trading setups
Combine with price action, candlestick patterns, or volume for maximum edge.
✅ Bonus:
This script is ideal for traders looking for a minimalist yet powerful pivot framework, with extended levels for breakout or reversal scenarios.
3CRGANG - TRUE RANGEThis indicator helps traders identify key support and resistance levels using dynamic True Range calculations, while also providing a multi-timeframe trend overview. It plots True Range levels as horizontal lines, marks breakouts with arrows, and displays trend directions across various timeframes in a table, making it easier to align trades with broader market trends.
What It Does
The 3CRGANG - TRUE RANGE indicator calculates dynamic support and resistance levels based on the True Range concept, updating them as price breaks out of the range. It also analyzes trend direction across multiple timeframes (M1 to M) and presents the results in a table, using visual cues to indicate bullish, bearish, or neutral conditions.
Why It’s Useful
This script combines True Range analysis with multi-timeframe trend identification to provide a comprehensive tool for traders. The dynamic True Range levels help identify potential reversal or continuation zones, while the trend table allows traders to confirm the broader market direction before entering trades. This dual approach reduces the need for multiple indicators, streamlining analysis across different timeframes and market conditions.
How It Works
The script operates in the following steps:
True Range Calculation: The indicator calculates True Range levels (support and resistance) using price data (close, high, low) from a user-selected timeframe. It updates these levels when price breaks above the upper range (bullish breakout) or below the lower range (bearish breakout).
Line Plotting: Two styles are available:
"3CR": Plots one solid line after a breakout (green for bullish, red for bearish) and removes the opposing line.
"RANGE": Plots both upper and lower range lines as dotted lines (green for support, red for resistance) until a breakout occurs, then solidifies the breakout line.
Multi-Timeframe Trend Analysis: The script analyzes trend direction on multiple timeframes (M1, M5, M15, M30, H1, H4, D, W, M) by comparing the current close to the True Range levels on each timeframe. A trend is:
Trend Table: A table displays the trend direction for each timeframe, with color-coded backgrounds (green for bullish, red for bearish) and triangles to indicate the trend state.
Breakout Arrows: When price breaks above the upper range, a green ▲ arrow appears below the bar (bullish). When price breaks below the lower range, a red ▼ arrow appears above the bar (bearish).
Bullish (▲): Price is above the upper range.
Bearish (▼): Price is below the lower range.
Neutral (△/▽): Price is within the range, with the last trend indicated by an empty triangle (△ for last bullish, ▽ for last bearish).
Alerts: Breakout alerts can be set for each timeframe, with options to filter by trading sessions (e.g., New York, London) or enable all-day alerts.
Underlying Concepts
The script uses the True Range concept to define dynamic support and resistance levels, which adjust based on price action to reflect the most relevant price zones. The multi-timeframe trend analysis leverages the same True Range logic to determine trend direction, providing a consistent framework across all timeframes. The combination of breakout signals and trend confirmation helps traders align their strategies with both short-term price movements and longer-term market trends.
Use Case
Breakout Trading: Use the True Range lines and arrows to identify breakouts. For example, a green ▲ arrow below a bar with price breaking above the upper range suggests a potential long entry.
Trend Confirmation: Check the trend table to ensure the breakout aligns with the broader trend. For instance, a bullish breakout on the 1H chart is more reliable if the D and W timeframes also show bullish trends (▲).
Range Trading: When price is within the True Range (dotted lines in "RANGE" style), consider range-bound strategies, buying near support and selling near resistance, while monitoring the table for potential trend shifts.
Settings
Input Timeframe: Select the timeframe for True Range calculations (default: chart timeframe).
True Range Style: Choose between "3CR" (single line after breakout) or "RANGE" (both lines until breakout) (default: 3CR).
Change Symbol: Compare a different ticker if needed (default: chart symbol).
Color Theme: Select "LIGHT THEME" or "DARK THEME" for colors, or enable custom colors (default: LIGHT THEME).
Table Position: Set the trend table’s position (center, right, left) (default: right).
Multi Res Alerts Setup: Enable/disable breakout alerts for each timeframe (default: enabled for most timeframes).
Sessions Alerts: Filter alerts by trading sessions (e.g., New York, London) or enable all-day alerts (default: most sessions enabled).
Chart Notes
The chart displays the script’s output on XAUUSD (1H timeframe), showing:
Candlesticks representing price action.
True Range lines (green for support, red for resistance) in "3CR" style, with solid lines after breakouts and dotted lines during range-bound periods.
Arrows (green ▲ below bars for bullish breakouts, red ▼ above bars for bearish breakouts) indicating range breakouts.
A trend table in the top-right corner labeled "TREND EA," showing trend directions across timeframes (M1 to M) with triangles (▲/▼ for active trends, △/▽ for last trend) and color-coded backgrounds (green for bullish, red for bearish).
Notes
The script uses the chart’s ticker by default but allows comparison with another symbol if enabled.
Trend data for higher timeframes (e.g., M) may not display if the chart’s history is insufficient.
Alerts are triggered only during selected trading sessions unless "ALL DAY ALERTS" is enabled.
Disclaimer
This indicator is a tool for analyzing market trends and does not guarantee trading success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
Pivot Levels with EMA Trend📌 Trend Change Levels with EMA Trend
✨ Description:
This TradingView script identifies clean trend change levels based on 1-hour structure shifts and filters them to keep only those not invalidated. It follows the "Jake Ricci" method, each level is printed at the beginning of the candle that changes the trend, on a 1 hour chart. For precision, make sure to exclude after/pre market and only use the levels on regular hours charts.
It includes dynamic EMAs (9, 50, 200), intraday VWAP, the daily open level printed, and a visual trend label based on EMA(9) slope.
Designed for intermediate traders, it helps build bias, manage entries, and avoid false setups by focusing on clean, reactive levels that the market respects.
🔧 Core Logic:
On the 1H chart, the script compares current and previous closes to detect trend direction. If the trend flips (e.g., up to down), the open of the candle that caused the flip becomes a candidate level.
Only levels that remain untouched by future candle closes are plotted — this filters out “weak” levels that price already violated (which means, a candle closes after passing through the level).
These levels become key S/R zones and often act as reaction points during pullbacks, traps, and liquidity sweeps.
The idea is to check how the price reacts to those levels. Usually there's a clean retest of the level. After that, if the price continues in that direction, it tends to reach the following level.
🔹 Included Tools:
🟣 Trend Change Levels (1H):
Fixed horizontal lines based on confirmed shifts in trend, shown only when not broken.
📉 EMAs (9 / 50 / 200):
Visibility can be set per timeframe. Use for trend context.
📍 EMA Trend Label:
Shows \"UP\", \"DOWN\", or \"RANGE\" based on EMA(9) slope.
🔵 VWAP (Intraday Reset):
Real-time volume-weighted average price that resets daily. Useful for fair value zones and reversion plays.
🟠 Daily Open Line:
Plot of the current day’s open. Used for intraday directional bias. Usually: DO NOT take longs below the Open Print, DO NOT take shorts above it.
📊 ATR Table:
Displays current ATR multiplier on the chart. It's useful to understand if the market is expanding or not.
📈 How to Use It (Strategy):
1. Start on the 1H chart to generate levels.
Only the open of candles that reversed trend are considered — and only if future candles didn’t close through them. I suggest manually adding horizontal lines to mark again the levels, so that they stick to all the timeframes.
2. Use the trend label to decide your bias — \"UP\" for long setups, \"DOWN\" for shorts. Avoid trading against the slope.
3. Switch to the 5m chart and wait for price to approach a plotted level. These are often used for manipulation, retests, or clean reversals.
4. Look for confirmation: rejection candles, break-and-retest, strong engulfing candles, or traps above/below the level. ALWAYS check the price action around the level, along with the volume.
5. Check if VWAP or an EMA is near the level. If yes, the confluence strengthens the trade idea.
6. Use the ATR value to understand if the market is expanding (candles are bigger than the ATR). You don't want to stay in a slow and ranging trade.
✅ Example Entry Flow:
1. On the 1H chart, note a trend change level printed recently.
2. Check the current trend label — if it says \"UP,\" prefer longs.
3. Wait for price to retrace toward the level.
4. On the 5m, look for a bullish engulfing candle or trap setup at the level.
5. Check if VWAP and EMA(50) are near. If yes, execute the trade.
6. Set stop just under the low of the candle prior to your entry. Ideally, a retracing candle.
To be clear: imaging to be LONG, you wait for a retracement that should touch your level. You wait for a candle that resumes the LONG trend, enter when it breaks the high of the previous candle (sill in retracement), you place your stop under the candle prior to your entry.
Notes:
No repainting — levels only show up after confirmed shifts.
Removes broken levels for chart clarity and reliability.
Helps spot high-probability pullback zones and fakeouts.
Perfect confluence tool to support price action, SMC, or EMA strategies.
Works across multiple timeframes with customizable inputs.
👤 Ideal For:
Intraday traders looking for reactive entry points and direction confirmation.
Swing traders wanting to pinpoint continuation zones or reversal pivots.
🚨 Final Note: This indicator doesn’t generate buy/sell signals. It improves your trade filtering by identifying areas the market already respected and reacting to them with price action. Combine it with your own system , test it in replay, and use screenshots to document setups.
📌 If used with discipline, this becomes a precision tool — not a signal generator.
Combined EMA/Smiley & DEM System## 🔷 General Overview
This script creates an advanced technical analysis system for TradingView, combining multiple Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs), dynamic Fibonacci levels, and ATR (Average True Range) analysis. It presents the results clearly through interactive, real-time tables directly on the chart.
---
## 🔹 Indicator Structure
The script consists of two main parts:
### **1. EMA & SMA Combined System with Fibonacci**
- **Purpose:**
Provides visual insights by comparing multiple EMA/SMA periods and identifying significant dynamic price levels using Fibonacci ratios around a calculated "Golden" line.
- **Components:**
- **Moving Averages (MAs)**:
- 20 EMAs (periods from 20 to 400)
- 20 SMAs (also from 20 to 400)
- **Golden Line:**
Calculated as the average of all EMAs and SMAs.
- **Dynamic Fibonacci Levels:**
Key ratios around the Golden line (0.5, 0.618, 0.786, 1.0, 1.272, 1.414, 1.618, 2.0) dynamically adjust based on market conditions.
- **Fibonacci Labels:**
Labels are shown next to Fibonacci lines, indicating their numeric value clearly on the chart.
- **Table (Top Right Corner):**
- Displays:
- **Input:** EMA/SMA periods sorted by their current average price levels.
- **AVG:** The average of corresponding EMA & SMA pairs.
- **EMA & SMA Values:** Individual EMA/SMA values clearly marked.
- **Dynamic Highlighting:** Highlights the row whose average (EMA+SMA)/2 is closest to the current price, helping identify immediate price action significance.
- **Sorting Logic:**
Each EMA/SMA pair is dynamically sorted based on their average values. Color coding (red/green) is used:
- **Green:** EMA/SMA pairs with shorter periods when their average is lower.
- **Red:** EMA/SMA pairs with longer periods when their average is lower.
- **Star (⭐):** Represents the "Golden" average clearly.
---
### **2. DEM System (Dynamic EMA/ATR Metrics)**
- **Purpose:**
Provides detailed ATR statistics to assess market volatility clearly and quickly.
- **Components:**
- **Moving Averages:**
- SMA lines: 25, 50, 100, 200.
- **Bollinger Bands:**
- Based on 20-period SMA of highs and standard deviation of lows.
- **ATR Analysis:**
- ATR calculations for multiple periods (1-day, 10, 20, 30, 40, 50).
- **ATR Premium:** Average ATR of all calculated periods, providing an overarching volatility indicator.
- **ATR Table (Bottom Right Corner):**
- Displays clearly structured ATR values and percentages relative to the current close price:
- Columns: **ATR Period**, **Value**, and **% of Close**.
- Rows: Each specific ATR (1D, 10, 20, 30, 40, 50), plus ATR premium.
- The ATR premium is highlighted in yellow to signify its importance clearly.
---
## 🔹 Key Features and Logic Explained
- **Dynamic EMA/SMA Sorting:**
The script computes the average of each EMA/SMA pair and sorts them dynamically on each bar, highlighting their relative importance visually. This allows traders to easily interpret the strength of current support/resistance levels based on moving averages.
- **Closest EMA/SMA Pair to Current Price:**
Calculates the absolute difference between the current price and all EMA/SMA averages, highlighting the closest one for quick reference.
- **Fibonacci Ratios:**
- Dynamically calculated Fibonacci levels based on the "Golden" EMA/SMA average give clear visual guidance for potential targets, supports, and resistances.
- Labels are continuously updated and placed next to levels for clarity.
- **ATR Volatility Analysis:**
- Provides immediate insight into market volatility with absolute and relative (percentage-based) ATR values.
- ATR premium summarizes volatility across multiple timeframes clearly.
---
## 🔹 Practical Use Case:
- Traders can quickly identify support/resistance and critical price zones through EMA/SMA and Fibonacci combinations.
- Useful in assessing immediate volatility, guiding stop-loss and take-profit levels through detailed ATR metrics.
- The dynamic highlighting in tables provides intuitive, real-time decision support for active traders.
---
## 🔹 How to Use this Script:
1. **Adjust EMA & SMA Lengths** from indicator settings if different periods are preferred.
2. **Monitor dynamic Fibonacci levels** around the "Golden" average to identify possible reversal or continuation points.
3. **Check EMA/SMA table:** Rows highlighted indicate immediate significance concerning current market price.
4. **ATR table:** Use volatility metrics for better risk management.
---
## 🔷 Conclusion
This advanced Pine Script indicator efficiently combines multiple EMAs, SMAs, dynamic Fibonacci retracement levels, and volatility analysis using ATR into a comprehensive real-time analytical tool, enhancing traders' decision-making capabilities by providing clear and actionable insights directly on the TradingView chart.