Volume Footprint LevelsVolume Footprint Levels 🐾
What it is
A support/resistance plotter that uses TradingView's request.footprint() volume-at-price data to identify levels where aggressive volume actively defended or rejected price. Instead of drawing lines from raw highs/lows, it only marks zones where one side ( buyers or sellers ) absorbed the other and price was pushed away — the kind of levels that tend to matter on retest.
How defense is detected
For each bar, the script walks the footprint rows and looks for one-sided imbalance concentrated at the bar's wick zones:
Buy defense (support) — heavy aggressive buying at the bottom X% of the bar's range, where buy volume exceeds sell volume by the imbalance ratio, and the close has moved a configurable distance away from the lows.
Sell defense (resistance) — heavy aggressive selling at the top X% of the bar's range, where sell volume exceeds buy volume by the ratio, and the close has moved away from the highs.
Qualifying rows are aggregated into a volume-weighted average price for the level, and the level only fires if the total defending volume clears a minimum threshold. Individual rows must also clear a minimum delta to count, which filters out thin-tape noise.
Level lifecycle
Each detected level becomes a horizontal line projecting forward from the bar that created it:
Merge / replace — a new level within mergePoints of an existing one is suppressed, unless the new one has higher defending volume, in which case it replaces the weaker one in place.
Touch tracking — every bar whose wick reaches within touchTol of the level increments either the bullish (▲) or bearish (▼) touch counter depending on which side of the level the bar closed on. Counts render in the level's label.
Break confirmation — a level is only removed once price closes beyond it (plus a buffer) for breakBars consecutive bars. If price moves back inside before the count completes, the break counter resets. This stops single-wick fakeouts from killing valid levels.
Cap — total active levels are pruned oldest-first to stay under maxLevels .
Exports
The four nearest supports and four nearest resistances (sorted by proximity to close) are plotted to the price scale and data window as Sup 1–4 / Res 1–4 . When Enable JSON Alerts is on, each confirmed bar emits a structured JSON alert containing timestamp, ticker, timeframe, close, all eight ranked levels, active level count, and any new support/resistance created on that bar — designed for ingestion by an external webhook pipeline.
What you see on the chart
Green lines for support, red for resistance, each tagged with a label showing defending volume and the running ▲/▼ touch counts. Hovering a label exposes a tooltip with the level type, exact price, volume, imbalance ratio at creation, and full touch breakdown. Line style, width, colors, and label size are all configurable.
Intended use
A footprint-driven structure tool — the levels flag prices where aggressive flow has already been absorbed once, making them candidates for retest entries, target zones, or invalidation references. Best on instruments where TradingView's footprint data is dense ( liquid futures, major FX, large-cap equities ); on thinner instruments or deep history the footprint resolution degrades, which is why maxLookback is capped. Indicador

Timeframe Heikin Ashi RSI OscillatorT-HARSI • Timeframe Heikin Ashi RSI Oscillator (HTF Edition)
What it is
An RSI-based oscillator that renders RSI values as Heikin Ashi candles instead of a line, with a full higher-timeframe (HTF) signal engine layered on top. The core idea — originally from JayRogers — is that translating RSI into HA-style OHLC preserves the oscillating nature of RSI while smoothing out noise and making trend/exhaustion visually obvious. The gggoaaat mods add a multi-condition overbought/oversold signal system that runs entirely on a user-selectable HTF.
How it's built
Everything is zero-median: RSI values have 50 subtracted so the oscillator swings around 0 instead of 50, with configurable OB/OS and "extreme" OB/OS bands above and below. Three core pieces generate the visuals:
HARSI candles — RSI is computed separately on close, high, and low, then combined into synthetic OHLC using Heikin Ashi math. Open smoothing biases toward the prior open for cleaner trend reads.
RSI overlay line + histogram — a second RSI (independent length) plotted on top, optionally smoothed using a recursive HA-style average of current vs prior RSI.
Stochastic RSI ribbon — stoch computed from that RSI, with K/D smoothing and a vertical scaling knob so it doesn't distort the channel.
The HTF signal engine
All stateful logic lives inside f_signalLogic() and is pulled through a single request.security call, so every counter, ta.barssince , and crossover naturally operates on HTF bars. The engine produces two composite signals:
bullishWays (overbought / fade-long / 🔥OB label) fires when RSI has been above the extreme upper band for N consecutive HTF bars and a confirming reversal condition hits within a hold window — either a crossover-based resistance touch or a reversal-candle pattern where the HARSI close flips bearish near the extreme.
bearishWays (oversold / fade-short / 🥶OS label) is the symmetric opposite at the lower extreme.
A barsBetweenCalls cooldown prevents back-to-back repeats, and an htfBarEdge gate ( ta.change(time(tf)) ) ensures plotshapes, circle-dot plots, and alerts fire exactly once per HTF bar transition rather than repeating across every chart bar that falls inside the same HTF window.
What you see on the chart
HARSI candles in the pane, OB/OS channel bands with tinted fills, optional RSI line and stoch ribbon, background shading when RSI is sustained beyond an extreme, warning triangles when the sustained-extreme threshold first trips, and 🔥OB / 🥶OS labels with orange/teal price dots on the main chart when a full composite signal fires. Alerts fire on confirmed HTF bar close for both directions.
Intended use
A mean-reversion / exhaustion tool — the signals flag spots where an HTF RSI has pushed to an extreme, held there, and then showed a reversal confirmation. Best paired with trend context on the main chart; the HARSI pane tells you when the stretch is exhausted, not which direction the trend actually is . Indicador

