Adaptive Valuation [BackQuant]Adaptive Valuation
What this is
A composite, zero-centered oscillator that standardizes several classic indicators and blends them into one “valuation” line. It computes RSI, CCI, Demarker, and the Price Zone Oscillator, converts each to a rolling z-score, then forms a weighted average. Optional smoothing, dynamic overbought and oversold bands, and an on-chart table make the inputs and the final score easy to inspect.
How it works
Components
• RSI with its own lookback.
• CCI with its own lookback.
• DM (Demarker) with its own lookback.
• PZO (Price Zone Oscillator) with its own lookback.
Standardization via z-score
Each component is transformed using a rolling z-score over lookback bars:
z = (value − mean) ÷ stdev , where the mean is an EMA and the stdev is rolling.
This puts all inputs on a comparable scale measured in standard deviations.
Weighted blend
The z-scores are combined with user weights w_rsi, w_cci, w_dm, w_pzo to produce a single valuation series. If desired, it is then smoothed with a selected moving average (SMA, EMA, WMA, HMA, RMA, DEMA, TEMA, LINREG, ALMA, T3). ALMA’s sigma input shapes its curve.
Dynamic thresholds (optional)
Two ways to set overbought and oversold:
• Static : fixed levels at ob_thres and os_thres .
• Dynamic : ±k·σ bands, where σ is the rolling standard deviation of the valuation over dynLen .
Bands can be centered at zero or around the valuation’s rolling mean ( centerZero ).
Visualization and UI
• Zero line at 0 with gradient fill that darkens as the valuation moves away from 0.
• Optional plotting of band lines and background highlights when OB or OS is active.
• Optional candle and background coloring driven by the valuation.
• Summary table showing each component’s current z-score, the final score, and a compact status.
How it can be used
• Bias filter : treat crosses above 0 as bullish bias and below 0 as bearish bias.
• Mean-reversion context : look for exhaustion when the valuation enters the OB or OS region, then watch for exits from those regions or a return toward 0.
• Signal confirmation : use the final score to confirm setups from structure or price action.
• Adaptive banding : with dynamic thresholds, OB and OS adjust to prevailing variability rather than relying on fixed lines.
• Component tuning : change weights to emphasize trend (raise DM, reduce RSI/CCI) or range behavior (raise RSI/CCI, reduce DM). PZO can help in swing environments.
Why z-score blending helps
Indicators often live on different scales. Z-scoring places them on a common, unitless axis, so a one-sigma move in RSI has comparable influence to a one-sigma move in CCI. This reduces scale bias and allows transparent weighting. It also facilitates regime-aware thresholds because the dynamic bands scale with recent dispersion.
Inputs to know
• Component lookbacks : rsilb, ccilb, dmlb, pzolb control each raw signal.
• Standardization window : lookback sets the z-score memory. Longer smooths, shorter reacts.
• Weights : w_rsi, w_cci, w_dm, w_pzo determine each component’s influence.
• Smoothing : maType, smoothP, sig govern optional post-blend smoothing.
• Dynamic bands : dyn_thres, dynLen, thres_k, centerZero configure the adaptive OB/OS logic.
• UI : toggle the plot, table, candle coloring, and threshold lines.
Reading the plot
• Above 0 : composite pressure is positive.
• Below 0 : composite pressure is negative.
• OB region : valuation above the chosen OB line. Risk of mean reversion rises and momentum continuation needs evidence.
• OS region : mirror logic on the downside.
• Band exits : leaving OB or OS can serve as a normalization cue.
Strengths
• Normalizes heterogeneous signals into one interpretable series.
• Adjustable component weights to match instrument behavior.
• Dynamic thresholds adapt to changing volatility and drift.
• Transparent diagnostics from the on-chart table.
• Flexible smoothing choices, including ALMA and T3.
Limitations and cautions
• Z-scores assume a reasonably stationary window. Sharp regime shifts can make recent bands unrepresentative.
• Highly correlated components can overweight the same effect. Consider adjusting weights to avoid double counting.
• More smoothing adds lag. Less smoothing adds noise.
• Dynamic bands recalibrate with dynLen ; if set too short, bands may swing excessively. If too long, bands can be slow to adapt.
Practical tuning tips
• Trending symbols: increase w_dm , use a modest smoother like EMA or T3, and use centerZero dynamic bands.
• Choppy symbols: increase w_rsi and w_cci , consider ALMA with a higher sigma , and widen bands with a larger thres_k .
• Multiday swing charts: lengthen lookback and dynLen to stabilize the scale.
• Lower timeframes: shorten component lookbacks slightly and reduce smoothing to keep signals timely.
Alerts
• Enter and exit of Overbought and Oversold, based on the active band choice.
• Bullish and bearish zero crosses.
Use alerts as prompts to review context rather than as stand-alone trade commands.
Final Remarks
We created this to show people a different way of making indicators & trading.
You can process normal indicators in multiple ways to enhance or change the signal, especially with this you can utilise machine learning to optimise the weights, then trade accordingly.
All of the different components were selected to give some sort of signal, its made out of simple components yet is effective. As long as the user calibrates it to their Trading/ investing style you can find good results. Do not use anything standalone, ensure you are backtesting and creating a proper system.
Volatilite
VWAP Price ChannelVWAP Price Channel cuts the crust off of a traditional price channel (Donchian Channel) by anchoring VWAPs at the highs and lows. By doing this, the flat levels, characteristic of traditional Donchian Channels, are no more!
Author's Note: This indicator is formed with no inherent use, and serves solely as a thought experiment.
> Concept
I would be hesitant to call this a "predictive" indicator, however the behavior of it would suggest it could be considered at least partially predictive
Essentially, the Anchored VWAPs creates something from otherwise nothing.
While the DC upper or lower values are staying flat, the VWAPs improvise based on price and volume to project a level that may be a better representation of where future highs or lows may settle.
Visually, this looks like we have cut off the corners of the Donchian Channel.
Note: Notice how we are calculating values before the corners are realized.
> Implementation
While this is only a concept indicator, The specific application I've gone with for this, is a sort of supertrend-ish display (A Trend Flipping Trailing Stop Loss).
The script uses basic logic to create a trend direction, and then displays the Anchored VWAPs as a form of trailing stop loss.
While "In Trend", the script fills in the area between the VWAP and Price in the direction of trend.
When new highs or lows are made while in trend, the opposite VWAP will start to generate at the new highs or lows. These happen on every new high or low, so they are not indicating the trend shift, but could be interpreted as breakout levels for the current trend direction in order for continuation.
Note: All values are drawn live, but when using higher timeframes, there is a natural calculation discrepancy when using live data vs. historical.
> Technicals
In this script, I'm simply detecting new highs or lows from the DC and using those as the anchor frequency on the built-in VWAP function.
So each time a new high or low is made based on DC, the VWAP function re-anchors to the high or low of the candle.
Past that, I have implemented some logic in order to account for a common occurrence I faced during development.
Frequently, the price would outpace the anchored VWAP, so we would end up with the VWAP being further from price than the actual DC upper or lower.
Due to this, what I have ended up with was a third value which, rather than switching between raw VWAP values and DC values, it adjusts the value based on the change in the VWAP value.
This can be simply thought of as a "Start + Change" type of setup.
By doing this, I can use the change values from the actual anchored VWAP, and under normal conditions, this will also be the true VWAP value.
However, situationally, I am able to update the start value which we're applying the VWAP change to.
In other words, when these situations happen, the VWAP change is added to the new (closer to price) DC value.
The specific trend logic being used is nothing fancy at all, we are simply checking if a new high or low is created and setting the trend in that direction.
This is in line with some traditional DC Strategies.
To those who made it here,
Just remember:
The chart may be ugly, but it's the fastest analysis of the data you can get.
Nicer displays often come at the hidden cost of latency.
You have to shoot your shot to make it.
Choose 2: Fast, Clean, Useful
Enjoy!
Liquidity Sweep Breakout - LSBLiquidity Sweep Breakout - LSB
A professional session-based breakout system designed for OANDA:USDJPY and other JPY pairs.
Not guesswork, but precision - built on detailed observation of institutional moves to capture clear trade direction daily.
Master the Market’s Daily Bank Flow.
---
Strategy Detail:
I discovered this strategy after carefully studying how Japanese banks influence the forex market during their daily settlement period. Banks are some of the biggest players in the financial world, and when they adjust or settle their accounts in the morning, it often creates a push in the market. From years of observation, I noticed a consistent pattern, once banks finish their settlements, the market usually continues moving in the same direction that was formed right after those actions. This daily banking flow often sets the tone for the entire trading session, especially for JPY pairs like USDJPY.
To capture this move, I built the indicator so that it follows the bank-driven trend with clear rules for entries, stop-loss (SL), and take-profit (TP). The system is designed with professional risk management in mind. By default, it assumes a $10,000 account size, risks only 1% of that balance per trade, and targets a 1:1.5 reward-to-risk ratio. This means for every $100 risked, the potential profit is $150. Such controlled risk makes the system safer and more sustainable for long-term traders. At the same time, users are not limited to this setup, they can adjust the account balance in the settings, and the indicator will automatically recalculate the lot size and risk levels based on their own capital. This ensures the strategy works for small accounts and larger accounts alike.
🌍 Why It Works
Fundamentally driven: Based on **daily Japanese banking settlement flows**.
Session-specific precision: Targets the exact window when USDJPY liquidity reshapes.
Risk-managed: Always calculates lot size based on account and risk preferences.
Automatable: With webhook + MT5 EA, it can be fully hands-free.
---
✅ Recommended
Pair: USDJPY (best observed behavior).
Timeframe: 3-Minute chart.
Platform: TradingView Premium (for webhooks).
Execution: MT5 via EA.
---
🔎 Strategy Concept
The Tokyo Magic Breakout (TMB) is built on years of session observation and the unique daily rhythm of the Japanese banking system.
Every morning between 5:50 AM – 6:10 AM PKT (09:50 – 10:10 JST), Japanese banks perform daily reconciliation and settlement. This often sets the tone for the USDJPY direction of the day.
This strategy isolates that critical moment of liquidity adjustment and waits for a clean breakout confirmation. Instead of chasing noise, it executes only when price action is aligned with the Tokyo market’s hidden flows.
---
🕒 Timing Logic
Session Start: 5:00 AM PKT (Tokyo market open range).
Magic Candle: The 5:54 AM PKT candle is marked as the reference “breakout selector.”
Checkpoints: First confirmation at 6:30 AM PKT, then every 15 minutes until 8:30 AM PKT.
* If price stays inside the magic range → wait.
* If a breakout happens but the candle wick touches the range → wait for the next checkpoint.
* If by 8:30 AM PKT no clean breakout occurs → the day is marked as No Trade Day (NTD).
👉 Recommended timeframe: 3-Minute chart (3M) for precise signals.
---
📈 Trade Execution
Entry: Clean break above/below the magic candle’s range.
Stop-Loss: Opposite side of the Tokyo session high/low.
Take-Profit: Calculated by Reward\:Risk ratio (default 1.5:1).
Lot Size: Auto-calculated based on your risk model:
* Fixed Dollar
* % of Equity
* Conservative (minimum of both).
Visuals include:
✅ Entry/SL/TP lines
✅ Shaded risk (red) and reward (green) zones
✅ Trade labels (Buy/Sell with lot size & levels)
✅ TP/SL hit markers
---
🔔 Alerts & Automation (AutoTMB)
This strategy is fully automation-ready with EA + MT5:
1. Enable alerts in TMB settings.
2. Insert your PineConnector License Key.
3. Configure your risk management preferences.
4. Create a TradingView alert → in the message box simply type:
Pine Script®
{{alert_message}}
and set the EA webhook.
Now, every breakout trade (with exact entry, SL, TP, and lot size) is sent instantly.
👉 On your MT5:
* Install the EA.
* Use the same license key.
* Run it on a VPS or local MT5 terminal.
You now have a hands-free trading system: AutoTMB.
Range TableThe Range Table indicator calculates and displays the Daily Average True Range (ATR), the current day's True Range (TR), and two customizable ATR percentage values in a clean table format. It provides values in ticks, points, and USD, helping traders set stop-loss buffers based on market volatility.
**Features:**
- Displays the Daily ATR (14-period) and current day's True Range (TR) with its percentage of the Daily ATR.
- Includes two customizable ATR percentages (default: 75% and 10%, with the second disabled by default).
- Shows values in ticks, points, and USD based on the symbol's tick size and point value.
- Customizable table position, background color, text color, and font size.
- Toggle visibility for the table and percentage rows via input settings.
**How to Use:**
1. Add the indicator to your chart.
2. Adjust the table position, colors, and font size in the input settings.
3. Enable or disable the 75% and 10% ATR rows or customize their percentages.
4. Use the displayed values to set stop-loss or take-profit levels based on volatility.
**Ideal For:**
- Day traders and swing traders looking to set volatility-based stop-losses.
- Users analyzing tick, point, and USD-based risk metrics.
**Notes:**
- Ensure your chart is set to a timeframe that aligns with the daily ATR calculations.
- USD values are approximate if `syminfo.pointvalue` is unavailable.
Developed by FlyingSeaHorse.
Big Mo’s Glaskugel — Macro Drawdown Risk (v1.1.2)What it does / what you see
An at-a-glance drawdown-risk oscillator that blends several macro US signals.
• A smooth, color-blended line (green→orange→red) shows the scaled risk score (0–100).
• Subtle shading marks “re-steepen warning windows” (starts when the yield curve re-steepens after an inversion; ends on normalization/cool-down).
• A compact status table summarizes: overall risk level, Yield Curve (10y–3m), Credit Stress (Baa–10y), Economy (LEI), and Valuation (CAPE).
Data used & why
Yield Curve (10y–3m) — FRED:T10Y3M. Inversions and subsequent re-steepens often precede recessions/equity drawdowns.
Credit Stress — FRED:BAA10Y vs its 1-year average (deviation in bps). Widening credit spreads flag tightening financial conditions.
Economy (LEI) — ECONOMICS:USLEI. 6-month annualized growth below a cutoff highlights macro deterioration.
Valuation (CAPE) — SHILLER_PE_RATIO_MONTH. Elevated valuations can amplify downside risk.
VIX spikes — optional boost that recognizes sudden risk repricings.
Important disclaimer
This is not a reliable or predictive indicator in all regimes. No guarantees or warranties of any kind are provided. It is not financial advice. Signals can be early, late, or wrong.
That said, it leans on well-studied warning factors (yield-curve dynamics, credit spreads, LEI weakness, valuation extremes) that have flagged major market downturns in the past.
Key customization / tweaks
Weights for each component (Yield, Credit, LEI, VIX, CAPE).
Thresholds: yield inversion months, re-steepen lookback, credit-stress bps, LEI cutoff, CAPE level, VIX spike levels.
Re-steepen boost: enable/disable, base points, half-life decay.
Shading behavior: cool-down bars to “unwarn,” max warning duration, only shade when risk ≠ green.
Scaling & smoothing: dynamic rolling max, EMA length, yellow/red thresholds.
Status table: position, and a snapshot mode to view values at a chosen historical time.
Optimized Envelope Strategy v1.6 (Macro Context Filter)Seeks to contain price through modifiable metrics. Generally each stock has it's own settings.
Range Expansion Signal (RES)Range Expansion Signal (RES)
The Range Expansion Signal (RES) is a lightweight yet effective indicator designed to highlight the internal dynamics of each candle.
🔹 How it works
Calculates the mid-price of each candle (the average between high and low).
Plots a horizontal line at the mid-price level.
Displays the mid-price value as a label on the chart.
Adds a directional marker:
▲ green when the current price is above the mid-price,
▼ red when the current price is below the mid-price.
🔹 How to use it
Quickly assess whether buying or selling pressure dominates within the candle.
Use as a reference in intraday or short-term strategies where range expansion matters.
Ideal for spotting potential breakouts, reversals, or confirming price action setups.
🔹 Why it’s useful
Unlike standard moving averages or static midpoints, RES provides a real-time visual signal directly on each candle. This makes it faster and cleaner to interpret price behavior without cluttering the chart.
VVIX/VIX Ratio with Interpretation LevelsVVIX/VIX Ratio with Interpretation Levels
This indicator plots the ratio of VVIX (Volatility of Volatility Index) to VIX (CBOE Volatility Index) in a separate panel.
The ratio highlights when the options market is pricing unusually high volatility in volatility (VVIX) relative to the base volatility index (VIX).
Ratio < 5 → Complacency: Markets expect stability; often a pre-shock zone.
5–6 → Tension Building: Traders begin hedging volatility risk while VIX remains low.
6–7 → Elevated Risk: Divergence warns of potential regime change in volatility.
> 7 → High-Risk Zone: Options market pricing aggressive swings; can precede volatility spikes in equities.
The script also includes dashed interpretation lines (5, 6, 7) and automatic labels when key thresholds are crossed.
Background shading helps visualize current regime.
Use cases:
Detect hidden stress when VIX remains calm but VVIX rises.
Anticipate potential volatility regime shifts.
Support risk management and timing of long/short volatility strategies.
[Top] Simple ATR TP/SLSimple TP/SL from ATR (Locked per Bar) - Advanced Position Management Tool
What This Indicator Does:
Automatically calculates and displays Take Profit (TP) and Stop Loss (SL) levels based on Average True Range (ATR)
Locks ATR values and direction signals at the start of each bar to prevent repainting and provide consistent levels
Offers multiple direction detection modes including real-time candle-based positioning for dynamic trading approaches
Displays entry, TP, and SL levels as clean horizontal lines that extend from the current bar
Original Features That Make This Script Unique:
Bar-Locked ATR System: ATR values are captured and frozen at bar open, ensuring levels remain stable throughout the bar's progression
Multi-Modal Direction Detection: Four distinct modes for determining TP/SL positioning - Trend Following (EMA-based), Bullish Only, Bearish Only, and real-time Candle Based
Real-Time Candle Flipping: In Candle Based mode, TP/SL levels flip immediately when the current candle changes from bullish to bearish or vice versa
Persistent Line Management: Uses efficient line object management to prevent ghost lines and maintain clean visual presentation
Flexible Base Price Selection: Choose between Open (static), Close (dynamic), or midpoint (H+L)/2 for entry level calculation
How The Algorithm Works:
ATR Calculation: Captures ATR value at each bar open using specified length parameter, maintaining consistency throughout the bar
Direction Determination: Uses different methods based on selected mode - EMA crossover for trend following, or real-time candle color for dynamic positioning
Level Calculation: TP level = Base Price + (Direction × TP Multiplier × ATR), SL level = Base Price - (Direction × SL Multiplier × ATR)
Visual Management: Creates persistent line objects once, then updates their positions every bar for optimal performance
Direction Modes Explained:
Trend Following: Uses 5-period and 12-period EMA relationship to determine trend direction (locked at bar open)
Bullish Only: Always places TP above and SL below entry (traditional long setup)
Bearish Only: Always places TP below and SL above entry (traditional short setup)
Candle Based: Dynamically adjusts based on current candle direction - flips in real-time as candle develops
Key Input Parameters:
ATR Length: Period for ATR calculation (default 14) - longer periods provide smoother volatility measurement
TP Multiplier: Take profit distance as multiple of ATR (default 1.0) - higher values target larger profits
SL Multiplier: Stop loss distance as multiple of ATR (default 1.0) - higher values allow more room for price movement
Base Price: Reference point for level calculations - Open for static entry, Close for dynamic tracking
Direction Mode: Method for determining whether TP goes above or below entry level
How To Use This Indicator:
For Position Sizing: Use the displayed SL distance to calculate appropriate position size based on your risk tolerance
For Entry Timing: Wait for price to approach the entry level before taking positions
For Risk Management: Set your actual stop loss orders at or near the displayed SL level
For Profit Taking: Use the TP level as initial profit target, consider scaling out at this level
Mode Selection: Choose Candle Based for scalping and quick reversals, Trend Following for swing trading
Visual Style Customization:
Line Colors: Customize TP line color (default teal) and SL line color (default orange) for easy identification
Line Widths: Adjust TP/SL line thickness (1-5) and entry line thickness (1-3) for visibility preferences
Clean Display: Lines extend 3 bars forward from current bar and update position dynamically
Best Practices:
Use on clean charts without multiple overlapping indicators for clearest visual interpretation
Combine with volume analysis and key support/resistance levels for enhanced decision making
Adjust ATR length based on your trading timeframe - shorter for scalping, longer for position trading
Test different TP/SL multipliers based on the volatility characteristics of your chosen instruments
Consider using Trend Following mode during strong trending periods and Candle Based during ranging markets
BTC H4/D1 Bollinger Breakout Momentum Robot [AlgoChadLin]The Bitcoin H4 Bollinger Breakout Momentum is a specialized trading system meticulously crafted to capture the significant, high-volatility moves characteristic of the Bitcoin market.
This strategy prioritizes a favorable risk-reward ratio, focusing on quality over quantity. Its core philosophy is to identify and ride major trend breakouts using a Bollinger Band channel combined with a weighted price channel. It aims to catch large-scale movements that can generate substantial returns, potentially building wealth with just a few successful trades.
Strategy Logic
Breakout Entry: The strategy's primary entry signals are triggered by a confirmed breakout from a consolidating market. It uses a dual-moving average channel (Bollinger Bands) to identify when price is moving from a sideways range into a clear trend. The entry order is placed with a stop mechanism, ensuring a trade is only executed when the momentum is strong and confirmed.
Weighted Price Channel: To refine entry points, the strategy uses a unique weighted price channel. This channel is derived from a custom calculation of high, low, and close prices, providing a more sensitive and dynamic measure for placing pending orders.
Dual-Layered Exits: The strategy manages trades with a dual-layered exit approach. It uses a fixed take-profit to secure large gains, reflecting the strategy's focus on big-picture moves. Additionally, a monthly close is used as a hard stop-loss, providing a robust higher-timeframe protection against major reversals.
Move-to-Breakeven: To protect capital, the strategy includes a move-to-breakeven feature. Once a position reaches a certain level of profit, the stop-loss is automatically adjusted to a breakeven point plus a small buffer, eliminating the risk of a losing trade.
Parameters
Bollinger Bands Period: Defines the lookback period for the Bollinger Bands, which helps to determine the breakout points for entry.
HMA Period: Sets the period for the Hull Moving Average, which serves as a dynamic exit signal.
Price Channel Period: Defines the lookback period for the weighted price channel, which influences the entry price.
Entry Price Multiplier: Adjusts the distance of the pending order from the weighted price channel.
Profit Target Percentage: A percentage value that sets the take-profit level based on the entry price.
Move-to-Breakeven Trigger: A value in ticks that determines when to move the stop-loss to breakeven.
Breakeven Ad
ditional Pips: A value in ticks that adds a buffer to the breakeven stop-loss.
Setup
Timeframe: H4/D1, the higher the better.
Asset: This strategy is specifically designed for Bitcoin (BTC) and its characteristic large price swings. Its focus on big-picture moves and high volatility makes it a suitable tool for capturing Bitcoin's explosive potential.
trending -Separate Pane Color BandThe "Donchian trendi multi time frame Color Band" is designed to identify trend directions based on swing highs and lows (similar to Donchian channel concepts, where trends are determined by breakouts from recent highs/lows). The indicator operates in a separate pane (overlay = false) and primarily visualizes:
Trend Direction: Determined by the relative positions of the most recent swing high and swing low. If the last swing high occurred after the last swing low, it's considered an uptrend (bullish); otherwise, a downtrend (bearish).
Adaptive Trend Band: A colored area plot in the indicator pane that represents an adaptive tracking period (influenced by volatility if enabled), filled with a color indicating the current trend (green for up, red for down).
Multi-Timeframe (MTF) Table: An optional table displayed in the top-right corner, showing the trend signal (Bullish or Bearish) for up to 6 user-defined higher timeframes. Each cell is colored based on the trend.
The indicator uses swing detection to gauge trend, incorporates optional volatility-based adaptation for responsiveness, and focuses on multi-timeframe analysis for broader market context. It's not a direct Donchian channel (which typically plots upper/lower bands), but borrows the idea of using highest/lowest prices over a period to detect pivots. It doesn't generate buy/sell signals explicitly but can be used for trend confirmation across timeframes.
Key features include tooltips for inputs, making it user-friendly, and limits on bars/labels for performance.
Key Inputs and Their Roles
The indicator provides customizable inputs grouped into "Swing Points", "Style", and "Multi Timeframe". Here's a breakdown:
Swing Period (prd): Default 50, minimum 2. This sets the lookback period (in bars) for identifying swing highs and lows. Higher values capture major swings (less noise, more lag); lower values detect minor swings (more responsive, but noisier).
Adaptive Price Tracking (baseAPT): Default 20, minimum 1. This base value controls the responsiveness of an adaptive tracking mechanism (similar to a VWAP or moving average length). Lower values make it tighter to price action; higher values smooth it out.
Adapt APT by ATR ratio (useAdapt): Default false. If enabled, the tracking period dynamically adjusts based on market volatility (measured via ATR - Average True Range). High volatility shortens the period for faster reaction; low volatility lengthens it for smoothness.
Volatility Bias (volBias): Default 10.0, minimum 0.1. This amplifies or dampens how much volatility affects the adaptive tracking. Values >1 make it more sensitive to volatility changes; <1 make it less reactive.
Up Color (S): Default lime (green). Color for bullish trends in the band and table.
Down Color (R): Default red. Color for bearish trends in the band and table.
Show MTF Table (show_table): Default true. Toggles the display of the multi-timeframe trend table.
Time frames (tf1 to tf6): Defaults: '1' (1-minute), '3' (3-minute), '15' (15-minute), '60' (1-hour), '240' (4-hour), 'D' (daily). These are the higher timeframes for which trend directions are calculated and shown in the table.
Usage and Interpretation
On the Chart: Add this to a TradingView chart (e.g., for stocks, crypto, forex). The colored area in the indicator pane shows the current timeframe's trend: green band = bullish, red = bearish. The band's height reflects the adaptive period (wider in low volatility if adaptation is on).
MTF Table: Use this for alignment across timeframes. If most/higher timeframes are bullish, it might confirm an uptrend on the current chart. Ideal for trend-following strategies (e.g., trade in the direction of higher TFs).
Customization Tips:
Increase prd for longer-term trends.
Enable useAdapt in choppy markets for better responsiveness.
Adjust timeframes to match your trading style (e.g., scalping: lower TFs; swing: higher).
Limitations:
Relies on historical bars (max_bars_back=5000), so it may not load on very long charts.
No alerts or signals built-in; it's visual-only.
The "Donchian" in the name is loose—it's more pivot-based than full channels.
Adaptation uses ATR, which assumes volatility drives trend responsiveness, but may lag in ranging markets.
Sunmool's Next Day Model FVG AlertNY Killzone FVG Alert - ICT Fair Value Gap Detection Indicator
This comprehensive Pine Script indicator is specifically designed for traders following ICT (Inner Circle Trader) methodology and Smart Money Concepts. The indicator automatically detects Fair Value Gaps (FVG) that occur during the New York Killzone session, providing real-time alerts when these critical market imbalances are identified.
Key Features:
🎯 Fair Value Gap Detection
Automatically identifies bullish and bearish Fair Value Gaps using the classic 3-candle pattern
Filters gaps based on customizable minimum size thresholds to avoid insignificant imbalances
Provides visual representation through colored boxes and labels for easy identification
⏰ New York Killzone Focus
Specifically monitors the NY Killzone session (default: 7:00 AM - 10:00 AM EST)
Fully customizable session times to accommodate different trading preferences
Only detects FVGs when all three candles forming the gap occur within the killzone timeframe
📅 ICT Next Day Model Compliance
Automatically excludes Mondays from FVG detection as per ICT Next Day Model principles
Optional Monday exclusion can be toggled on/off based on trading strategy
Ensures alignment with professional ICT trading methodologies
🔔 Advanced Alert System
Three distinct alert conditions: Bullish FVG, Bearish FVG, and Combined alerts
Customizable alert messages for different notification preferences
Compatible with TradingView's full alert system including email, SMS, and webhook notifications
🎨 Visual Customization
Adjustable colors for bullish and bearish FVG boxes
Configurable box extension length for better visualization
Optional background highlighting during killzone sessions
Clean, professional chart presentation that doesn't clutter your analysis
📊 Technical Specifications
Works on all timeframes, though most effective on intraday charts (1m, 5m, 15m)
Timezone-aware calculations ensure accurate session detection globally
Efficient code structure minimizes processing load and chart lag
Compatible with other indicators and doesn't interfere with existing chart setups
🎯 Ideal For:
ICT methodology traders seeking automated FVG detection
Smart Money Concepts practitioners
Scalpers and day traders focusing on NY session
Traders looking to identify high-probability entry zones
Anyone interested in market structure and liquidity concepts
📈 Trading Applications:
Fair Value Gaps often serve as areas where price may return to "fill" the imbalance, making them excellent zones for:
Potential reversal areas
Take profit targets
Stop loss placement reference points
Market structure analysis
Confluence with other ICT concepts
⚙️ Customizable Parameters:
FVG minimum size filter
Killzone session start/end times
Visual display options
Alert preferences
Color schemes and styling options
This indicator brings institutional trading concepts to retail traders, helping identify the same market inefficiencies that smart money targets. By focusing specifically on the New York Killzone - one of the most liquid and volatile trading sessions - it provides high-quality signals during optimal market conditions.
Whether you're new to ICT concepts or an experienced trader looking to automate your FVG detection, this indicator provides the precision and reliability needed for professional trading analysis.
Globex Trap w/ percentage [SLICKRICK]Globex Trap w/ Percentage
Overview
The Globex Trap w/ Percentage indicator is a powerful tool designed to help traders identify high-probability trading opportunities by analyzing price action during the Globex (overnight) session and regular trading hours. By combining Globex session ranges with Supply & Demand zones, this indicator highlights potential "trap" areas where significant price reactions may occur. Additionally, it calculates the Globex session range as a percentage of the daily Average True Range (ATR), providing valuable context for assessing market volatility.
This indicator is ideal for traders in futures markets or other instruments traded during Globex sessions, offering a visual and analytical edge for spotting key price levels and potential reversals or breakouts.
Key Features
Globex Session Tracking:
Visualizes the high and low of the Globex session (default: 3:00 PM to 6:30 AM PST) with customizable time settings.
Displays a semi-transparent box to mark the Globex range, with labels for "Globex High" and "Globex Low."
Calculates the Globex range as a percentage of the daily ATR, displayed as a label for quick reference.
Supply & Demand Zones:
Identifies Supply & Demand zones during regular trading hours (default: 6:00 AM to 8:00 AM PST) with customizable time settings.
Draws semi-transparent boxes to highlight these zones, aiding in the identification of key support and resistance areas.
Trap Area Identification:
Highlights potential trap zones where Globex ranges and Supply & Demand zones overlap, indicating areas where price may reverse or consolidate due to trapped traders.
Customizable Settings:
Adjust Globex and Supply & Demand session times to suit your trading preferences.
Toggle visibility of Globex and Supply & Demand zones independently.
Customize box colors for better chart readability.
Set the lookback period (default: 10 days) to control how many historical zones are displayed.
Configure the ATR length (default: 14) for the percentage calculation.
PST Timezone Default:
All times are based on Pacific Standard Time (PST) by default, ensuring accurate session tracking for users in this timezone or those aligning with U.S. West Coast market hours.
Recommended Usage
Timeframes: Best used on 1-hour charts or lower (e.g., 15-minute, 5-minute) for precise entry and exit points.
Markets: Optimized for futures (e.g., ES, NQ, CL) and other instruments traded during Globex sessions.
Historical Data: Ensure at least 10 days of historical data for optimal visualization of zones.
Strategy Integration: Use the indicator to identify potential reversals or breakouts at Globex highs/lows or Supply & Demand zones. The ATR percentage provides context for whether the Globex range is significant relative to typical daily volatility.
How It Works
Globex Session:
Tracks the high and low prices during the user-defined Globex session (default: 3:00 PM to 6:30 AM PST).
When the session ends, a box is drawn from the start to the end of the session, capturing the high and low prices.
Labels are placed at the midpoint of the session, showing "Globex High," "Globex Low," and the range as a percentage of the daily ATR (e.g., "75.23% of Daily ATR").
Supply & Demand Zones:
Tracks the high and low prices during the user-defined regular trading hours (default: 6:00 AM to 8:00 AM PST).
Draws a box to mark these zones, which often act as key support or resistance levels.
ATR Percentage:
Calculates the Globex range (high minus low) and divides it by the daily ATR to express it as a percentage.
This metric helps traders gauge whether the overnight price movement is significant compared to the instrument’s typical volatility.
Time Handling:
Uses PST (UTC-8) for all time calculations, ensuring accurate session timing for users aligning with this timezone.
Properly handles overnight sessions that cross midnight, ensuring seamless tracking.
Input Settings
Globex Session Settings:
Show Globex Session: Enable/disable Globex session visualization (default: true).
Globex Start/End Time: Set the start and end times for the Globex session (default: 3:00 PM to 6:30 AM PST).
Globex Box Color: Customize the color of the Globex session box (default: semi-transparent gray).
Supply & Demand Zone Settings:
Show Supply & Demand Zone: Enable/disable zone visualization (default: true).
Zone Start/End Time: Set the start and end times for Supply & Demand zones (default: 6:00 AM to 8:00 AM PST).
Zone Box Color: Customize the color of the zone box (default: semi-transparent aqua).
General Settings:
Days to Look Back: Number of historical days to display zones (default: 10).
ATR Length: Period for calculating the daily ATR (default: 14).
Notes
All times are in Pacific Standard Time (PST). Adjust the start and end times if your market operates in a different timezone or if you prefer different session windows.
The indicator is optimized for instruments with active Globex sessions, such as futures. Results may vary for non-24/5 markets.
A typo in the label "Globe Low" (should be "Globex Low") will be corrected in future updates.
Ensure your TradingView chart is set to display sufficient historical data to view the full lookback period.
Why Use This Indicator?
The Globex Trap w/ Percentage indicator provides a unique combination of session-based range analysis, Supply & Demand zone identification, and volatility context via the ATR percentage. Whether you’re a day trader, swing trader, or scalper, this tool helps you:
Pinpoint key price levels where institutional traders may act.
Assess the significance of overnight price movements relative to daily volatility.
Identify potential trap zones for high-probability setups.
Customize the indicator to fit your trading style and market preferences.
Asia & London Session High/Low + Previous Day HL by ErdiThis TradingView indicator plots the highest high and lowest low of the Asian and London trading sessions, as well as the previous day's overall high and low, all based on the UTC+2 timezone.
Key features:
Defines Asian session from 02:00 to 09:00 (UTC+2) and London session from 09:00 to 15:30 (UTC+2).
Tracks and fixes the highest and lowest prices during each session.
Plots horizontal lines starting exactly at the bar where the session highs and lows occurred, extending forward to help traders visually track key levels intraday.
Displays previous day’s high and low as dashed blue lines across the chart for context.
Allows full customization of line colors via the indicator’s input settings — easily tailor colors for Asian session, London session, and previous day levels to your preference.
Automatically resets levels at the start of each new trading day.
Use this indicator to easily identify and monitor important intraday support and resistance levels based on major global market sessions and the prior day's range.
BB Crosses Optimized - [JTCAPITAL]BB Crosses Optimized is a modified way to use Bollinger Bands for Trend-Following
The indicator works by calculating in the following steps:
1. The source gets smoothed out using a moving average
2. Calculating the Bollinger Bands using the SMA of the smoothed source and the standard deviation of the smoothed source.
3. Trigger a signal based on current price and the buy/sell conditions.
--Buy and sell conditions--
-The buy and sell conditions are defined by the price going above/below the first standard deviation. When this goes on the opposite direction of the current trend, the trend changes. If this goes in the same direction of the current trend, the line follows the price by moving up with the standard deviation.
-When using the ATR filter the ATR gets subtracted from the lows or added onto the highs to eliminate false signals in choppy markets.
--Features and Parameters--
-Allows the usage of different sources
-Allows the usage of different moving average types
-Allows the changing of the length of the ATR
-Allows the changing of the length of the bollinger bands period
-Allows the changing of the standard deviation used from the bollinger bands
-Allows the changing of the length for smoothing out the price data
--Details--
This script is using multiple moving averages, sometimes even stacked upon eachother. And it also uses the moving average of the raw data on a short period to calculate the standard deviations. This in combination with the ATR filter is meant to eliminate as much false signals as I could. Without making all the entries and exits extremely delayed.
Be aware that disabling the ATR will allow for faster entries and exits but also allow for more false signals. It is recommended to change the parameters to fit your liking and to adjust to the timeframe you are working on.
Enjoy!
Adaptive HMA Trendfilter & Profit SpikesShort Description
Adaptive trend-following filter using Hull Moving Average (HMA) slope.
Includes optional Keltner Channel entries/exits and dynamic spike-based take-profit markers (ATR/Z-Score).
Optional Fast HMA for early entry visualization (not included in logic).
USER GUIDE:
1) Quick Overview
Trend Filter: Slow HMA defines Bull / Bear / Sideways (via slope & direction).
Entries / Exits:
Entry: Color change of the slow HMA (red→green = Long, green→red = Short), optionally filtered by the Keltner basis.
Exit: Preferably via Keltner Band (Long: Close under Upper Band; Short: Close above Lower Band).
Fallback: exit on opposite HMA color change.
Take-Profit Spikes: Marks abnormal moves (ATR, Z-Score, or both) as discretionary TP signals.
Fast HMA (optional): Purely visual for early entry opportunities; not part of the core trading logic (see §5).
2) Adding & Basic Setup
Add the indicator to your chart.
Open Settings (gear icon) and configure:
HMA: Slow HMA Length = 55, Slope Lookback = 10, Slope Threshold = 0.20%.
Keltner: KC Length = 20, Multiplier = 1.5.
Spike-TP: Mode = ATR+Z, ATR Length = 14, Z Length = 20, Cooldown = 5.
Optionally: enable Fast HMA (e.g., length = 20).
3) Input Parameters – Key Controls
Slow HMA Length: Higher = smoother, fewer but cleaner signals.
Slope Lookback: How far back HMA slope is compared against.
Slope Threshold (%): Minimum slope to avoid “Sideways” regime.
KC Length / Multiplier: Width and reactivity of Keltner Channels.
Exits via KC Bands: Toggle on/off (recommended: on).
Entries only above/below KC Basis: Helps filter out chop.
Spike Mode: Choose ATR, Z, or ATR+Z (stricter, fewer signals).
Spikes only when in position: TP markers show only when you’re in a trade.
4) Entry & Exit Logic
Entries
Long: Slow HMA turns from red → green, and (if filter enabled) Close > KC Basis.
Short: Slow HMA turns from green → red, and (if filter enabled) Close < KC Basis.
Exits
KC Exit (recommended):
Long → crossunder(close, Upper KC) closes trade.
Short → crossover(close, Lower KC).
Fallback Exit: If KC Exits are off → exit on opposite HMA color change.
Spike-TP (Discretionary)
Marks unusually large deviations from HMA.
Use for partial profits or tightening stops.
⚠️ Not auto-traded — only marker/alert.
5) Early Entry Opportunities (Fast HMA Cross – visual only)
The script can optionally display a Fast HMA (e.g., 20) alongside the Slow HMA (e.g., 55).
Bullish early hint: Fast HMA crosses above Slow HMA, or stays above, before the Slow HMA officially turns green.
Bearish early hint: opposite.
⚠️ These signals are not part of the built-in logic — they are purely discretionary:
Advantage: Earlier entries, more profit potential.
Risk: Higher chance of whipsaws.
Practical workflow (early long entry):
Fast HMA crosses above Slow HMA AND Close > KC Basis.
Enter small position with tight stop (under KC Basis or HMA swing).
Once Slow HMA confirms green → add to position or trail stop tighter.
6) Recommended Presets
Crypto (1h/2h):
HMA: 55 / 10 / 0.20–0.30%
KC: 20 / 1.5–1.8
Spikes: ATR+Z, ATR=14, Z=20, Cooldown 5
FX (1h/4h):
HMA: 55 / 8–10 / 0.10–0.25%
KC: 20 / 1.2–1.5
Indices (15m/1h):
HMA: 50–60 / 8–12 / 0.15–0.30%
KC: 20 / 1.3–1.6
Fine-tuning:
Too noisy? → Raise slope threshold or increase HMA length.
Too sluggish? → Lower slope threshold or shorten HMA length.
7) Alerts – Best Practice
Long/Short Entry – get notified when trend color switches & KC filter is valid.
Long/Short Exit – for KC exits or fallback exits.
Long/Short Spike TP – for discretionary profit-taking.
Set via TradingView: Create Alert → Select this indicator → choose condition.
8) Common Pitfalls & Tips
Too many false signals?
Raise slope threshold (more “Sideways” filtering).
Enable KC filter for entries.
Entries too late?
Use Fast HMA cross for early discretionary entries.
Or lower slope threshold slightly.
Spikes too rare/frequent?
More frequent → ATR mode or lower ATR multiplier / Z-threshold.
Rarer but stronger → ATR+Z with higher thresholds.
9) Example Playbook (Long Trade)
Regime: Slow HMA still red, Fast HMA crosses upward (early hint).
Filter: Close > KC Basis.
Early Entry: Small size, stop below KC Basis or recent swing low.
Confirmation: Slow HMA turns green → scale up or trail stop.
Management: Partial profits at Spike-TP marker; full exit at KC upper band break.
ICT AI ATR Signals [TradingFinder]🔵 Introduction
In financial markets, two main factors always have the greatest impact on traders’ decisions: the direction of the trend and the level of price volatility. Although there are various tools to analyze each of these factors, very few indicators can combine them in a coordinated and simultaneous way.
The ICT AI ATR indicator has been designed with this purpose in mind, to provide a unified and comprehensive view of the market instead of relying on multiple scattered indicators.
This indicator is built upon two widely used tools: the Moving Average (MA) and the Average True Range (ATR). The combination of these two indicators allows traders to simultaneously track the trend direction and account for market volatility two elements that always play a decisive role in trading decisions.
In the structure of the indicator, the Moving Average acts as the central line and serves as the backbone of the tool. By calculating the average price over a defined period, the Moving Average filters out excess market noise and provides a clearer picture of the overall price movement.
This helps traders focus on the main trend instead of being distracted by minor and temporary fluctuations. The central line is thus the main reference point for identifying the trend direction.
Alongside this, the ATR is responsible for measuring the real volatility of the market. Unlike many tools that only look at closing price changes, the ATR considers the true range of candlestick movements, giving a more accurate view of market dynamics.
In the ICT AI ATR indicator, this feature is used to draw dynamic bands above and below the Moving Average line. These bands shift with changing market conditions and act like dynamic support and resistance levels, areas where strong price reactions often occur.
This combination allows traders not only to see the dominant market trend through the Moving Average but also to understand volatility and the natural price range via the ATR. For this reason, the ICT AI ATR identifies points that are likely to act as reaction or reversal zones, whether during bounces off the bands or breakouts through them.
With this structure, the trader can at a glance :
Identify the overall market direction using the Moving Average.
Observe volatility and the natural range of price movement through ATR.
Recognize key levels where strong reactions or potential reversals are more likely.
As a result, the ICT AI ATR functions as a combined tool that replaces the need to use several separate indicators, enabling traders to analyze trend, volatility, price bands, and even Fibonacci targets within a single unified framework.
🔵 How to Use
The ICT AI ATR indicator is designed to simplify market analysis through two main components: visual display of bands and signals on the chart itself, and a multi-symbol analytical dashboard capable of monitoring over 20 different assets simultaneously across multiple timeframes.
This dashboard feature allows traders to gain a quick overview of overall market conditions without opening multiple charts or constantly switching timeframes. It updates in real-time, showing active Buy (Long) and Sell signals for each symbol.
As such, the combination of direct chart display and dashboard analytics makes the indicator useful both for detailed analysis of a single symbol and for monitoring multiple markets at once.
🟣 How do ICT AI ATR trading signals work?
Sell Signal (Short) : Triggered when the price pushes below the lower band (Low goes outside the lower band) and then closes back above it. This indicates potential weakness in bullish momentum and suggests possible selling pressure or the start of a downward correction. Traders can use this to spot sell setups or manage long positions.
Buy Signal (Long) : Triggered when the price extends above the upper band (High goes outside the upper band) and then closes back below it. This often signals exhaustion in bearish pressure and the return of buying strength, potentially marking the start of a new upward move.
This signaling logic is based on the actual behavior of price relative to the ATR dynamic bands. Unlike static formulas, signals adapt to changing market conditions, making them more accurate and reliable.
The main advantage of the ICT AI ATR indicator is that traders can benefit from real-time analysis directly on the chart by observing price interactions with the bands and signals while also receiving a multi-market overview through the dashboard. This combination is especially valuable for traders who operate across multiple instruments or markets simultaneously.
🔵 Settings
🟣 Logical settings
Moving Average Type : Select the type of moving average for the central line. Options include EMA, SMA, RMA, WMA, or HMA depending on the trading strategy.
Moving Average Period : Defines the length of the moving average. Shorter periods make the central line more responsive to price changes, while longer periods smooth out the line to show the broader trend.
ATR Period : Determines the number of candles considered for volatility calculation. Shorter periods increase sensitivity, while longer periods provide a more stable view of volatility.
ATR Multiplier : Sets the distance between the upper/lower bands and the central moving average line. Higher values widen the bands, while lower values bring them closer to price.
Smooth Period: Used to smooth data and reduce chart noise. Higher values produce smoother, more consistent indicator lines.
Signal Gap : Defines the minimum number of candles required between two consecutive signals. This prevents back-to-back signals from appearing too frequently and ensures only the more reliable ones are shown.
🟣 Display Settings
Table on Chart : Allows users to choose the position of the signal dashboard either directly on the chart or below it, depending on their layout preference.
Number of Symbols : Enables users to control how many symbols are displayed in the screener table, from 10 to 20, adjustable in increments of 2 symbols for flexible screening depth.
Table Mode : This setting offers two layout styles for the signal table :
Basic : Mode displays symbols in a single column, using more vertical space.
Extended : Mode arranges symbols in pairs side-by-side, optimizing screen space with a more compact view.
Table Size : Lets you adjust the table’s visual size with options such as: auto, tiny, small, normal, large, huge.
Table Position : Sets the screen location of the table. Choose from 9 possible positions, combining vertical (top, middle, bottom) and horizontal (left, center, right) alignments.
🟣 Symbol Settings
Each of the 10 symbol slots comes with a full set of customizable parameters :
Symbol : Define or select the asset (e.g., XAUUSD, BTCUSD, EURUSD, etc.).
Timeframe : Set your desired timeframe for each symbol (e.g., 15, 60, 240, 1D).
🟣 Alert Settings
Alert : Enables alerts for AAS.
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
The ICT AI ATR indicator, by combining three core elements Moving Average for trend detection, ATR for volatility measurement and dynamic bands, and Fibonacci levels for price targets—provides a multi-layered and intelligent tool for market analysis. In addition to showing accurate bands directly on the chart, it also offers a multi-symbol dashboard that allows traders to monitor signals across different assets and timeframes in real time.
The key advantage of this indicator is that it eliminates the need to use several separate tools by integrating trend, volatility, key levels, and trade signals into one unified framework. For this reason, ICT AI ATR is a reliable and effective choice for both short-term traders seeking quick market moves and long-term traders focused on dynamic support and resistance levels.
@lpha 5 Bollinger Bands + Stochastic Strategya project for other to finish if they like , entry with profit targets and could be setup to create signals