Predictive Time & AlertsPredictive Time Engine (ICT Macros)
Summary
The Predictive Time Engine is a visual tool designed specifically for traders who utilize Time & Price based methodologies, particularly those inspired by ICT (Inner Circle Trader) concepts.
The primary purpose of this indicator is to visualize the critical "time windows" where market liquidity is most likely to be significantly manipulated or distributed. Instead of only appearing in real-time, this indicator is predictive: at the beginning of each day, it will automatically calculate and draw all selected macro sessions for the day ahead, serving as your daily time roadmap.
With this tool, you will no longer miss these crucial moments and can be better prepared to anticipate price action.
Key Features
Predictive Visualization: Automatically projects and draws all macro time windows for the current trading day, giving you a forward-looking view of where the action is likely to occur.
ICT Macro Time Filter: Based on the "Hourly-Macros" concept, which are specific 20-minute periods within each hour (e.g., 09:50 - 10:10) where the price delivery algorithm (IPDA) is often active. You can select and enable each macro window you wish to monitor.
Full Customization: You have complete control over how the information is displayed. Choose between:
Outline: A clean, transparent box frame.
Background: A solid, colored background for the time zone.
Vertical Lines (Dotted, Dashed, Solid): Marks the beginning of each macro session with a vertical line in your chosen style.
Real-time Alerts: Set up notifications in TradingView to get an alert precisely when the price enters one of your selected Macro Time windows.
Automatic Management: Drawings from previous days are automatically cleared to keep your chart clean and focused on the current day's schedule.
The Concept Behind the Indicator
This indicator is inspired by the concept that the market moves in fractal Time Cycles, from yearly down to 90-minute periods. Each of these time cycles often follows a pattern of AMD (Accumulation, Manipulation, Distribution).
Accumulation: A phase of order gathering.
Manipulation: Price is often driven in the opposite direction of its true intent to sweep liquidity (stop losses).
Distribution: The true price move towards a liquidity target (Draw On Liquidity).
The Macro Time windows marked by this indicator are often the stage where the Manipulation phase or the beginning of the Distribution phase occurs. By knowing when these times are approaching, traders can be on high alert and look for confirming trade setups in the most potent areas and times.
How to Use
Configure Sessions: Open the indicator's Settings.
In the "1. General Settings" tab, ensure the Timezone matches your chart's local time (Default: "America/New_York").
In the "2. Active Macro Sessions" tab, check the box for each macro time window you want to monitor.
Choose Display Style: In "General Settings", select your preferred "Display Style" (Outline, Background, or various Line types). You can also change the color.
Set Up Alerts (Optional):
Click the "Alert" clock icon in the TradingView toolbar.
In the "Condition" section, select this indicator: Predictive Time Engine.
From the dropdown below it, ensure "Sesi Makro Dimulai" (Macro Session Start) is selected.
Set your desired notification options and click "Create".
Chart Interpretation: Use the marked time zones as high-alert areas. Pay close attention to how price reacts when entering or leaving these zones to find potential entry opportunities that align with your trading strategy.
Disclaimer: This tool is provided for educational and analytical purposes only. It is not financial advice. All trading decisions are solely your responsibility. Conduct your own research and manage your risk appropriately.
Chart patterns
Altcoins vs Stablecoins (with signals)This indicator visualizes the ratio of altcoin market dominance (excluding the top 10) to the combined dominance of the two largest stablecoins (USDT + USDC).
📊 Formula:
OTHERS.D / (USDT.D + USDC.D)
🔍 Purpose:
Rising values indicate increasing capital flow into altcoins — a potential altseason signal
Falling values suggest capital rotation into stablecoins — risk-off behavior
🟢 Bullish Signal:
When the ratio crosses above 1.3, a green arrow appears — signaling possible altcoin momentum
🔴 Bearish Signal:
When the ratio crosses below 0.9, a red arrow appears — signaling capital flight into stablecoins
✅ Useful for:
Timing market phases
Spotting early altseason entries
Portfolio rotation and risk monitoring
200 SMA + VWAP + Manual ADX Entry Signal200 SMA + VWAP + Manual ADX Entry Signal – Indicator Description
This custom indicator is designed for trend-following intraday traders who want a powerful, rules-based entry confirmation system. It combines three proven tools—the 200-period Simple Moving Average (SMA), Volume-Weighted Average Price (VWAP), and a manually coded ADX (Average Directional Index)—to identify high-probability long entries in strong, directional markets.
By filtering trades through a combination of trend direction, mean-reversion reference, and momentum strength, this indicator helps traders avoid false breakouts, whipsaws, and low-quality setups. It’s particularly well-suited for traders using 15-minute charts, leveraged ETFs, or high-beta stocks, where precision entries and trend confirmation are critical to consistent profitability.
⸻
✅ What This Indicator Does
This indicator visually displays:
• The 200-period SMA (orange line) – a long-term trend filter.
• The VWAP (blue line) – a dynamic intraday price average used by institutions.
• A buy signal triangle below the price bar – when all bullish criteria are met.
• It also includes an alert condition so traders can be notified when a new buy signal appears in real time.
Behind the scenes, the indicator calculates trend and strength conditions and plots a BUY signal only when all three tools agree that a bullish move is in play.
⸻
🔍 The Three-Pillar Entry System
1. 200 SMA Filter – Defining Market Bias
The 200 SMA is a widely used institutional benchmark that represents long-term trend direction. In this indicator:
• A trade is only considered valid if price is above the 200 SMA.
• This helps eliminate trades in downtrending or range-bound markets.
• It ensures that entries are aligned with broader directional bias.
By filtering out trades below the 200 SMA, you instantly remove a majority of low-probability setups and whipsaw environments.
⸻
2. VWAP – Institutional Mean Price Anchor
VWAP (Volume-Weighted Average Price) is often used by hedge funds and algorithmic systems to judge whether price is considered “expensive” or “cheap” within a given trading session.
• This version of VWAP is anchored to the current intraday session.
• Trades are only considered valid if price is above the VWAP, which shows market consensus is favoring the upside.
• VWAP provides both confirmation and support levels, helping ensure your entry isn’t into overextended territory.
By combining the 200 SMA and VWAP filters, the indicator ensures that trades are only taken when price is strong on both the macro and micro timeframes.
⸻
3. ADX – Confirming Momentum Strength
ADX (Average Directional Index) is used to measure trend strength without regard to direction. However, TradingView has limited functionality with the ta.adx() call in some environments, so this script includes a custom-coded version of ADX that follows standard Wilder’s smoothing and directional movement logic.
• A BUY signal only triggers if ADX is above a user-defined threshold (default is 20) and rising from the previous bar.
• This means not only is the market trending — but the trend is strengthening.
This final filter prevents entries in chop or decaying rallies, and ensures you’re catching the strongest part of a move, not the tail end.
⸻
⚙️ Logic Summary
A BUY signal is plotted when:
• Price > 200 SMA ✅
• Price > VWAP ✅
• ADX > 20 and rising ✅
Only when all three conditions are true does the indicator plot a green triangle below the price bar.
This visual simplicity makes it ideal for fast trade decisions, and the alert function allows hands-free monitoring during busy sessions.
⸻
🧠 Recommended Use
This indicator works best on:
• 15-minute to 1-hour charts
• Intraday leveraged ETFs (e.g., TQQQ, SPYU, SQQQ)
• Trend-following strategies
• Breakout continuation trades
⸻
📉 Limitations
• This is a long-only system by design. If you want to trade short, you’ll need to invert the logic (e.g., price < 200 SMA, price < VWAP, ADX > threshold).
• It doesn’t generate exit signals. You should pair this with your own take-profit or trailing stop strategy.
• While it works great for momentum entries, it may underperform in range-bound or news-driven chop markets.
⸻
🛠️ Settings Customization
• SMA Length: default is 200; adjust for faster or slower trend confirmation.
• ADX Length: default is 14; shorter periods = more sensitive, longer = smoother.
• ADX Threshold: default is 20; raise to 25 or 30 to only catch very strong moves.
These settings give you flexibility to match the indicator to your trading style.
⸻
🚀 Final Thoughts
The 200 SMA + VWAP + Manual ADX Entry Signal is a battle-tested, rule-based tool to help you:
• Enter only when the trend, mean, and momentum align
• Avoid fakeouts and poor risk-reward entries
• Automate part of your setup process without overcomplication
This is the kind of filter used by professional traders to reduce screen time and improve trade quality. If you’re looking to build confidence in your intraday trading with clear, logical entries — this indicator will help you stay consistent and systematic.
Happy trading!
LANZ Strategy 1.0 [Backtest]🔷 LANZ Strategy 1.0 — Time-Based Session Trading with Smart Reversal Logic and Risk-Controlled Limit Orders
This backtest version of LANZ Strategy 1.0 brings precision to session-based trading by using directional confirmation, pre-defined risk parameters, and limit orders that execute overnight. Designed for the 1-hour timeframe, it allows traders to evaluate the system with configurable SL, TP, and risk settings in a fully automated environment.
🧠 Core Strategy Logic:
1. Directional Confirmation at 18:00 NY:
At 18:00 NY, the system compares the 08:00 open vs the 18:00 close:
If the direction matches the previous day, the signal is reversed.
If the direction differs, the current day's trend is kept.
This logic is designed to avoid momentum exhaustion and capture corrective reversals.
2. Entry Level Definition:
Based on the confirmed direction:
For BUY, the Low of the day is used as Entry Point (EP).
For SELL, the High of the day becomes EP.
The system plots a Stop Loss and Take Profit based on user-defined pip inputs (default: SL = 18 pips, TP = 54 pips → RR 1:3).
3. Time-Limited Entry Execution (LIMIT Orders):
Orders are sent after 18:00 NY and can be triggered anytime between 18:00 and 08:00 NY.
If EP is not touched before 08:00, the order is automatically cancelled.
4. Manual Close Feature:
If the trade is still open at the configured hour (default 09:00 NY), the system closes all positions, simulating realistic intraday exit scenarios.
5. Lot Size Calculation Based on Risk:
Lot size is dynamically calculated using the account size, risk percentage, and SL distance.
This ensures consistent risk exposure regardless of market volatility.
⚙️ Step-by-Step Flow:
08:00 NY → Captures the open of the day.
18:00 NY → Confirms direction and defines EP, SL, and TP.
After 18:00 NY → If conditions are met, a LIMIT order is placed at EP.
Between 18:00–08:00 NY → If price touches EP, the trade is executed.
At 08:00 NY → If EP wasn’t touched, the order is cancelled.
At Configured Manual Close Time (default 09:00 NY) → All open positions are force-closed if still active.
🧪 Backtest Settings:
Timeframe: 1-hour only
Order Type: strategy.entry() with limit=
SL/TP Configurable: Yes, in pips
Risk Input: % of capital per trade
Manual Close Time: Fully adjustable (default 09:00 NY)
👨💻 Credits:
Developed by LANZ
Strategy logic and trading concept built with clarity and precision.
Code structure and documentation by Kairos, your AI trading assistant.
Designed for high-confidence execution and clean backtesting performance.
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
SMA Smooth Market Structure (Multi-Timeframe)SMA Market Structure (Multi-Timeframe) is a powerful tool for tracking structural price action, using simple moving averages across any higher timeframe (HTF). It blends Smart Money Concepts with clean swing logic to reveal trend shifts, breaks of structure, and supply/demand zones.
This indicator highlights key structure features:
• Break of Structure (BOS) – Automatic detection of bullish or bearish swing breaks
• Internal Shifts – Early clues that the market is building toward a reversal
• Liquidity Sweeps (LS) – Detects swing failures that may trap traders
• Zigzag Swing Lines – Cleanly connects swing highs and lows
• Dynamic Zones – Demand (green) and supply (red) blocks drawn from engulfing breakouts
How to Use:
• Set your preferred HTF (e.g. 1H on a 15m chart) to view structure in proper context and
adjust SMA to smooth out market structure for directional consistency
• Watch BOS lines and swing labels like HH, HL, LH, LL for directional clarity
• Use the MS (Market Shift) label to identify full reversals after internal shifts + BOS
• Demand/Supply zones mark areas of previous strength and will update or mitigate automatically
• Alerts notify you of every BOS, MS, HH, LL, and LS event — no need to monitor manually
Customization Features:
• Toggle visibility of market shift markers, internal shifts, and zones
• Choose how internal shifts are calculated (High/Low or Open)
• Customize line style, width, and colors for BOS and zigzag lines
• Control zone duration and how mitigated zones behave (fade or delete)
• Built-in safety for Pine Script’s history limits using smart offset caps
Best Use Tips:
• Combine with price action patterns or volume for confirmation
• MS + BOS + zone tap often marks a high-probability reversal setup
• Use it to align lower timeframe entries with higher timeframe structure
For traders who want structure clarity without clutter, this tool is built to keep your chart actionable and adaptive.
Trend Direction (OTC)Trend Direction (OTC)
Welcome, and thank you for your interest in the Trend Direction (OTC) indicator. This is a private, invite-only tool designed to provide a clear and objective view of market structure and trend dynamics.
Overview
The primary goal of Trend Direction (OTC) is to declutter your charts and help you visually identify the prevailing market trend through a sophisticated analysis of swing points. By automatically plotting key structural points in the market, it helps traders see the bigger picture and make more informed decisions based on classic price action principles.
This indicator is suitable for all markets (Forex, Crypto, Stocks, Indices) and works on any timeframe.
Features
Intelligent Swing Detection: Automatically identifies and plots significant market swing points.
Market Structure Labels (HH, LL, LH, HL): Get instant context on the trend's health. The indicator clearly labels swing points as Higher Highs (HH), Lower Lows (LL), Lower Highs (LH), and Higher Lows (HL), allowing you to see trend continuation and potential reversals at a glance.
Trend Dashboard: A simple, color-coded dashboard in the corner of your chart provides a real-time assessment of the trend, classifying it as "Confirmed," "Unconfirmed". This helps filter out market noise and provides an extra layer of confirmation.
Customizable Display: You have full control over the visual elements.
Adjust the sensitivity of the swing detection to focus on either short-term or long-term trends.
Toggle the visibility of trend lines and labels.
Limit the number of historical swings shown on the chart to keep your workspace clean.
Customize all colors to match your chart's theme.
How to Use
The Trend Direction (OTC) indicator is designed to be intuitive. Here’s a simple guide to interpreting its signals:
Identifying an Uptrend: Look for a consistent series of HH (Higher Highs) and HL (Higher Lows). The dashboard will likely show a "Bullish" status. A break of this pattern (e.g., the formation of an LH or LL) could signal a potential change in trend.
Identifying a Downtrend: Look for a consistent series of LH (Lower Highs) and LL (Lower Lows). The dashboard will likely show a "Bearish" status. A break of this pattern (e.g., the formation of an HL or HH) could signal that the downtrend is weakening.
Ranging or Choppy Markets: In sideways markets, you will see an alternating series of swings without clear direction. The dashboard will likely read "Neutral" or flip between "Unconfirmed" states. This can be useful for avoiding low-probability setups.
Settings
Swing Detection:
Pivot Lookback: The core setting for sensitivity. Higher values = less sensitive (major swings). Lower values = more sensitive (minor swings).
Display Options:
Show Swing Labels: Toggles the HH/LL/etc. labels.
Show Trend Lines: Toggles the zig-zag lines connecting the swings.
Show Last Swings: Set to 0 to see all historical swings, or enter a number to see only the most recent ones.
Color Settings: Customize the colors of all lines and labels to your preference.
Disclaimer: The Trend Direction (OTC) indicator is a tool for analysis and should not be considered financial advice. It is designed to assist in your trading decisions, not to make them for you. Always use proper risk management. Past performance is not indicative of future results.
Aftershock Playbook: Stock Earnings Drift EngineStrategy type
Event-driven post-earnings momentum engine (long/short) built for single-stock charts or ADRs that publish quarterly results.
What it does
Detects the exact earnings bar (request.earnings, lookahead_off).
Scores the surprise and launches a position on that candle’s close.
Tracks PnL: if the first leg closes green, the engine automatically re-enters on the very next bar, milking residual drift.
Blocks mid-cycle trades after a loss until the next earnings release—keeping the risk contained to one cycle.
Think of it as a sniper that fires on the earnings pop, reloads once if the shot lands, then goes silent until the next report.
Core signal inputs
Component Default Purpose
EPS Surprise % +0 % / –5 % Minimum positive / negative shock to trigger longs/shorts.
Reverse signals? Off Quick flip for mean-reversion experiments.
Time Risk Mgt. Off Optional hard exit after 45 calendar days (auto-scaled to any TF).
Risk engine
ATR-based stop (ATR × 2 by default, editable).
Bar time stop (15-min → Daily: Have to select the bar value ).
No pyramiding beyond the built-in “double-tap”.
All positions sized as % of equity via Strategy Properties.
Visual aids
Yellow triangle marks the earnings bar.
Diagnostics table (top-right) shows last Actual, Estimate, and Surprise %.
Status-line tool-tips on every input.
Default inputs
Setting Value
Positive surprise ≥ 0 %
Negative surprise ≤ –5 %
ATR stop × 2
ATR length 50
Hold horizon 350 ( 1h timeframe chart bars)
Back-test properties
Initial capital 10 000
Order size 5 % of equity
Pyramiding 1 (internal re-entry only)
Commission 0.03 %
Slippage 5 ticks
Fills Bar magnifier ✔ · On bar close ✔ · Standard OHLC ✔
How to use
Add the script to any earnings-driven stock (AAPL, MSFT, TSLA…).
Turn on Time Risk Management if you want stricter risk management
Back-test different ATR multipliers to fit the stock’s volatility.
Sync commission & slippage with your broker before forward-testing.
Important notes
Works on every timeframe from 15 min to 1 D. Sweet spot around 30min/1h
All request.earnings() & request.security() calls use lookahead_off—zero repaint.
The “double-tap” re-entry occurs once per winning cycle to avoid drift-chasing loops.
Historical stats ≠ future performance. Size positions responsibly.
4 Flags Whale PatternThis indicator detects a unique 4-bar candlestick pattern characterized by alternating bullish and bearish candles (or vice versa), where all four candles have similar body sizes within a specified tolerance.
Usage:
This pattern may indicate a consolidation phase or a potential breakout zone after indecisive price action. Traders can use it to anticipate a directional move following the "tug-of-war" between buyers and sellers.
FeraTrading Pattern Recognition Engine🧠 Overview:
The FeraTrading Pattern Recognition Engine (PRE) is a lightweight, adaptive model that transforms raw chart data into pattern signatures and tracks their performance in real time.
Instead of relying on fixed formulas or lagging indicators, it learns from what has worked before on your chart—highlighting bull and bear patterns that have a track record of hitting a profit target within a specified number of bars.
This system is ideal for traders who want evolving entries that reflect live market behavior without repainting or hardcoding.
⚙️ How It Works:
🔹 Pattern Encoding:
The script monitors recent price action and builds a unique pattern ID using selected features:
Up to 10 feature toggles (detailed below)
Each feature is converted into a categorical value
The combination of features over a lookback window defines the pattern signature
Bullish and bearish patterns are tracked separately.
🔹 Pattern Evaluation & Learning:
As each pattern appears:
A unique ID is generated.
The script checks if price reaches the required % move within N bars.
If successful, it logs the pattern as a win.
Accuracy and sample size are updated.
Only patterns with 10+ past samples are eligible for live signals.
🔹 Signal Generation:
When today's pattern matches one of the top historically successful bull or bear patterns:
🟢 Green Triangle (below bar) = Bullish pattern match
🔴 Red Triangle (above bar) = Bearish pattern match
Signals are confirmed one bar after pattern completion to avoid repainting.
🧶 Feature Toggles:
Each of the following can be turned on/off to customize the pattern logic:
Candle Type: Bullish, Bearish, or Doji classification.
RSI > 50: Adds momentum context.
Higher High / Lower Low: Tracks continuation or breakout structure.
Volume Spike: Flags volume > 1.5x 20-bar average.
Relative Range: True if bar range > 5-bar average.
Body-to-Range > 60%: Filters for full-bodied candles.
Wick Dominance: Flags wicky/exhaustion candles.
EMA Alignment: Checks if price is in directional alignment with fast/slow EMAs.
Gap From Prior Close: Flags price gaps from previous close.
RSI Slope: Captures trend acceleration or deceleration in RSI.
Tip: 2–3 features = broader learning. 5+ features = more selective precision.
🤷 Inputs & Customization:
Target Move %: How far price must move to qualify as a win.
Lookback Bars: How far back to check for pattern definition.
Bars Forward: How much time the pattern has to hit target.
Signal Toggles: Enable/disable bullish and bearish signals.
🎯 What Makes It Original:
Learns from live data—no static formulas or preset patterns.
Signals only appear if historical accuracy + sample size threshold is met.
One-bar delayed confirmation = no repainting.
Configurable features allow full user control of complexity.
Works on any asset, any timeframe.
✅ How to Use:
Add to any intraday chart (1m–30m ideal).
Start with 2–3 features toggled on.
Let the script learn as data comes in.
Watch for triangle signals (green = bullish, red = bearish).
Combine with other tools for added confluence.
Over time, the engine becomes more selective and accurate.
💎 Why It’s Worth Paying For
The PRE isn’t a repackaged signal script—it’s a real-time learning engine. It provides:
A dynamic model that evolves with your chart
Customizable pattern encoding across 10 behavioral features
Verified, statistically accurate signals
Confirmed, non-repainting outputs
Applicability to any asset or market condition
This isn't theoretical—it's performance-driven signal logic trained by your own chart.
✅ Compliance & Originality This tool was developed from scratch by FeraTrading using fully original logic. No open-source logic or reused libraries were used. All detection methods, signal logic, and pattern encodings are unique and built with compliance in mind. This is absolutely an original script, one we think may be unique to TradingView completely and never seen before.
⚠️ Risk Disclaimer & Access Policy
This script is a historical pattern tracker—not a forecasting engine. No prediction of future price behavior is implied or guaranteed.
Use with proper risk management and trade discretion.
To protect the core pattern engine, this script is invite-only and closed-source. Opening the source would allow cloning of its real-time pattern encoding and filtering logic.
Restricting access ensures:
Proper use by qualified traders
Prevention of misuse or unauthorized distribution
Protection of the tool’s proprietary logic and long-term value
The PRE is designed to be part of a professional workflow, and its access model reflects that goal.
Simple Sessions & LevelsWhat this indicator does:
This script marks out two essential types of price levels for intraday and swing traders:
The high and low of a customizable 15-minute opening range after the market/session open.
The previous day’s high, midpoint (“halfback”), and low.
How it works:
The script lets you set the session start time (hour and minute) to match your market.
It then calculates the high and low of the first 15 minutes after the session opens and plots those as solid lines.
It also plots the prior day’s high, halfback (midpoint), and low on your chart for easy reference.
Each line and each label can be toggled on or off independently in the settings for maximum customization.
Colors for each level are also fully customizable.
How to use it:
Add the script to your chart.
Set the session start hour and minute to match the open of the market or instrument you trade.
Choose which levels and labels you want displayed by using the toggles in the settings.
The indicator will automatically draw the session range and prior day levels for you.
Use these lines as reference for key support, resistance, and potential trade entry/exit points.
What makes it unique and useful:
This tool combines a flexible session opening range with classic daily reference levels in one package. You have complete control over which levels and labels are shown, making it adaptable for any trading style. It’s especially useful for day traders who want to quickly identify volatility windows and the most important price levels from the previous session.
Simple Risk-to-Reward (R) Indicator (TP1–TP2)What this indicator does:
This tool helps traders clearly visualize their risk and reward on any trade by plotting their entry, stop loss, and take-profit (TP) levels directly on the chart. It’s designed to make manual trade planning more visual and systematic.
How it works:
You set your planned entry price, whether you want to plot a Long or Short setup, and your stop-loss distance (in ticks).
The indicator calculates your stop-loss level and automatically plots it on the chart.
It then draws take-profit levels at 1R and 2R (where “R” is your risk, the distance between entry and stop).
You can toggle the TP1 and TP2 lines on or off to suit your preference.
How to use it:
Open the settings and enter your intended entry price.
Select “Long Setup” for a buy trade, or turn it off for a sell/short trade.
Enter your desired stop loss in ticks.
Choose which take-profit levels to display by toggling TP1 and TP2.
The indicator will show entry, stop, and take-profit levels right on your chart so you can easily see your planned risk/reward.
What makes it unique and useful:
This indicator is designed for manual trade planning, giving you full control over your inputs and letting you instantly see your risk/reward on any instrument or timeframe. Unlike some built-in tools, it supports both long and short trades, lets you set all levels manually, and keeps your charts clean and easy to interpret.
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.
Session [PRO]Session Pro is a powerful and highly customizable indicator designed to visualize key trading sessions and their internal phases directly on your chart. It's built for traders who base their strategies on time-of-day dynamics, market opens, and specific session profiles.
This tool moves beyond simple session boxes by allowing you to map out detailed sub-sessions (e.g., Accumulation, Manipulation, Distribution phases) within the main trading windows, giving you a clearer view of the market's structure throughout the day.
Key Features
Customizable Main Sessions: Visualize Asia, London, and New York (AM/PM) sessions with distinct high/low ranges.
Detailed Sub-Sessions: Break down the London and New York sessions into three distinct profiles (A, M, D) to analyze intraday market movements.
Advanced Display Control: For every single session and sub-session, use a dropdown menu to choose your preferred display style:
Outline & Fill: The default view with a transparent colored background.
Outline Only: A minimalist view showing only the session's high/low border.
Off: Hide any session completely to declutter your chart.
Granular Color Customization: Every session and sub-session has its own individual color picker, giving you full control over your chart's aesthetics.
Custom Alerts: Never miss a session start again. Enable alerts for any specific main or sub-session you want to track.
Full Timezone Support: Easily sync the indicator to your local time using a UTC offset (defaulting to NY time, UTC-4) or your exchange's timezone.
How to Use
Go into the indicator Settings.
For each session, configure the Time, Color, and Display Style to your preference.
Check the Alert box for any session you wish to receive a notification for when it begins.
Adjust the global UTC Timezone Offset in the final settings tab to match your trading clock.
How to Set Alerts
First, go into the indicator's Settings and check the "Alert" box for each session you want to be notified about.
Click the "Alert" button on the TradingView toolbar (the alarm clock icon).
In the Condition dropdown, select "Session Pro".
In the dropdown directly below it, choose the option "Any alert() function call".
Select your preferred notification method (e.g., Pop-up, Email, App Notification) and click "Create".
Hope this tool helps you better visualize market structure and time your trades more effectively. Happy trading!
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.
Daily Candle BoxDaily candle overlay, high, low, and candle color based on open and close
Charts included in script: '3m', '5m', '15m', '1H'
1. Visualizes Key Daily Levels on Lower Timeframes:
The indicator overlays the previous day’s high and low as a box on a lower timeframe chart (e.g., 5-minute). This highlights critical support and resistance levels from the daily timeframe, making it easier to see where price might react without switching to a daily chart.
Use Case: Traders can identify potential reversal or breakout zones on intraday charts, aligning lower timeframe trades with higher timeframe structure.
2. Simplifies Intraday Trading Decisions:
By showing the previous day’s range (high to low) as a box, it provides a clear context for intraday price action. For example, if the price approaches the box’s top (previous day’s high), traders might anticipate resistance or a breakout.
Use Case: Useful for scalpers or day traders who need to quickly assess whether the price is near significant daily levels for entries, exits, or stop-loss placement.
3. Highlights Daily Candle Direction:
The box’s color (green for bullish, red for bearish) indicates whether the previous day’s close was above or below its open. This provides a quick visual cue about the prior day’s market sentiment.
First 15-min Candle High/LowFirst 15-Min Candle High/Low – Intraday Range Indicator
This script plots the High and Low of the first 15-minute candle of the trading day using:
🟢 Green horizontal line for the first 15-min High
🔴 Red horizontal line for the first 15-min Low
These levels are commonly used by intraday traders as:
Breakout zones
Support/resistance levels
Entry/exit reference points
The script is designed to reset daily and is especially helpful for index and equity traders operating during market open volatility.
⏰ Optimized for markets operating in IST (Indian Standard Time), such as NSE/BSE, starting at 09:15 AM.
🛠️ How to Use:
Apply on 15-minute or lower timeframes
Ideal for breakout strategies, opening range setups, or volatility scalping
ATR Spike KienthogoATR Spike Kienthogo
This indicator, titled "ATR Spike Kienthogo", is designed to visualize volatility spikes in the market by comparing the current Average True Range (ATR) against a dynamic threshold. The threshold is calculated as an EMA-smoothed ATR multiplied by a user-defined factor. When the current ATR exceeds this threshold, the indicator highlights it as a spike event, further classified by price direction (up or down).
The script features:
Configurable ATR smoothing methods: RMA, SMA, EMA, WMA.
Customizable spike detection threshold via spike_multiple.
Conditional color plotting of ATR:
Spike + Price Up → Green
Spike + Price Down → Red
Non-spike → User-defined neutral color, adaptive to candle direction (greenish for bullish candles, reddish for bearish candles).
This script is especially useful for:
Detecting volatility expansions.
Enhancing entry/exit timing during strong directional moves.
Confirming breakout strength or trap signals in low-volatility regimes.
The logic maintains clean separation between spike vs. non-spike conditions and offers full control over color coding for better visual integration in multi-indicator environments.
ICT IRL & ERL ZonesICT IRL & ERL Zones
This indicator visualizes Internal Range Liquidity (IRL) and External Range Liquidity (ERL) levels, based on ICT (Inner Circle Trader) concepts. It's designed to help traders identify key liquidity zones that often act as magnet levels or reversal points in price action.
🔍 How It Works
Lookback Range: The script analyzes the highest high and lowest low over a user-defined number of candles (default: 50).
IRL (Internal Range Liquidity):
Plots the highest high and lowest low within the lookback period.
Represented as orange lines and a shaded zone.
ERL (External Range Liquidity):
Extends the IRL boundaries by a small buffer (50 ticks above/below).
Visualizes zones where price may reach for liquidity beyond the current range.
Plotted as a green (high) and red (low) line.
⚙️ Inputs
Lookback Range: Number of candles to calculate the range (min 5).
Show IRL: Toggle visibility for Internal Range Liquidity zone.
Show ERL: Toggle visibility for External Range Liquidity buffer zone.
📊 Visual Elements
IRL High/Low: Orange lines with fill to mark the main liquidity range.
ERL High/Low: Green and red lines indicating potential liquidity sweep zones.
Zone Fill: Light orange shading to visually emphasize the IRL area.
📈 Use Case
Use this tool to:
Identify areas where price might consolidate or reverse.
Highlight likely zones of liquidity grabs before trend continuations or shifts.
Enhance entry/exit decisions based on smart money concepts.
Dominance Interflow DThis indicator visualizes the normalized dominance levels of key sectors in the crypto market, including Bitcoin, Ethereum, Stablecoins, and the Altcoins as grouped market segments.
All dominance values are normalized between 0 and 1 for clear visual comparison. This allows traders and analysts to:
- Track capital rotation and dominance shifts
- Identify Altseason setups or defensive market phases
- Spot Risk-On / Risk-Off sentiment based on Stablecoin dominance
- Evaluate market breadth through altcoin tracking
📊 Included Data Series:
- 🟧 Bitcoin Dominance (BTC.D)
- 🔵 Ethereum Dominance (ETH.D)
- ⚪ Stablecoin Dominance (STABLE.C.D)
- 🟥 Without Top 50 Coins (TOTALE50.D)
- 🟥 without Top 100 Coins (TOTALE100.D)
🧠 Smart Normalization:
Automatically adjusts based on timeframe
500 candles for Daily (1D)
💡 Use this tool to understand macro capital flows, identify crypto sector trends, and optimize your asset rotation strategy.