Session Sweeps and LevelsSession Sweeps and Levels (⏰)
An overlay indicator that tracks key price levels from each major trading session and detects liquidity sweeps against them. Built for futures/forex traders who use session structure as context for entries.
Tracked Sessions
Tokyo (1900–0400 ET) — High/Low
London (0300–1200 ET) — High/Low
Pre-NY (0400–0930 ET) — High/Low
New York (0930–1600 ET) — High/Low/Open/Close
Post-NY (1600–1700 ET) — High/Low
Globex (1800–1900 ET) — High/Low
IGIR (1700–1800 ET) — High/Low/Open
CME Settle — 17:00 ET daily close
Each session displays three layers: the active in-progress level (white), the last confirmed level (session color), and the previous completed level (session color). All session times, colors, and visibility are fully configurable.
Features
Liquidity Sweep Detection — fires when price wicks beyond a session level and closes back through it. Tracks bullish (low sweep) and bearish (high sweep) with configurable wick distance and per-level cooldown
FVG Confirmation (optional) — require a Fair Value Gap on a higher timeframe to exist (and optionally match direction) before a sweep alert fires. Configurable HTF, min size, max age, and mitigation tracking
Per-Session Sweep Toggles — enable/disable sweep scanning independently for each session, including separate toggles for NY Open and IGIR Open
Active Session Sweeping — optionally scan in-progress session levels, not just confirmed ones
Flexible Line Styling — solid, dashed, dotted, or arrow styles; thickness, extension, and label offset all adjustable
Value Type Filters — toggle Highs, Lows, Opens, Settles, and Labels independently
Price Scale Integration — all confirmed levels exposed to the right-edge price scale and Data Window for quick reference
Use Cases
Identify liquidity pools where stops are clustered (prior session highs/lows)
Trade sweeps of session extremes as reversal or continuation setups
Use NY Open and Settle as intraday equilibrium reference points
Confirm sweep trades with HTF FVG alignment to filter noise
Feed session context into external bots or dashboards via JSON alerts
Indicador

Indicador

NQ Implied Range GovernorThis Pine Script v6 indicator, “NQ Implied Range (VIX ÷ √N) Governor”, builds a real-time implied range framework for Nasdaq futures by importing a volatility index (default CBOE:VXN) on a user-selected timeframe and smoothing it with an EMA. It converts the annualized vol reading into a daily 1σ percentage move via oneSigmaPct = (VIX ÷ √252)/100, then maps that into a point-based implied move from a session “anchor” price. The anchor is locked at RTH session start (0930–1600 ET by default) based on your chosen mode (RTH Open, prior bar close, or daily open). A band mode selector controls how sigma is interpreted: an “Intraday Range” mode uses √(2/π) (~0.798) as a proxy for expected max excursion, while close-to-close modes use ±1σ or ±2σ envelopes; a separate calibration multiplier lets you widen/tighten the bands beyond theory.
Once the implied move is computed, the script plots the upper/lower 1.0 bands, the anchor midline, and optional fills above/below the anchor. It then derives symmetric Fibonacci retracement levels between the anchor and each band (.236, .382, .500, .618, .786) and optional extensions (1.272, 1.618), with right-edge price labels for quick reading. In parallel, it tracks realized RTH range (session high–low) and compares it to the implied total range to produce a “range spent” ratio, dynamically color-coded from green → yellow → orange → red as the session consumes volatility budget. That ratio drives a session-end summary label (realized vs implied, bands, % spent), a configurable dashboard table showing model inputs/outputs (smoothed vol, raw σ%, anchor, ± bands, total range, realized, remaining, distance to bands), and a set of alert conditions for key events: crossing spent thresholds (70/100/120%), touching outer bands, touching key fib levels, extension hits, and session start/end. Indicador

