MFI Candles MTF TableMFI Candles + Multi-Timeframe Table | by julzALGO
This open-source script visualizes the Money Flow Index (MFI) in a new format — as candles instead of a traditional oscillator line. It provides a clean, volume-driven view of momentum and pressure, ideal for traders seeking more actionable and visual cues than a typical MFI plot.
What Makes It Unique:
• Plots "MFI Candles" — synthetic candles based on smoothed MFI values using a selected timeframe (default: 1D), giving a new way to read volume flow.
• Candles reflect momentum: green if MFI rises, red if it falls.
• Background turns red when MFI is overbought (≥ 80) or green when oversold (≤ 20).
Multi-Timeframe Strength Table:
• Displays MFI values from 15m, 1h, 4h, and 1D timeframes — all in one dashboard.
• Color-coded for quick recognition: 🔴 Overbought, 🟢 Oversold.
• Values are smoothed with linear regression for better clarity.
Custom Settings:
• MFI calculation length
• Smoothing factor
• Candle source timeframe
• Toggle table and OB/OS background
How to Use:
- Use MFI Candles to monitor momentum shifts based on money flow.
- Use the Multi-Timeframe Table to identify when multiple timeframes align — helpful for timing entries and exits.
- Watch the background for extreme conditions (OB/OS) that may signal upcoming reversals or pressure exhaustion.
Happy Trading!
Educational
MTF FVG with Hit Counter HarmoniXTradeMain Purpose of the Indicator:
This indicator is designed to automatically identify Fair Value Gaps (FVG) across three different timeframes simultaneously. The primary goal is to display these key zones on the chart and provide detailed information about price interaction with these levels, enabling traders to make more informed decisions.
Key Features:
Multi-Timeframe FVG Identification:
By default, the indicator identifies and displays FVGs on the Weekly (W), Daily (D), and 4-Hour (240) timeframes.
Users can customize these timeframes in the settings to fit their preferences.
Detailed Hit Counter:
This indicator goes beyond simply showing FVGs; it accurately counts the number of times the price has touched each of the three key FVG levels:
Up: The top line of the FVG
Mid: The midline (equilibrium) of the FVG
Down: The bottom line of the FVG
This information is displayed in a clear label next to each FVG zone, helping traders assess the strength and validity of each level.
Extensive Customization:
Appearance: You can change the colors for bullish and bearish FVGs for each timeframe individually, modify the style of the main and mid lines, and adjust the label size.
Detection Logic: Users can define the minimum size of an FVG for detection based on a percentage or point value.
Mitigation Logic: Two methods are provided for FVG invalidation:
Percentage Mitigation: The FVG is considered mitigated after the price has penetrated it by a specific percentage (e.g., 50%).
Full Fill: The FVG remains valid until the price has completely filled the gap and closed beyond it.
Extend Lines Capability:
To prevent chart clutter and get a better view of future price action, you can extend the FVG lines and labels to the right by a specified number of bars, creating distance from the current candle.
How to Use This Indicator:
Identifying Support and Resistance Zones: FVG areas can act as strong support and resistance levels.
Confirming Entry Points: A price touch and reaction to one of the FVG levels (especially the midline) can be used as a confirmation for entering a trade.
Assessing Level Strength: The number of hits on each level (Up, Mid, Down) indicates which price point within the zone has been more attractive to the market. For example, repeated reactions to the top line of a bearish FVG might suggest strong selling pressure at that level.
Your Feedback for Improvement:
You are invited to use this indicator and share any suggestions, ideas for improvement, or reports of potential issues. Your feedback will be valuable for implementation in future versions.
BTC/Fiat Divergence & Spread Monitor📄 BTC/Fiat Divergence & Spread Monitor
This indicator visualizes Bitcoin’s relative performance across multiple fiat currencies and highlights periods of unusual divergence. It helps traders assess which fiat pairs BTC has outperformed or underperformed over a configurable lookback period and monitor the dynamic spread between the strongest and weakest pairs.
Features:
Relative Performance Matrix:
Ranks BTC returns in 6 fiat pairs, displaying a color-coded table of percentage changes and ranks.
Divergence Spread Oscillator:
Calculates the spread between the top and bottom performing pairs and normalizes this using a Z-Score. The oscillator helps identify when fiat pricing divergence is unusually high or compressed.
Dynamic Smoothing:
Optional Hull Moving Average smoothing to reduce noise in the spread signal.
Customizable Inputs:
Lookback period for percent change.
Z-Score normalization window.
Smoothing length.
Symbol selection for each fiat pair.
Visual Mode Toggle:
Switch between relative performance lines and spread oscillator view.
Potential Use Cases:
Fiat Rotation:
Identify which fiat is relatively weak or strong to optimize your exit currency when taking BTC profits.
Volatility Detection:
Use the spread Z-Score to detect periods of high divergence across fiat pairs, signaling macro FX volatility or dislocations.
Regime Analysis:
Track when fiat spreads are converging or expanding, potentially signaling market regime shifts.
Risk Management:
When divergence is extreme (Z-Score > +1), consider reducing position sizing or waiting for reversion.
Disclaimer:
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security or asset. Always do your own research and consult a qualified financial professional before making trading decisions. Use at your own risk.
Tip:
Experiment with different lookback periods and smoothing settings to adapt the indicator to your timeframe and trading style.
Volume Overbought/Oversold Zones📊 What You’ll See on the Chart
Red Background or Red Triangle ABOVE a Candle
🔺 Means: Overbought Volume
→ Volume on that bar is much higher than average (as defined by your settings).
→ Suggests strong activity, possible exhaustion in the trend or an emotional spike.
→ It’s a warning: consider watching for signs of reversal, especially if price is already stretched.
Green Background or Green Triangle BELOW a Candle
🔻 Means: Oversold Volume
→ Volume on that bar is much lower than normal.
→ Suggests the market may be losing momentum, or few sellers are left.
→ Could signal an upcoming reversal or recovery if confirmed by price action.
Orange Line Below the Candles (Volume Moving Average)
📈 Shows the "normal" average volume over the last X candles (default is 20).
→ Helps you visually compare each bar’s volume to the average.
Gray Columns (Actual Volume Bars)
📊 These are your regular volume bars — they rise and fall based on how active each candle is.
🔍 What This Indicator Does (In Simple Words)
This indicator looks at trading volume—which is how many shares/contracts were traded in a given period—and compares it to what's considered "normal" for recent history. When volume is unusually high or low, it highlights those moments on the chart.
It tells you:
• When volume is much higher than normal → market might be overheated or experiencing a buying/selling frenzy.
• When volume is much lower than normal → market might be quiet, potentially indicating lack of interest or indecision.
These conditions are marked visually, so you can instantly spot them.
💡 How It Helps You As a Trader
1. Spotting Exhaustion in Trends (Overbought Signals)
If a market is going up and suddenly volume spikes way above normal, it may mean:
• The move is getting crowded (lots of buyers are already in).
• A reversal or pullback could be near because smart money may be taking profits.
Trading idea: Wait for high-volume up bars, then look for price weakness to consider a short or exit.
2. Identifying Hidden Opportunities (Oversold Signals)
If price is falling but volume drops unusually low, it might mean:
• Panic is fading.
• Sellers are losing energy.
• A bounce or trend reversal could happen soon.
Trading idea: After a volume drop in a downtrend, watch for bullish price patterns or momentum shifts to consider a buy.
3. Confirming or Doubting Breakouts
Volume is critical for confirming breakouts:
• If price breaks a key level with strong volume, it's more likely to continue.
• A breakout without volume could be a fake-out.
This indicator highlights volume surges that can help you confirm such moves.
📈 How to Use It in Practice
• Combine it with candlestick patterns, support/resistance, or momentum indicators.
• Use the background colors or shapes as a visual cue to pause and analyze.
• Adjust the sensitivity to suit fast-moving markets (like crypto) or slow ones (like large-cap stocks).
Rejection Blocks (RJB) and Liquidity Grabs (SFPs)- Milana TradesThis indicator highlights Rejection Blocks (RJB) and Liquidity Grabs (SFPs)—two advanced price action concepts used by professional traders, especially those following ICT (Inner Circle Trader) strategies.
Rejection Block (RJB) is an advanced version of the traditional Order Block. It marks areas where price has been sharply rejected—often zones where smart money enters or exits positions. The logic is based on specific wick rejection criteria and candle structure, with mitigated RJBs marked or hidden automatically.
Liquidity Grab (SFP) detects key Swing Failure Patterns—where price takes out a previous high/low, grabs liquidity, and reverses. Optional volume validation is available for more accurate filtering, especially using LTF (lower timeframe) data.
Key Features:
Rejection Block (RJB)
1) Identifies both bullish and bearish rejection blocks.
2) Two logic types: “trapped wick” and “signal wick” configurations.
3) Auto-detection of mitigated RJBs and customizable visualization.
4)Adjustable color, transparency, box style, label text, and more.
5)Limit on max RJBs displayed to keep the chart clean.
Liquidity Grab (SFP)
1)Detects bullish and bearish SFPs (Swing Failure Patterns).
2)Optional volume validation with threshold control (based on LTF).
3)Dynamically adjusts lower timeframe resolution (auto/manual).
4)Visual confirmation lines, wick highlights, and labels.
5)SFP Dashboard table (optional) for LTF & validation display.
SFP Wick to RJB Zones
Converts confirmed SFPs into new RJB boxes.
Adds powerful confluence between rejection and liquidity.
🔔 Built-in Alerts
Alerts can be set up for both bullish and bearish Rejection Blocks, as well as confirmed SFPs.
Ideal for traders who want to be notified in real-time when price:
Forms a valid Rejection Block,
Prints a confirmed SFP (Swing Failure),
Enters or exits key liquidity zones.
Alerts are fully compatible with TradingView’s alert system.
⚙️ Settings Overview:
Rejection Blocks
Enable plotting, box limit, mitigated filtering, label customization.
Liquidity Grabs (SFPs)
Enable SFPs (bull/bear), pivot length, volume % threshold, LTF resolution.
Enable dashboard, wick display, and validation logic.
SFP-based RJB
Create RJB zones from confirmed SFP signals.
Independent box length and color settings.
Dashboard & Labels
Enable/disable visual labels and LTF info table.
Customize font size, color, and position.
Use Cases:
Identify smart money rejection zones before price reversals.
Use mitigated RJBs to anticipate failed retests or structure breaks.
Trade with confidence by combining RJB + SFP signals.
Set alerts to monitor setups without staring at charts 24/7.
Notes:
Compatible with any market (Forex, Crypto, Indices, Stocks).
Works on all timeframes.
Previous 2 Days High/LowCan you give me a summary of this indicator
The "Previous 2 Days High/Low" indicator, written in Pine Script v5 for TradingView, plots horizontal lines representing the combined high and low prices of the previous two trading days on a chart. Here's a summary of its functionality, purpose, and key features:
Purpose
The indicator helps traders identify significant price levels by displaying the highest high and lowest low from the previous two days, which can act as potential support or resistance levels. These levels are plotted as lines that extend across the current trading day, making it easier to visualize key price zones for trading decisions.
Key Features
Calculates Combined High and Low:
Retrieves the high and low prices of the previous day and the day before using request.security on the daily timeframe ("D").
Computes the combined high as the maximum of the two days' highs and the combined low as the minimum of the two days' lows.
Dynamic Line Plotting:
Draws two horizontal lines:
Red Line: Represents the combined high, plotted at the highest price of the previous two days.
Green Line: Represents the combined low, plotted at the lowest price of the previous two days.
Lines are created at the start of a new trading day and extended to the right edge of the chart using line.set_x2, ensuring they span the entire current day.
Labels for Clarity:
Adds labels to the right of the chart, displaying the exact price values of the combined high ("Combined High: ") and combined low ("Combined Low: ").
Labels are updated to move with the lines, maintaining alignment at the current bar.
Clutter Prevention:
Deletes old lines and labels at the start of each new trading day to avoid overlapping or excessive objects on the chart.
Dynamic Requests:
Uses dynamic_requests=true in the indicator() function to allow request.security calls within conditional blocks (if ta.change(time("D"))), enabling daily data retrieval within the script's logic.
Bollinger Bands Entry/Exit ThresholdsBollinger Bands Entry/Exit Thresholds
Author of enhancements: chuckaschultz
Inspired and adapted from the original 'Bollinger Bands Breakout Oscillator' by LuxAlgo
Overview
Pairs nicely with Contrarian 100 MA
The Bollinger Bands Entry/Exit Thresholds is a powerful momentum-based indicator designed to help traders identify potential entry and exit points in trending or breakout markets. By leveraging Bollinger Bands, this indicator quantifies price deviations from the bands to generate bullish and bearish momentum signals, displayed as an oscillator. It includes customizable entry and exit signals based on user-defined thresholds, with visual cues plotted either on the oscillator panel or directly on the price chart.
This indicator is ideal for traders looking to capture breakout opportunities or confirm trend strength, with flexible settings to adapt to various markets and trading styles.
How It Works
The Bollinger Bands Entry/Exit Thresholds calculates two key metrics:
Bullish Momentum (Bull): Measures the extent to which the price exceeds the upper Bollinger Band, expressed as a percentage (0–100).
Bearish Momentum (Bear): Measures the extent to which the price falls below the lower Bollinger Band, also expressed as a percentage (0–100).
The indicator generates:
Long Entry Signals: Triggered when the bearish momentum (bear) crosses below a user-defined Long Threshold (default: 40). This suggests weakening bearish pressure, potentially indicating a reversal or breakout to the upside.
Exit Signals: Triggered when the bullish momentum (bull) crosses below a user-defined Sell Threshold (default: 80), indicating a potential reduction in bullish momentum and a signal to exit long positions.
Signals are visualized as tiny colored dots:
Long Entry: Blue dots, plotted either at the bottom of the oscillator or below the price bar (depending on user settings).
Exit Signal: White dots, plotted either at the top of the oscillator or above the price bar.
Calculation Methodology
Bollinger Bands:
A user-defined Length (default: 14) is used to calculate an Exponential Moving Average (EMA) of the source price (default: close).
Standard deviation is computed over the same length, multiplied by a user-defined Multiplier (default: 1.0).
Upper Band = EMA + (Standard Deviation × Multiplier)
Lower Band = EMA - (Standard Deviation × Multiplier)
Bull and Bear Momentum:
For each bar in the lookback period (length), the indicator calculates:
Bullish Momentum: The sum of positive deviations of the price above the upper band, normalized by the total absolute deviation from the upper band, scaled to a 0–100 range.
Bearish Momentum: The sum of positive deviations of the price below the lower band, normalized by the total absolute deviation from the lower band, scaled to a 0–100 range.
Formula:
bull = (sum of max(price - upper, 0) / sum of abs(price - upper)) * 100
bear = (sum of max(lower - price, 0) / sum of abs(lower - price)) * 100
Signal Generation:
Long Entry: Triggered when bear crosses below the Long Threshold.
Exit: Triggered when bull crosses below the Sell Threshold.
Settings
Length: Lookback period for EMA and standard deviation (default: 14).
Multiplier: Multiplier for standard deviation to adjust Bollinger Band width (default: 1.0).
Source: Input price data (default: close).
Long Threshold: Bearish momentum level below which a long entry signal is generated (default: 40).
Sell Threshold: Bullish momentum level below which an exit signal is generated (default: 80).
Plot Signals on Main Chart: Option to display entry/exit signals on the price chart instead of the oscillator panel (default: false).
Style:
Bullish Color: Color for bullish momentum plot (default: #f23645).
Bearish Color: Color for bearish momentum plot (default: #089981).
Visual Features
Bull and Bear Plots: Displayed as colored lines with gradient fills for visual clarity.
Midline: Horizontal line at 50 for reference.
Threshold Lines: Dashed green line for Long Threshold and dashed red line for Sell Threshold.
Signal Dots:
Long Entry: Tiny blue dots (below price bar or at oscillator bottom).
Exit: Tiny white dots (above price bar or at oscillator top).
How to Use
Add to Chart: Apply the indicator to your TradingView chart.
Adjust Settings: Customize the Length, Multiplier, Long Threshold, and Sell Threshold to suit your trading strategy.
Interpret Signals:
Enter a long position when a blue dot appears, indicating bearish momentum dropping below the Long Threshold.
Exit the long position when a white dot appears, indicating bullish momentum dropping below the Sell Threshold.
Toggle Plot Location: Enable Plot Signals on Main Chart to display signals on the price chart for easier integration with price action analysis.
Combine with Other Tools: Use alongside other indicators (e.g., trendlines, support/resistance) to confirm signals.
Notes
This indicator is inspired by LuxAlgo’s Bollinger Bands Breakout Oscillator but has been enhanced with customizable entry/exit thresholds and signal plotting options.
Best used in conjunction with other technical analysis tools to filter false signals, especially in choppy or range-bound markets.
Adjust the Multiplier to make the Bollinger Bands wider or narrower, affecting the sensitivity of the momentum calculations.
Disclaimer
This indicator is provided for educational and informational purposes only.
Ticker Pulse Meter + Fear EKG StrategyDescription
The Ticker Pulse Meter + Fear EKG Strategy is a technical analysis tool designed to identify potential entry and exit points for long positions based on price action relative to historical ranges. It combines two proprietary indicators: the Ticker Pulse Meter (TPM), which measures price positioning within short- and long-term ranges, and the Fear EKG, a VIX-inspired oscillator that detects extreme market conditions. The strategy is non-repainting, ensuring signals are generated only on confirmed bars to avoid false positives. Visual enhancements, such as optional moving averages and Bollinger Bands, provide additional context but are not core to the strategy's logic. This script is suitable for traders seeking a systematic approach to capturing momentum and mean-reversion opportunities.
How It Works
The strategy evaluates price action using two key metrics:
Ticker Pulse Meter (TPM): Measures the current price's position within short- and long-term price ranges to identify momentum or overextension.
Fear EKG: Detects extreme selling pressure (akin to "irrational selling") by analyzing price behavior relative to historical lows, inspired by volatility-based oscillators.
Entry signals are generated when specific conditions align, indicating potential buying opportunities. Exits are triggered based on predefined thresholds or partial position closures to manage risk. The strategy supports customizable lookback periods, thresholds, and exit percentages, allowing flexibility across different markets and timeframes. Visual cues, such as entry/exit dots and a position table, enhance usability, while optional overlays like moving averages and Bollinger Bands provide additional chart context.
Calculation Overview
Price Range Calculations:
Short-Term Range: Uses the lowest low (min_price_short) and highest high (max_price_short) over a user-defined short lookback period (lookback_short, default 50 bars).
Long-Term Range: Uses the lowest low (min_price_long) and highest high (max_price_long) over a user-defined long lookback period (lookback_long, default 200 bars).
Percentage Metrics:
pct_above_short: Percentage of the current close above the short-term range.
pct_above_long: Percentage of the current close above the long-term range.
Combined metrics (pct_above_long_above_short, pct_below_long_below_short) normalize price action for signal generation.
Signal Generation:
Long Entry (TPM): Triggered when pct_above_long_above_short crosses above a user-defined threshold (entryThresholdhigh, default 20) and pct_below_long_below_short is below a low threshold (entryThresholdlow, default 40).
Long Entry (Fear EKG): Triggered when pct_below_long_below_short crosses under an extreme threshold (orangeEntryThreshold, default 95), indicating potential oversold conditions.
Long Exit: Triggered when pct_above_long_above_short crosses under a profit-taking level (profitTake, default 95). Partial exits are supported via a user-defined percentage (exitAmt, default 50%).
Non-Repainting Logic: Signals are calculated using data from the previous bar ( ) and only plotted on confirmed bars (barstate.isconfirmed), ensuring reliability.
Visual Enhancements:
Optional moving averages (SMA, EMA, WMA, VWMA, or SMMA) and Bollinger Bands can be enabled for trend context.
A position table displays real-time metrics, including open positions, Fear EKG, and Ticker Pulse values.
Background highlights mark periods of high selling pressure.
Entry Rules
Long Entry:
TPM Signal: Occurs when the price shows strength relative to both short- and long-term ranges, as defined by pct_above_long_above_short crossing above entryThresholdhigh and pct_below_long_below_short below entryThresholdlow.
Fear EKG Signal: Triggered by extreme selling pressure, when pct_below_long_below_short crosses under orangeEntryThreshold. This signal is optional and can be toggled via enable_yellow_signals.
Entries are executed only on confirmed bars to prevent repainting.
Exit Rules
Long Exit: Triggered when pct_above_long_above_short crosses under profitTake.
Partial exits are supported, with the strategy closing a user-defined percentage of the position (exitAmt) up to four times per position (exit_count limit).
Exits can be disabled or adjusted via enable_short_signal and exitPercentage settings.
Inputs
Backtest Start Date: Defines the start of the backtesting period (default: Jan 1, 2017).
Lookback Periods: Short (lookback_short, default 50) and long (lookback_long, default 200) periods for range calculations.
Resolution: Timeframe for price data (default: Daily).
Entry/Exit Thresholds:
entryThresholdhigh (default 20): Threshold for TPM entry.
entryThresholdlow (default 40): Secondary condition for TPM entry.
orangeEntryThreshold (default 95): Threshold for Fear EKG entry.
profitTake (default 95): Exit threshold.
exitAmt (default 50%): Percentage of position to exit.
Visual Options: Toggle for moving averages and Bollinger Bands, with customizable types and lengths.
Notes
The strategy is designed to work across various timeframes and assets, with data sourced from user-selected resolutions (i_res).
Alerts are included for long entry and exit signals, facilitating integration with TradingView's alert system.
The script avoids repainting by using confirmed bar data and shifted calculations ( ).
Visual elements (e.g., SMA, Bollinger Bands) are inspired by standard Pine Script practices and are optional, not integral to the core logic.
Usage
Apply the script to a chart, adjust input settings to suit your trading style, and use the visual cues (entry/exit dots, position table) to monitor signals. Enable alerts for real-time notifications.
Designed to work best on Daily timeframe.
Supply & Demand MTF[E7T]This is not your average supply and demand tool. it’s a powerful, flexible indicator that helps traders spot high-probability opportunities by adapting to real-time market conditions. It uses a smart combination of volatility (ATR), volume, and price action to identify key zones where the market is likely to react. Perfect for scalpers and swing traders alike, this strategy brings together adaptive zone detection, trend bias (pivot line), two-tiered signals (S1 and S2), volume filtering, built-in Fibonacci targets, and even a debug mode for transparency and performance tracking.
KEY FEATURES
1. ADAPTIVE ZONE DETECTION; This feature highlights areas where price is likely to bounce or reversebullish demand zones and bearish supply zones. Instead of using fixed levels, it adjusts based on market volatility.
HOW IT WORKS:
Uses Average True Range (ATR) to measure volatility.
TWO MODES:
Low Volatility Mode: Makes zones tighter for calm markets.
High Volatility Mode: Expands zones during choppy or fast-moving conditions.
Plots red boxes for supply zones and blue for demand zones. Zones extend until broken or naturally expire.
WHY IT MATTERS: Traditional zone indicators often fall short in fast-changing conditions. This one adjusts automatically, helping you stay one step ahead.
EXAMPLE: On a 4H BTCUSD chart, a demand zone will form at a key support level and adjust its size depending on whether the market is quiet or volatile.
2. MARKET BIAS PIVOT LINE; This dynamic line helps you quickly see whether the market is trending up or down so you can trade in the direction of strength.
HOW IT WORKS:
Based on recent swing highs and lows (default: last 4 bars).
Line is green when price is above (bullish), red when below (bearish).
Updates live and can be turned on/off in settings.
WHY IT MATTERS: It’s a built-in trend filter. Use it to avoid fighting the market.
EXAMPLE: If SPY is above a green pivot and enters a demand zone, it’s a solid bullish setup.
3. DUAL ENTRY SIGNALS (S1 and S2) The strategy gives you two signal types depending on your risk style:
S1 SIGNALS: Early entry, based on basic confirmation (like a bullish engulfing pattern).
S2 SIGNALS: Stronger entry, requiring solid candle confirmation, volume spike, and close near the zone.
HOW IT WORKS:
S1 = good for aggressive traders or small size entries.
S2 = better for high-conviction trades and bigger position sizes.
Both signals follow your selected market mood (bullish or bearish).
WHY IT MATTERS: Flexibility! Most indicators only offer one signal style. This one gives you choice.
EXAMPLE: In EURUSD, S1 might show up when price taps a demand zone and forms a small bullish candle. If volume increases and the next candle closes strong, S2 confirms the entry.
4. VOLUME CONFIRMATION This filters out weak signals by checking for real buying/selling interest.
HOW IT WORKS:
Compares current volume to previous bar and a 10–14 bar average.
Adjustable volume thresholds for S1 and S2.
Can be disabled for markets with unreliable volume (like certain forex pairs).
WHY IT MATTERS: It adds a layer of quality control. High-volume moves usually mean higher conviction.
EXAMPLE: On AAPL, an S2 will only trigger if volume jumps by 1.3x the average, signaling strong seller presence.
5. BUILT-IN FIBONACCI TARGETS (TP1, TP2, SL) No more guessing exits. The strategy draws take profit (TP) and stop loss (SL) levels automatically based on zone size.
HOW IT WORKS:
TP1 = 2.12x the zone height
TP2 = 3.3x the zone height
SL = 1x the zone height (all adjustable)
These are shown as dashed (TP) and solid (SL) lines with labels
WHY IT MATTERS: Reduces emotional decision-making. Helps you plan trades with consistent risk/reward.
Example: In GOLD, if the demand zone is $20 tall, TP1 would be ~$42.40 higher, TP2 ~$66 higher, and SL $20 lower.
6. FULLY CUSTOMIZABLE INPUTS Tweak the settings to match your style and asset type.
KEY INPUTS:
Market Mood: Choose bullish (1) or bearish (2)
Timeframe Filter: Focus only on reliable zones (30M or 4H) or can disable to show on every timeframe
Zone Limit: Limit how many zones show (e.g., max 4)
Breakout Buffer: Defines how much price must move to break a zone
Zone Opacity: Make zones more/less visible
WHY IT MATTERS: This lets you dial in the indicator for scalping, swing trading, crypto, stocks, or forex.
Example: A scalper might use tighter zones and a low breakout buffer, while a swing trader prefers more zones and higher volatility mode.
7. DEBUG MODE (Optional) Get under the hood and see exactly how the strategy works.
HOW IT WORKS:
Shows metrics like ATR, volatility mode, memory usage, signal win rate, etc.
Plots visual lines showing zone age and success rate (TP1 hit tracking)
WHY IT MATTERS: Very few indicators show their math. This one does—great for power users who want to optimize.
EXAMPLE: You might discover that signals perform best in high volatility mode during news events, helping you adjust settings accordingly.
HOW TO USE IT
1. Add it to your TradingView chart (30M or 4H timeframes recommended).
2. Adjust inputs:
Market Mood = 1 (bullish) or 2 (bearish)
Pick your Volatility Mode
Set Zone Collector Limit (3–4 works well)
Use Timeframe Filter for better signals
3. Watch for S1 and S2:
S1 = quicker trades, lighter risk
S2 = stronger confirmation, bigger trades
4. Use the Pivot Line for trade direction.
5. Manage exits with auto TP/SL levels.
6. Turn on Debug Mode if you want detailed stats.
WORKS VERY WELL WITHOUT REPAINTING
Why It’s a Game-Changer; IT takes the guesswork out of zone trading. It’s not just smart—it’s adaptive. From volatility and volume to dynamic signals and exit plans, everything adjusts based on what the market is doing. And with a built-in trend filter and real-time debug info, it’s like having a trading co-pilot that’s always alert.
Why It’s Different Most zone indicators are basic. This one isn’t. Here’s why:
Adaptive zones that change with the market
Dual signal system (S1/S2) for flexibility
Volume confirmation to filter noise
Built-in Fibonacci targets for clean exits
Debug mode that shows you how it works
YOU CAN SET ALERTS WITHOUT repainting
THIS isn’t just another tool—it’s a smarter, more responsive way to trade.
EPS and Sales Magic Indicator V2EPS and Sales Magic Indicator V2
EPS and Sales Magic Indicator V2
Short Title: EPS V2
Author: Trading_Tomm
Platform: TradingView (Pine Script v6)
License: Free for public use under fair usage guidelines
Overview
The EPS and Sales Magic Indicator V2 is a powerful stock fundamental visualization tool built specifically for TradingView users who wish to incorporate earnings intelligence directly onto their price chart. Designed and developed by Trading_Tomm, this upgraded version of the original 'EPS and Sales Magic Indicator' includes an enriched and more insightful presentation of company performance metrics — now with TTM EPS support, advanced color-coding, label sizing, and refined control options.
This indicator is tailored for retail traders, swing investors, and long-term fundamental analysts who need to view Quarter-over-Quarter (QoQ) earnings and revenue changes directly on the price chart without switching tabs or breaking focus.
What Does It Display?
The EPS and Sales Magic Indicator V2 intelligently detects quarterly financial updates and displays the following data points via labels:
1. EPS (Earnings Per Share) – Current Quarterly Value
This is the most recent Diluted EPS published by the company, fetched using TradingView’s request.financial() function.
Displayed in the format: EPS: ₹20.45
2. EPS QoQ Percentage Change
Shows the percentage change in EPS compared to the previous quarter.
Highlights improvement or decline using arrows (up for improvement, down for decline).
Displayed in the format: EPS: ₹20.45 (up 15.3 percent)
3. Sales (Revenue) – Current Quarterly Value
Fetches and displays Total Revenue of the company in ₹Crores for easier Indian-market readability.
Displayed in the format: Sales: ₹460Cr
4. Sales QoQ Percentage Change
Measures and presents the quarter-over-quarter percentage change in total revenue.
Uses arrows to indicate growth or contraction.
Displayed in the format: Sales: ₹460Cr (down 3.8 percent)
5. EPS TTM (Trailing Twelve Months)
You now get the TTM EPS — the sum of the last four quarterly EPS values.
This value provides a better long-term earnings snapshot compared to a single quarter.
Displayed in the format: TTM EPS: ₹78.12
All of these values are automatically calculated and displayed only on the bars where a new financial report is detected, keeping your chart clean and insightful.
Customization Features
This indicator is built with user control in mind, allowing you to personalize how and what you want to see:
Show EPS in Label: Enable or disable the display of EPS and EPS QoQ values.
Show Sales in Label: Toggle the visibility of revenue and sales change percentage.
Color Options for Label Themes: The label background color is automatically determined based on performance.
Green: Both EPS and Sales increased QoQ.
Red: Both decreased.
Orange: One increased and the other decreased.
Gray: Default color (if values are unavailable or mixed).
Label Text Size: Choose from Tiny, Small (default), or Normal.
Visual Design
Placement: The labels are positioned just below the candlesticks using yloc.belowbar, so they do not obstruct price action or interfere with technical indicators.
Anchor: Aligned precisely with the financial reporting bars to maintain clarity in historical comparisons.
Background Style: Clean, semi-transparent styling with soft text colors for comfortable viewing.
How It Works
The indicator relies on TradingView’s powerful request.financial() function to extract fiscal quarterly financials (FQ). Internally, it uses detection logic to identify fresh data updates by comparing current vs. previous values, arithmetic to compute QoQ percentage changes in EPS and Sales, logic to build formatted labels dynamically based on user selections, and conditional color and sizing logic to enhance interpretability.
Use Cases
For Long-Term Investors: Quickly identify if a company’s profitability and revenue are improving over time.
For Swing Traders: Combine recent earnings trends with price action to evaluate if post-result momentum has real backing.
For Technical and Fundamental Traders: Layer it with moving averages, RSI, or volume to create a hybrid analysis environment.
Limitations and Notes
Financial data is provided by TradingView’s financial API, and occasional missing values may occur for less-covered stocks.
This tool does not repaint but depends on the timing of the official financial updates.
All values are rounded and formatted to prioritize readability.
Works best on Daily or higher timeframes (weekly or monthly also supported).
License and Fair Use
This script is free to use and share under TradingView’s open-use guidelines. You may copy, fork, and build upon this indicator for personal or educational purposes, but commercial usage requires attribution to the author: Trading_Tomm.
Future Enhancements (Planned)
Addition of Net Profit (QoQ and TTM)
Inclusion of Operating Margin, Profit Margin, and Book Value
Option to switch between numeric and graphical display (table mode)
Alerts on extreme earnings deviation or sales slumps
Final Thoughts
The EPS and Sales Magic Indicator V2 represents a clean, visual, and smart way to monitor a company’s core performance from your chart screen. It helps you align fundamental strength with technical strategies and provides instant financial clarity, which is especially vital in today’s fast-moving markets.
Whether you’re preparing for an earnings season or scanning past performance to pick your next investment, this indicator saves time, enhances insights, and sharpens decisions.
BB VolatilityBB Volatility indicator is monitoring the famous Bollinger Bands volatility in a normalised manner.
Could not find anything similar so thought this would be useful.
For confirmation signals of the BB to move into one or another direction it is complemented with SMA and EMA.
Additionally, it is complemented with Min Level of BB line - a level user can define and decide to use or not for even stronger conviction for a potential BB expansion.
How to use?
As it monitors when the BB narrows, it helps to identify potential price breakout moments in one or another direction.
Users can adjust duration and Min Level inputs as per security they are interested.
For better visualisation purposes, the background is plotted light green when BB crosses both SMA and EMA upwards. And plotted light red when BB crosses both downwards. Users can also adjust the colors as per their preferences.
This indicator just helps to define potential BB expansion moments. No indicator alone is perfect and for most effective use needs to be complemented with overall market context and other chart patterns.
Price-EMA Z-Score Backgroundhe “Price‑to‑EMA Z‑Score Background” indicator is designed to give you a clear, visual sense of when price has moved unusually far away from its smoothed trend, and to highlight those moments as potential overextension or mean‑reversion opportunities. Under the hood, it first computes a standard exponential moving average (EMA) of your chosen lookback length, then measures the raw difference between the current close and that EMA on every bar. To make that raw deviation comparable across different markets and timeframes, it converts the series of differences into a z‑score—subtracting the rolling mean of the deviations and dividing by their rolling standard deviation over a second lookback window.
Once you’ve normalized price‑to‑EMA distance into z‑score units, you can set two simple trigger levels: one upper threshold and one lower threshold. Whenever the z‑score climbs above the upper threshold, the chart background glows green, signaling that price is extended far above its EMA (and might be ripe for a pullback). Whenever the z‑score falls below the lower threshold, the background turns red, calling out an equally extreme move below the EMA (and a possible oversold bounce). Between those bands, no shading appears, letting you know price is trading within its “normal” range around the trend.
By adjusting the EMA period, the z‑score lookback, and the two trigger levels, you can dial in early warning signals (e.g. ±1 σ) or wait for very stretched moves (±2 σ or more). Used in concert with your favorite momentum or pattern tools—or even as a standalone visual cue—this simple background‑shading approach makes it easy to spot when a market is running too hot or too cold relative to its own recent average.
Yield Curve Regime Shading with LegendTakes two symbols (e.g. two futures contracts, two FX pairs, etc.) as inputs.
Calculates the “regime” as the sign of the change in their difference over an n‑period lookback.
Lets you choose whether you want to color the bars themselves or shade the background.
How it works
Inputs
symbolA, symbolB: the two tickers you’re comparing.
n: lookback in bars to measure the change in the spread.
mode: pick between “Shading” or “Candle Color”.
Data fetching
We use request.security() to pull each series at the chart’s timeframe.
Regime calculation
spread = priceA – priceB
spreadPrev = ta.valuewhen(not na(spread), spread , 0) (i.e. the spread n bars ago)
If spread > spreadPrev → bullish regime
If spread < spreadPrev → bearish regime
Plotting
Shading: apply bgcolor() in green/red.
Candle Color: use barcolor() to override the bar color.
ORB IndicatorORB – Opening Range Breakout Strength (Applies to First 2 Bars Only)
The ORB (Opening Range Breakout) indicator is a momentum-based tool designed to highlight potential long trade opportunities during the first two candles of the regular trading session. It’s built to detect early strength by filtering for clean bullish price action and relative outperformance against a benchmark index.
🔍 Signal Criteria
A blue triangle is plotted at the close of the candle if the following conditions are met:
The candle is bullish (close > open)
The body makes up at least 60% of the total candle range
The candle occurs during the first or second bar after session start (default: 9:30 AM)
The candle shows greater range strength (in %) than a benchmark symbol (e.g., QQQ or SPY), scaled by a configurable multiplier
⚙️ Customizable Settings
Benchmark Ticker: Choose any symbol (default: NASDAQ:QQQ)
Range Multiplier: Adjust the strength threshold relative to the benchmark’s range
Session Start Time: Set the hour and minute to match your market’s open
📈 Features
Visual signal: blue triangle below the bar
Alert-ready: Get notified instantly when a valid ORB setup appears
Executes only at bar close to ensure confirmed signal
Obsession.FX Sessions IndicatorSession & Fractal Structure Tool — for Market Phases and Microstructure Analysis
This script combines session timeframes with local fractal identification to help traders analyze market context and structural shifts. It is designed for those applying Smart Money Concepts, where precise session boundaries and reactions to key levels are critical.
Session Zones
The script visualizes the three main trading sessions: Asia, London, and New York. It helps to:
– identify active phases of market participation;
– track each session’s Highs and Lows;
– interpret price behavior in relation to intraday liquidity shifts.
Each session is fully customizable — including start/end time, background and border colors, and display style (box, high/low lines, filled zones).
Fractal Structure
Fractals are shown as local highs and lows, supporting:
– detection of BOS/CHOCH on lower timeframes;
– building A→B ranges for structural flow;
– confirming short-term directional changes.
The fractal algorithm is optimized for responsiveness and clarity, with no repainting and minimal delay.
Purpose and Usage
This tool is intended for contextual reading of price action: determining the active session and monitoring price behavior within its boundaries, with a focus on microstructural reactions. It supports building precise entry logic based on the interaction between session ranges and fractal structure.
Closed Source Justification
The script is closed-source due to its use of proprietary logic for fractal detection and session integration, developed as part of a private trading methodology not available in public libraries.
ICT Setup 04 [TradingFinder] SFP Sweep Liquidity Fake CHoCH/BOS🔵 Introduction
In smart money and ICT based trading, liquidity is never random. Some of the most meaningful market moves begin with a liquidity sweep where price intentionally hunts a previous swing high or swing low to trigger stop loss orders and absorb volume.
This manipulation is often followed by a sharp reversal from a reaction zone, creating ideal conditions for a high probability entry. This indicator is built to detect exactly that. It identifies a valid swing point and defines a reaction zone where price is likely to react.
For short setups, the zone lies between the swing high and the maximum of the candle’s open or close. For long setups, it’s drawn from the swing low to the minimum of the open or close.
When price returns to this zone and forms a qualified confirmation candle typically a doji or a small bodied candle that closes inside the zone while sweeping the liquidity this is a potential sign of reversal.
The candle must show both the sweep and the inability to hold above or below the key level, signaling a fake breakout or failed move. By combining elements of liquidity hunt, reaction zone rejection, and candle based entry confirmation, this tool highlights sniper entry points used by smart money to trap retail traders and reverse the trend. It helps filter out noise and enhances timing, making it ideal for trading in alignment with institutional order flow.
Long Position :
Short Position :
🔵 How to Use
This indicator is designed to highlight precise moments where price sweeps liquidity and reacts within a high probability reversal zone. By identifying clean swing highs and lows and defining a smart reaction zone around them, it filters out weak fakeouts and focuses only on setups with strong institutional footprints.
The tool works best when combined with market structure analysis and is suitable for both scalping and intraday trading. Below is a breakdown of how to interpret the signals for long and short positions based on the visual setups provided.
🟣 Long Setup
In a long setup, the indicator first detects a valid swing low where liquidity has likely accumulated below. A reaction zone is then drawn between the swing low and the minimum of the open or close of the swing candle.
When price returns to this zone, it must sweep the previous low and form a precise confirmation candle, such as a doji or a small bodied candle, that closes inside the zone. This candle must also reject the lower level, showing failure to continue downward.
As shown in the chart, once the liquidity grab is complete and the confirmation candle forms, a clean long signal is issued, indicating a potential bullish reversal backed by smart money behavior.
🟣 Short Setup
In a short setup, the indicator identifies a swing high where buy-side liquidity is resting. It then constructs a reaction zone between the high and the maximum of the open or close of the swing candle. Price must return to this zone, sweep the swing high, and form a bearish confirmation candle inside the zone.
A classic example is a doji or rejection candle that traps breakout buyers and fails to hold above the previous high. In the provided chart, the price aggressively hunts the liquidity above the swing high, but the close within the reaction zone signals exhaustion, prompting a short signal with high reversal probability.
These setups represent moments where price action, liquidity behavior, and candle structure align to offer strong entries. By focusing on clean sweeps and reactive confirmations, the indicator helps traders stay on the side of smart money and avoid common breakout traps.
🔵 Settings
🟣 Logical settings
Swing period : You can set the swing detection period.
Max Swing Back Method : It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.
Max Swing Back : You can set the number of swings that will go back for checking.
Maximum Distance Between Swing and Signal :The maximum number of candles allowed between the swing point and the potential signal. The default value is 50, ensuring that only recent and relevant price reactions are considered valid.
🟣 Display settings
Displaying or not displaying swings and setting the color of labels and lines.
🟣 Alert Settings
Alert SFP : Enables alerts for Swing Failure Pattern.
Message Frequency : Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.
Show Alert Time by Time Zone : Configures the time zone for alert messages. Default is 'UTC'.
🔵 Conclusion
This indicator is built for traders who rely on liquidity driven setups and smart money principles. By combining swing structure analysis with precision reaction zones and strict entry confirmation, it isolates the exact moments where price sweeps liquidity and fails to continue. These are high value points where institutional activity often reveals itself, and retail traps unfold.
Unlike generic breakout tools, this script focuses on quality over quantity by requiring both a sweep of a swing high or low and a confirmed rejection candle that closes inside a predefined zone. With customizable swing depth, proximity filters, visual highlights, and alert functions, it offers a complete framework for identifying and acting on fake breakouts with confidence. Whether you trade forex, crypto, or indices, this tool enhances your ability to align with true order flow and take entries where liquidity is most likely to shift.
Watermark Clarity V33🌟 Introducing Watermark Clarity V33 – Banner 🌟
Watermark Clarity V33 is a visual utility tool designed to enhance chart awareness, focus, and clean aesthetics without adding market noise. Unlike traditional indicators, this script does not generate buy/sell signals or perform technical analysis. Instead, it provides a customizable on-chart watermark banner that clearly communicates your current mindset, risk awareness, or trading bias directly on the chart — helping traders stay aligned with their pre-defined plans and reducing impulsive behavior.
Whether you’re a discretionary trader, scalper, or swing trader, Watermark Clarity V33 offers an adaptive display that blends clarity with minimalism, keeping your chart clean while remaining informative.
🛠 Customizable Parameters
• Dual Text Banners: Configure two independent headers to reflect trading goals, risk posture, or emotional cues.
• Smart Animation Toggle: Optionally animate between messages to help reinforce shifting market awareness or draw attention during high-alert periods.
• Size, Color & Positioning: Adjust the info box’s text size, banner dimensions, background color, transparency, and placement (top/middle/bottom – left/center/right).
• Transparent Mode: Switch to semi-transparent mode for cleaner overlays during live sessions or screen recording.
🚀 New Feature – Custom Alerts & Smart Animation Control
• Market-Aware Animation Logic:
When Enable Animation is turned on and both Heading 1 and Heading 2 are filled:
• 📈 During Market Hours → The banner alternates smoothly between both headings, helping maintain awareness and visual engagement.
• 💤 Outside Market Hours → The banner remains fixed on Heading 1. This acts as a subtle visual cue that markets are currently closed — giving you peace of mind and a cleaner screen.
✨ Visual Utility Use Cases
• Accountability Layer: Keep yourself accountable to your trading rules or session checklist.
• Mindset Anchor: Display motivational or tactical reminders that guide your trading behavior.
• Multi-Timeframe Syncing: Use different watermarks across charts to stay aligned across timeframes or instruments.
📘 How to Use
1. Add the Indicator: Apply “Watermark Clarity V33 – Banner” to your chart.
2. Configure Inputs: Adjust the banner texts, size, color scheme, and screen position to your liking.
4. Focus & Trade: Let the visual cue support your decision-making environment without interfering with price action.
❗ Important Notes
• This indicator does not analyze price data or generate signals. It is designed solely for visual clarity and trader discipline support.
• All display logic runs in real-time and responds to your settings only, no repainting or lookahead bias.
Hodie Smart Inside BarThe Hodie Smart Inside Bar indicator automatically detects and visually highlights inside bars — candles fully contained within the range of the previous (parent) candle.
How the indicator works:
Inside Bar Identification:
The indicator analyzes each candle and checks if its high is lower than the previous candle’s high, and its low is higher than the previous candle’s low. If this condition is met, the candle is considered an inside bar.
Size Filtering:
To filter out small and insignificant consolidations, the indicator compares the size of the parent candle’s range to the inside bar’s range. Only if the parent candle is significantly larger (2 times or more — adjustable parameter), the inside bar is considered significant.
Zone Drawing:
For each detected inside bar, the indicator draws a rectangular zone bounded by the parent candle’s high and low. This zone automatically extends to the right as new bars appear until the price moves outside the parent candle’s range.
Zone Completion:
Once the price closes above the parent candle’s high or below its low, the zone is considered complete and stops extending.
Visual Aids:
If enabled, the indicator can shade the background of the current inside bar for additional visual emphasis.
A label with the text "IB" appears above the inside bar candle on the chart for easier identification.
Alerts:
Supports alerts when a new inside bar forms.
Alerts help traders notice important signals promptly.
To activate, create an alert on the indicator with the condition “New Inside Bar”.
Benefits of the Indicator:
Inside bars often signal consolidation and potential liquidity accumulation, which may be followed by a strong impulsive breakout. This indicator helps traders quickly identify consolidation zones and prepare for possible price moves.
Hodie Smart Inside BarThe Hodie Smart Inside Bar indicator automatically detects and visually highlights inside bars — candles fully contained within the range of the previous (parent) candle.
How the indicator works:
Inside Bar Identification:
The indicator analyzes each candle and checks if its high is lower than the previous candle’s high, and its low is higher than the previous candle’s low. If this condition is met, the candle is considered an inside bar.
Size Filtering:
To filter out small and insignificant consolidations, the indicator compares the size of the parent candle’s range to the inside bar’s range. Only if the parent candle is significantly larger (2 times or more — adjustable parameter), the inside bar is considered significant.
Zone Drawing:
For each detected inside bar, the indicator draws a rectangular zone bounded by the parent candle’s high and low. This zone automatically extends to the right as new bars appear until the price moves outside the parent candle’s range.
Zone Completion:
Once the price closes above the parent candle’s high or below its low, the zone is considered complete and stops extending.
Visual Aids:
If enabled, the indicator can shade the background of the current inside bar for additional visual emphasis.
A label with the text "IB" appears above the inside bar candle on the chart for easier identification.
Alerts:
Supports alerts when a new inside bar forms.
Alerts help traders notice important signals promptly.
To activate, create an alert on the indicator with the condition “New Inside Bar”.
Benefits of the Indicator:
Inside bars often signal consolidation and potential liquidity accumulation, which may be followed by a strong impulsive breakout. This indicator helps traders quickly identify consolidation zones and prepare for possible price moves.
Fractal Adaptive Moving Average (FRAMA)Core Concept
Unlike traditional moving averages that use fixed smoothing factors, FRAMA adapts its responsiveness based on how "fractal" or chaotic the price movement is:
In trending markets (low fractal dimension), it becomes more responsive
In choppy/sideways markets (high fractal dimension), it becomes smoother
How It Works
1. Fractal Dimension Calculation:
Splits the lookback period into two halves
Calculates price ranges for each half and the total period
Uses logarithmic ratios to determine the fractal dimension (bounded between 1.0 and 2.0)
2. Dynamic Alpha Calculation:
Converts fractal dimension to a smoothing factor (alpha)
Higher fractal dimension = lower alpha = smoother average
Lower fractal dimension = higher alpha = more responsive average
3. Adaptive Smoothing:
Applies the calculated alpha to create the moving average
FRAMA = alpha × current_price + (1 - alpha) × previous_FRAMA
Key Parameters
Length (16): Lookback period for calculations
Fast Constant (4.0): Maximum responsiveness limit
Slow Constant (300.0): Minimum responsiveness limit
Visual Features
Line Color: Green when rising, red when falling
Background: Light green above FRAMA (bullish), light red below (bearish)
Information Table: Shows current FRAMA value, price, trend direction, and efficiency ratio
Close Price: Plotted as a semi-transparent white line for comparison
Trading Applications
FRAMA is particularly useful for:
Trend Following: More responsive in strong trends, less noisy in consolidations
Support/Resistance: Acts as dynamic support in uptrends, resistance in downtrends
Market Regime Detection: The efficiency ratio helps identify trending vs. ranging markets
Entry/Exit Signals: Crossovers and price position relative to FRAMA
The indicator automatically balances between being fast enough to catch trends early while being smooth enough to avoid false signals in choppy markets.
In this FRAMA script, fractal refers to measuring the complexity or "roughness" of price movements over time, not the self-similar geometric patterns we typically think of.
What the Script Measures
The script calculates a fractal dimension that quantifies how chaotic or smooth the price action is:
Low fractal dimension (closer to 1.0): Price moves in a relatively straight, trending manner
High fractal dimension (closer to 2.0): Price moves in a jagged, choppy, sideways manner.
The Logic
If the market is trending smoothly:
The sum of the two half-period ranges will be close to the total range
This gives a fractal dimension closer to 1.0
The indicator becomes more responsive (faster)
If the market is choppy/sideways:
The sum of the two half-period ranges will be much larger than the total range
This gives a fractal dimension closer to 2.0
The indicator becomes less responsive (smoother)
Practical Example
Imagine a 16-period lookback:
Trending market: Price goes from 100 → 116 steadily
Choppy market: Price bounces 100→108→102→114→106→116
The choppy market has a higher fractal dimension because there's more "path length" relative to the actual distance traveled.
Why This Matters
The fractal dimension becomes the adaptive mechanism that automatically adjusts the moving average's sensitivity based on current market conditions - making it faster in trends and smoother in consolidations.
what is efficiency that is shown in tables
The efficiency shown in the table measures how "efficient" or smooth the FRAMA line is compared to the actual price movement.
What It Means
Efficiency = FRAMA Movement ÷ Price Movement
Values close to 0: FRAMA is very smooth/stable while price is moving significantly
Values close to 1: FRAMA is moving almost as much as the price
Values > 1: FRAMA is moving more than the raw price (rare, usually in very short periods)
Practical Interpretation
Low Efficiency (0.1 - 0.3):
FRAMA is doing a good job of smoothing out noise
Market is likely choppy/sideways
The adaptive mechanism is working - keeping the average stable during consolidation
High Efficiency (0.7 - 1.0):
FRAMA is closely following price movements
Market is likely trending strongly
The adaptive mechanism is making the average more responsive
Medium Efficiency (0.3 - 0.7):
Balanced market conditions
FRAMA is providing moderate smoothing
Trading Context
This efficiency ratio helps you understand:
Market regime: Is this a trending or ranging market?
Signal quality: Low efficiency periods might produce fewer but higher-quality signals
Adaptive performance: How well the FRAMA is adapting to current conditions
For example, if you see efficiency at 0.15, it means the FRAMA moved only 15% as much as the price did in the last bar, indicating it's successfully filtering out noise in a choppy market. If efficiency is 0.85, the FRAMA is closely tracking price, suggesting a trending environment where you want the average to be responsive.
45pointsJ3FF Enhanced# 45pointsJ3FF Enhanced Pine Script Indicator
This is a comprehensive multi-timeframe support and resistance indicator for TradingView that displays key price levels and VWAP (Volume Weighted Average Price) across different time periods.
## 🎯 **Core Functionality**
The indicator plots critical price levels from multiple timeframes simultaneously on your chart, helping traders identify key support/resistance zones and volume-based price levels.
## 📊 **Key Levels Displayed**
### **Multi-Timeframe Levels:**
- **Daily**: Open, High, Low + Previous Day levels
- **Weekly**: Open, High, Low + Previous Week levels
- **Monthly**: Open, High, Low + Previous Month levels
- **Yearly**: Open, High, Low + Previous Year levels
### **Equilibrium Levels:**
- **50% Retracement** levels for previous periods (midpoint between high and low)
- Helps identify potential reversal zones
### **VWAP Levels:**
- **Daily VWAP**: Volume-weighted average for current day
- **Weekly VWAP**: Custom calculation for current week
- **Monthly VWAP**: Custom calculation for current month
- **Yearly VWAP**: Custom calculation for current year
## ⚙️ **Customization Options**
### **Display Controls:**
- **Individual toggles** for each timeframe (Daily/Weekly/Monthly/Yearly)
- **Previous period toggles** to show/hide historical levels
- **Line extension options**: Short, Right, Both
- **Adjustable line width** (1-3 pixels)
### **Visual Customization:**
- **Custom colors** for each timeframe
- **Individual line styles** (Solid, Dashed, Dotted) for each timeframe
- **Price labels** can be toggled on/off for lines and VWAPs
### **Price Table Features:**
- **Comprehensive side table** showing all active level prices
- **4 position options**: Top/Bottom + Left/Right corners
- **3 size options**: Small, Normal, Large
- **Color-coded entries** matching chart lines
- **Auto-filtering**: Only shows enabled levels
## 🔧 **Technical Implementation**
### **VWAP Calculations:**
- **Daily**: Uses built-in `ta.vwap()` function
- **Weekly/Monthly/Yearly**: Custom accumulative calculations using volume-weighted price averaging
- **Timeframe Detection**: Higher timeframe VWAPs only show on intraday charts
### **Higher Timeframe Data:**
- Uses `request.security()` to fetch OHLC data from higher timeframes
- **Lookahead enabled** for real-time updates
- **Previous period data** accessed using ` ` historical referencing
### **Drawing System:**
- **Dynamic line drawing** with customizable extension
- **Smart labeling system** with price formatting
- **Tick-rounded prices** for clean display
- **Performance optimized** with conditional drawing
## 📈 **Trading Applications**
### **Support & Resistance:**
- **Previous day/week/month highs and lows** act as key S/R levels
- **Opening levels** often serve as pivot points
- **Equilibrium levels** (50% retracements) are common reversal zones
### **VWAP Trading:**
- **Daily VWAP**: Intraday trend direction and mean reversion
- **Higher timeframe VWAPs**: Longer-term trend bias
- **Multiple VWAP confluence** creates stronger levels
### **Multi-Timeframe Analysis:**
- **Level confluence**: Multiple timeframes aligning creates stronger zones
- **Trend context**: Higher timeframe levels provide broader market context
- **Entry/Exit planning**: Previous period levels help plan trades
## 🎨 **Visual Organization**
### **Color Coding:**
- **Blue**: Daily levels (default)
- **Yellow**: Weekly levels (default)
- **Purple**: Monthly levels (default)
- **Red**: Yearly levels (default)
- **Transparency**: Previous period levels shown in lighter shades
### **Line Styles:**
- **Solid lines**: Current period highs/lows
- **Dashed lines**: Opening levels
- **Dotted lines**: Previous period levels
- **Thick lines**: VWAP plots (2px width)
## 🔍 **Unique Features**
1. **Custom VWAP calculations** for weekly/monthly/yearly periods
2. **Intelligent table display** that only shows active levels
3. **Comprehensive customization** without overwhelming interface
4. **Performance optimized** with conditional rendering
5. **Professional presentation** with watermark and clean styling
This indicator is particularly valuable for traders who use multiple timeframe analysis and want a clean, organized way to visualize key price levels and volume-based averages all in one tool.
Initial balance - weeklyWeekly Initial Balance (IB) — Indicator Description
The Weekly Initial Balance (IB) is the price range (High–Low) established during the week’s first trading session (most commonly Monday). You can measure it over the entire day or just the first X hours (e.g. 60 or 120 minutes). Once that session ends, the IB High and IB Low define the key levels where the initial weekly range formed.
Why Measure the Weekly IB?
Week-Opening Sentiment:
Monday’s range often sets the tone for the rest of the week. Trading above the IB High signals bullish control; trading below the IB Low signals bearish control.
Key Liquidity Zones:
Large institutions tend to place orders around these extremes, so you’ll frequently see tests, breakouts, or rejections at these levels.
Support & Resistance:
The IB High and IB Low become natural barriers. Price will often return to them, bounce off them, or break through them—ideal spots for entries and exits.
Volatility Forecast:
The width of the IB (High minus Low) indicates whether to expect a volatile week (wide IB) or a quieter one (narrow IB).
Significance of IB Levels
Breakout:
A clear break above the IB High (for longs) or below the IB Low (for shorts) can ignite a strong trending move.
Fade:
A rejection off the IB High/Low during low momentum (e.g. low volume or pin-bar formations) offers a high-probability reversal trade.
Mid-Point:
The 50% level of the IB range often “magnetizes” price back to it, providing entry points for continuation or reversal strategies.
Three Core Monday IB Strategies
A. Breakout (Open-Range Breakout)
Entry: Wait for 1–2 candles (e.g. 5-minute) to close above IB High (long) or below IB Low (short).
Stop-Loss: A few pips below IB High (long) or above IB Low (short).
Profit-Target: 2–3× your risk (Reward:Risk ≥ 2:1).
Best When: You spot a clear impulse—such as a strong pre-open volume spike or news-driven move.
B. Fade (Reversal at Extremes)
Entry: When price tests IB High but shows weakening momentum (shrinking volume, upper-wick candles), enter short; vice versa for IB Low and longs.
Stop-Loss: Just beyond the IB extreme you’re fading.
Profit-Target: Back toward the IB mid-point (50% level) or all the way to the opposite IB extreme.
Best When: Monday’s action is range-bound and lacks a clear directional trend.
C. Mid-Point Trading
Entry: When price returns to the 50% level of the IB range.
In an up-trend: buy if it bounces off mid-point back toward IB High.
In a down-trend: sell if it reverses off mid-point back toward IB Low.
Stop-Loss: Just below the nearest swing-low (for longs) or above the nearest swing-high (for shorts).
Profit-Target: To the corresponding IB extreme (High or Low).
Best When: You see a strong initial move away from the IB, followed by a pullback to the mid-point.
Usage Steps
Configure your session: Measure IB over your chosen Monday timeframe (whole day or first X hours).
Choose your strategy: Align Breakout, Fade, or Mid-Point entries with the current market context (trend vs. range).
Manage risk: Keep risk per trade ≤ 1% of account and maintain at least a 2:1 Reward:Risk ratio.
Backtest & forward-test: Verify performance over multiple Mondays and in a paper-trading environment before going live.
PMI Nifty (Intraday) 5 Mins V2This is a Special Strategy for Nifty Intraday to be used on 5 Minutes Chart.
We are not a SEBI-registered investment or financial advisor. Strategies should not be followed solely based on past performance. Profit and loss are part of the trading business and Back testing is a feature of Trading View and we show it only for informational and educational purposes.
Conducting paper trading for at least one month is highly recommended to understand strategy behavior.
Please note that trading strategies are not a shortcut to becoming wealthy, and a disciplined approach is essential for long-term results.