Indicador

MTF Pivot Fib Speed Resistance FansOverview
This Pine Script indicator, titled "MTF Pivot Fib Speed Resistance Fans", is a multi-timeframe tool that automatically plots Fib Speed Resistance Fan lines based on pivot structures derived from higher timeframes. It mirrors the functionality of TradingView’s built-in “Fib Speed Resistance Fan” drawing tool, but in a dynamic, programmatic way. It uses pivot highs and lows to anchor fan projections, drawing forward-facing trend lines that align with well-known Fibonacci ratios and their extensions.
Pivot Detection Logic
The script identifies pivots by comparing the current bar’s high and low against the highest and lowest prices over a user-defined pivot period. This pivot detection occurs on a higher timeframe of your choice, giving a broader and more strategic view of price structure. The script tracks direction changes in the pivot trend and stores only the most recent few pivots to maintain clean and meaningful fan drawings.
Fan Direction Control
The user can select whether to draw fans for "Buys", "Sells", or "Both". The script only draws fan lines when a new directional move is detected based on the pivot structure and the selected bias. For example, in “Buys” mode, a rising pivot followed by another higher low will trigger upward fan projections.
Fib Speed Resistance Levels
Once two pivots are identified, the script draws multiple fan lines from the first pivot outward, at angles defined by a preset list of Fibonacci levels. These fan lines help visualize speed and strength of a price move.
The script also draws a horizontal line from the pivot for additional confluence at the base level (1.0).
Price Level Plotting
In addition to drawing fan lines, the indicator also plots their price levels on the right-hand price scale. This makes it easier for users to visually reference the projected support and resistance levels without needing to trace the lines manually across the chart.
Mapping to TradingView’s "Fib Speed Resistance Fan"
The expanded set of values used in this script is not arbitrary—they closely align with the default and extended levels available in TradingView's built-in "Fib Speed Resistance Fan" tool.
TradingView’s Fib Fan tool offers several levels by default, including traditional Fibonacci ratios like 0.382, 0.5, 0.618, and 1. However, if you right-click the tool and open its settings, you’ll find additional toggles for levels like 1.618, 2.000, 2.618, and even 4.000. These deeper levels are used to project stronger trend continuations beyond the standard retracement zones.
The inclusion of levels such as 0.25, 0.75, and 1.34 reflects configurations that are available when you manually add or customize levels in TradingView’s fan tool. While 1.34 is not a canonical Fibonacci ratio, it is often found in hybrid Gann/Fib methods and is included in some preset templates in TradingView’s drawing tool for advanced users.
By incorporating these levels directly into the Pine Script, the indicator faithfully reproduces the fan structure users would manually draw using TradingView’s graphical Fib Fan tool—but does so programmatically, dynamically, and with multi-timeframe control. This eliminates manual errors, allows for responsive updating, and adds custom visual tracking via the price scale.
These values are standardized within the context of TradingView's Fib Fan tool and not made up. This script automates what the manual drawing tool achieves, with added precision and flexibility. Indicador

Power Hour Money StrategyDescription of the Pine Script Code: "Power Hour Money Strategy"
This Pine Script strategy, "Power Hour Money Strategy," is designed to trade based on the alignment of multiple time frames (month, week, day, and hour). The strategy aims to enter long or short positions depending on whether all selected time frames are in sync (all green for long positions, all red for short positions). Additionally, the script includes configurations for trading during specific sessions and automatically closing positions at the end of the trading day.
Core Features:
1. Time Frame Sync Check:
- The strategy evaluates whether the current price is higher than the opening price for the month, week, day, and hour to determine if each time frame is "green" (bullish) or "red" (bearish).
2. Session Control:
- The user can select between different trading sessions:
- "NY Session 9:30-11:30"
- "Extended NY Session 8-4"
- "All Sessions"
- Trades are only executed if the current time falls within the selected session.
3. Trailing Stop Mechanism:
- The strategy includes an optional trailing stop mechanism for both long and short positions.
- The trailing stop is configured with a percentage loss from the current price to protect gains.
4. End-of-Day Position Management:
- An option is provided to automatically close all positions at the end of the trading day (5:45 PM Eastern Time).
Detailed Code Breakdown:
1. Input Settings:
- **Session Selection**: Allows the user to choose the trading session.
- **End-of-Day Close**: Option to automatically close positions at the end of the day.
- **Trailing Stop Loss**: Enables or disables the trailing stop loss feature and sets the percentage for long and short positions.
2. Time Frame Calculations:
- The script uses `request.security` to get the opening prices for higher time frames (monthly, weekly, daily, and hourly).
- It compares the current close price to these opening prices to determine if each time frame is green or red.
3. Session Time Definitions:
- Defines the start and end times for the NY session (9:30-11:30 AM) and the extended session (8:00 AM - 4:00 PM).
4. Trade Execution:
- The strategy checks if all selected time frames are in sync and if the current time falls within the trading session.
- If all conditions are met, it enters a long or short position.
5. Trailing Stop Loss Implementation:
- Adjusts the stop price based on the trailing percentage and the current position's size.
- Automatically exits positions if the trailing stop condition is met.
6. End-of-Day Close Implementation:
- Uses a timestamp to check if the current time is 5:45 PM Eastern Time.
- Closes all positions if the end-of-day condition is met.
7. Plotting and Logging:
- Plots indicators to visualize the green/red status of each time frame.
- Logs information about the status of each time frame for debugging and analysis.
Example Usage:
Entering a Long Position: If the month, week, day, and hour are all green and the current time is within the selected session, a long position is entered.
Entering a Short Position: If the month, week, day, and hour are all red and the current time is within the selected session, a short position is entered.
Trailing Stop: Protects gains by exiting the position if the price moves against the set trailing stop percentage.
End-of-Day Close: Automatically closes all open positions at 5:45 PM Eastern Time if enabled.
This strategy is particularly useful for traders who want to ensure that multiple time frames are in alignment before entering a trade and who wish to manage positions effectively throughout the trading day with specific session controls and trailing stops. Estratégia

Fibonacci Adaptive Timeframe EMA (FAT EMA)The "Fibonacci Adaptive Timeframe EMA" is a sophisticated trading indicator designed for the TradingView platform, leveraging the power of Exponential Moving Averages (EMAs) determined by Fibonacci sequence lengths to provide traders with dynamic market insights. This indicator overlays directly on the price chart, offering a unique blend of trend analysis, smoothing techniques, and timeframe adaptability, making it an invaluable tool for traders looking to enhance their technical analysis strategy.
Key Features
1. Fibonacci-Based EMA Lengths: Utilizes the Fibonacci sequence to select EMA lengths, incorporating natural mathematical ratios believed to be significant in financial markets. The available lengths range from 1 to 987, allowing for detailed trend analysis over various periods.
2. Multiple Smoothing Methods: Offers the choice between several smoothing techniques, including Simple Moving Average (SMA), Exponential Moving Average (EMA), Smoothed Moving Average (SMMA or RMA), Weighted Moving Average (WMA), and Volume Weighted Moving Average (VWMA). This versatility ensures that users can tailor the indicator to suit their analytical preferences.
3. Timeframe Adaptability: Features the ability to fetch and calculate EMAs from different timeframes, providing a multi-timeframe analysis within a single chart view. This adaptability gives traders a broader perspective on market trends, enabling more informed decision-making.
4. Dynamic Visualization Options: Traders can customize the display to suit their analysis needs, including toggling the visibility of Fibonacci EMA lines, EMA prices, and smoothed EMA lines. Additionally, forecast lines can be projected into the future, offering speculative insights based on current trends.
5. Ema Tail Visualization: An innovative feature allowing for the visualization of the 'tail' or the continuation of EMA lines, which can be particularly useful for identifying trend persistence or reversal points.
6. User-friendly Customization: Through a series of input options, traders can easily adjust the source data, Fibonacci lengths, smoothing method, and visual aspects such as line colors and transparency, ensuring a seamless integration into any trading strategy.
Application and Use Cases
The "Fibonacci Adaptive Timeframe EMA" indicator is designed for traders who appreciate the significance of Fibonacci numbers in market analysis and seek a flexible tool to analyze trends across different timeframes. Whether it's for scalping, day trading, or long-term investing, this indicator can provide valuable insights into price dynamics, trend strengths, and potential reversal points. Its adaptability makes it suitable for various asset classes, including stocks, forex, commodities, and cryptocurrencies.
Indicador

Fibonacci Timeframe Adaptive EMAThe "Fibonacci Timeframe Adaptive EMA" is a sophisticated trading indicator designed for the TradingView platform, leveraging the power of Exponential Moving Averages (EMAs) determined by Fibonacci sequence lengths to provide traders with dynamic market insights. This indicator overlays directly on the price chart, offering a unique blend of trend analysis, smoothing techniques, and timeframe adaptability, making it an invaluable tool for traders looking to enhance their technical analysis strategy.
Key Features
1. Fibonacci-Based EMA Lengths: Utilizes the Fibonacci sequence to select EMA lengths, incorporating natural mathematical ratios believed to be significant in financial markets. The available lengths range from 1 to 987, allowing for detailed trend analysis over various periods.
2. Multiple Smoothing Methods: Offers the choice between several smoothing techniques, including Simple Moving Average (SMA), Exponential Moving Average (EMA), Smoothed Moving Average (SMMA or RMA), Weighted Moving Average (WMA), and Volume Weighted Moving Average (VWMA). This versatility ensures that users can tailor the indicator to suit their analytical preferences.
3. Timeframe Adaptability: Features the ability to fetch and calculate EMAs from different timeframes, providing a multi-timeframe analysis within a single chart view. This adaptability gives traders a broader perspective on market trends, enabling more informed decision-making.
4. Dynamic Visualization Options: Traders can customize the display to suit their analysis needs, including toggling the visibility of Fibonacci EMA lines, EMA prices, and smoothed EMA lines. Additionally, forecast lines can be projected into the future, offering speculative insights based on current trends.
5. Ema Tail Visualization: An innovative feature allowing for the visualization of the 'tail' or the continuation of EMA lines, which can be particularly useful for identifying trend persistence or reversal points.
6. User-friendly Customization: Through a series of input options, traders can easily adjust the source data, Fibonacci lengths, smoothing method, and visual aspects such as line colors and transparency, ensuring a seamless integration into any trading strategy.
Application and Use Cases
The "Fibonacci Timeframe Adaptive EMA" indicator is designed for traders who appreciate the significance of Fibonacci numbers in market analysis and seek a flexible tool to analyze trends across different timeframes. Whether it's for scalping, day trading, or long-term investing, this indicator can provide valuable insights into price dynamics, trend strengths, and potential reversal points. Its adaptability makes it suitable for various asset classes, including stocks, forex, commodities, and cryptocurrencies.
Indicador

Golden Level Predictions v1.0Golden Level Predictions (GLP) Trading Indicator
This script introduces a custom trading indicator named "GLP" tailored for the TradingView platform. It offers various price levels derived from Fibonacci calculations and other mathematical models, assisting traders in pinpointing potential overpriced and discounted price levels.
Key Features:
User Inputs : Users have the flexibility to select their desired timeframe, with options ranging from Weekly, Daily, Monthly, and more. Additionally, they can opt to showcase Fibonacci lines and the associated prices within these levels.
Price Level Calculations :
- Employs constants such as the Golden Ratio (PHI) and Pi (PI) to extract various multipliers and factors.
- Assesses if the current asset is a cryptocurrency and tweaks calculations accordingly.
- Determines overpriced and discounted price levels, drawing from the current open price and past data.
Fibonacci Levels :
- For each overpriced and discounted level, the script computes intermediary Fibonacci levels, including 23.6%, 38.2%, 50%, 61.8%, and 78.6% (the 3rd level is excluded due to plot limitations).
- These levels are illustrated on the chart, granting traders a more detailed view of price targets.
Visual Elements :
- Projects horizontal lines to the subsequent selected indicator interval for every calculated price level.
- Exhibits potential percentage gains or losses at each tier, indicating the prospective price alteration upon reaching that level.
- Differentiates overpriced (green) and discounted (red) levels using color codes. A neutral price is depicted in yellow.
Anticipated Close Calculation : Offers a projected closing price for the current timeframe, based on a myriad of factors.
This indicator is particularly effective with cryptocurrencies due to their inherent volatility. It's also compatible with stocks and is most efficient with tickers that provide volume data.
Indicador
