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.
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.
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.
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.
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!
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.
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.
[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
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.
RSI Overbought and oversoldStrategy Description:
The RSI Overbought and Oversold strategy is a powerful trading system designed to capture reversals at extreme RSI levels. This strategy enters trades when the RSI reaches overbought or oversold conditions and exits based on user-defined profit targets measured in RSI points.
How It Works:
Long Entries: When RSI crosses above 70 (overbought level)
Short Entries: When RSI crosses below 30 (oversold level)
Profit Targets: Exit when RSI moves a specified number of points from entry
Customizable: All levels and targets are fully configurable
Key Features:
Flexible Exit Options: Choose your preferred profit target in RSI points (0-30 points)
Advanced Filtering: Built-in ATR volatility filter and volume confirmation
Visual Information Panel: Real-time data display with configurable positioning
Alert System: Get notified for entries and exits
Universal Compatibility: Works across all markets and timeframes
User Configuration Options:
RSI Length (default: 14)
Entry Levels (Long: 70, Short: 30)
Profit Targets in RSI points (default: 7 points)
ATR Volatility Filter (on/off)
Volume Confirmation Filter (on/off)
Panel Position (8 available locations)
For Beginners:
This strategy is perfect for both new and experienced traders. You don't need to understand programming - simply adjust the settings to match your trading style. The visual signals and information panel make it easy to follow trades.
Performance:
The strategy has shown consistent performance across various assets including stocks, forex, and cryptocurrencies. The risk-managed approach with customizable targets helps maintain favorable risk-reward ratios.
Additional Tools:
You can enhance this strategy by adding any RSI indicator from TradingView's extensive library to monitor the RSI values more closely.
Risk Management:
Always test any strategy with historical data and use proper risk management. The strategy includes volatility filters to avoid trading during uncertain market conditions.
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.
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.
Bollinger Bandit + TP EscalonadoDescription:
The Bollinger Bandit is a clean, visual mean reversion strategy designed to help traders identify potential reversal opportunities using Bollinger Bands. This strategy offers two distinct exit methods, giving you the flexibility to choose between classic band-based exits or precise fixed take-profit/stop-loss levels.
How It Works (Simple Explanation):
Basic Concept:
Prices often tend to return to their average after moving too far away. Bollinger Bands help identify these extreme moments.
Entry Signals:
BUY (Green Triangle): When price crosses above the lower Bollinger Band
SELL (Red Triangle): When price crosses below the upper Bollinger Band
Exit Options (CHOOSE ONE ONLY):
Option 1: Band & Mean Exits (Traditional)
Exit when price touches the opposite band
Optional exit at the middle moving average
Option 2: Fixed SL/TP Exits (Precise Risk Management)
Stop Loss: Fixed points from entry
Take Profit 1: First profit target (closes 50% of position)
Take Profit 2: Second profit target (closes remaining 50%)
Key Features:
Clear Visual Signals - Easy-to-see triangles for entries
Color-Coded Levels - Instant visual understanding
Fully Customizable - Adjust everything to your preference
Two Exit Strategies - Choose what works for your style
Risk Management - Fixed SL/TP with proper risk-reward ratios
Input Settings:
Bollinger Bands Configuration:
Period (20): Length of the moving average
Multiplier (1.0): Band width adjustment
Exit Strategy Selection:
Use Custom SL/TP - Switch between exit methods
Close on Moving Average - Enable/disable mean exits
Risk Management (SL/TP Mode):
SL Points (5): Stop Loss distance in points
TP1 Points (3): First Take Profit target
TP2 Points (5): Second Take Profit target
Important Notes:
CHOOSE ONLY ONE EXIT METHOD:
You can use EITHER Band/Mean exits OR Fixed SL/TP exits
Never enable both simultaneously
Ideal Market Conditions:
Works best in ranging markets
May give false signals in strong trends
Test different timeframes (1H-4H recommended)
How to Use:
Add the strategy to your chart
Choose your preferred exit method
Adjust settings to match your risk tolerance
Observe the visual signals on your chart
Practice with historical data first
Risk Disclaimer:
Trading involves significant risk of loss. This is not financial advice. Past performance is not indicative of future results. Test thoroughly before live trading. Only risk capital you can afford to lose.
This strategy is for educational purposes only. Always understand how any strategy works before using real capital.
Recommended Settings for Beginners:
Timeframe: 5M
SL: 5 points, TP1: 3 points, TP2: 5 points
Start with small position sizes
BTC CME Gap – detector & single signals# BTC CME Gap — Detector & Single Signals (Pine v5)
**What it does**
This indicator finds the **weekend gap** on **CME Bitcoin futures** and turns it into a clean, tradable object:
* Draws a **gap zone** (Friday close ↔ Monday open) as a right-extending box.
* Fires **one-time signals** per gap:
* **ENTER** – first touch of the gap zone by price.
* **FILL** – gap is considered filled when price tags **Friday’s close**.
It works on any BTC chart (spot or futures). The gap itself is calculated from **CME\:BTC1!** daily data.
---
## How it works
1. Pulls **daily** `open`/`close` from `CME:BTC1!` (`request.security`, no lookahead).
2. On **Monday**, compares Monday **open** with previous **Friday close**:
* If different → a **gap** exists.
3. Defines the zone:
* `gapTop = max(MonOpen, FriClose)`
* `gapBot = min(MonOpen, FriClose)`
4. Renders a box + boundary lines, **extending right** until price action resolves it.
5. Signals:
* **ENTER**: the first bar that **enters** the gap zone.
* **FILL**: first bar that **touches Friday close** (gap completion).
6. Each new Monday gap **replaces** the previous box and signals.
---
## Inputs
* **CME symbol** (default `CME:BTC1!`)
* **Gap timeframe** (default `D`)
* **Colors** for the box and edges
---
## Plot & Signals
* **Box** = visual gap zone (transparent fill, outlined).
* **ENTER** = triangle up below bar.
* **FILL** = triangle down above bar.
* Optional label prints **Top / Bottom / Fill** levels.
---
## Notes on behavior
* Uses `barmerge.lookahead_off` and daily aggregation, so the gap definition **does not repaint** once Monday’s daily bar is confirmed.
* Signals are **single-shot** per gap (no clutter).
* Works on any chart timeframe; the gap logic always references **CME daily**.
---
## Practical use
* Track obvious **“magnets”** for mean-reversion, stop-runs, or liquidity grabs.
* Combine with your higher-timeframe bias (e.g., **1D trend filter**) and execution on **4H/1H**.
* Typical outcomes: quick Monday fill, staged fill after partial rejection, or delayed fill during later consolidation.
---
## Customization ideas
* Add `alertcondition(enterSignal, …)` / `alertcondition(fillSignal, …)` for automation.
* Gate trades with trend filters (EMA/SMA, Kernel regression, ADX) or session tools (VWAP/POC).
* Persist multiple historical gap boxes if you want to track **unfilled** gaps.
---
**Credits**: Built for BTC CME weekend gaps; minimal, publication-ready visualization with single-event signals to keep charts clean.
Low Volatility Breakout in Trend
█ OVERVIEW
"Low Volatility Breakout in Trend" is a technical analysis tool that identifies periods of low-volatility consolidation within an ongoing trend and signals potential breakouts aligned with the trend's direction. The indicator detects trends using a simple moving average (SMA) of price, identifies consolidation zones based on the size of candle bodies, and displays the percentage change in volume (volume delta) at the breakout moment.
█ CONCEPTS
The core idea of the indicator is to pinpoint moments where traders can join an ongoing trend by capitalizing on breakouts from consolidation zones, supported by additional information such as volume delta. It provides clear visualizations of trends, consolidation zones, and breakout signals to facilitate trading decisions.
Why Use It?
* Breakout Identification: The indicator locates low-volatility consolidation zones (measured by the size of individual candle bodies, not the price range of the consolidation) and signals breakouts, enabling traders to join the trend at key moments.
* Volume Analysis: Displays the percentage change in volume (delta) relative to its simple moving average, providing insight into market activity rather than acting as a signal filter.
* Visual Clarity: Colored trend lines, consolidation boxes (drawn only after the breakout candle closes, not on subsequent candles), and volume delta labels enable quick chart analysis.
* Flexibility: Adjustable parameters, such as the volatility window length or SMA period, allow customization for various trading strategies and markets.
How It Works
* Trend Detection: The indicator calculates a simple moving average (SMA) of price (default: based on the midpoint of high/low) and creates dynamic trend bands, offset by a percentage of the average candle height (band scaling). A price above the upper band signals an uptrend, while a price below the lower band indicates a downtrend. Trend changes occur not when the price crosses the SMA but when it crosses above the upper band or below the lower band (offset by the average candle height multiplied by the scaling factor).
* Consolidation Identification: Identifies low-volatility zones when the candle body size is smaller than the average body size over a specified period (default: 20 candles) multiplied by a volatility threshold — the maximum allowable body size as a percentage of the average body (e.g., 2 means the candle body must be less than twice the average body to be considered low-volatility).
* Breakout Signals: A breakout occurs when the candle body exceeds the volatility threshold, is larger than the maximum body in the consolidation, and aligns with the trend direction (bullish in an uptrend, bearish in a downtrend).
* Visualization: Draws a trend line with a gradient, consolidation boxes (appearing only after the breakout candle closes, marking the consolidation zone), and volume delta labels. Optionally displays breakout signal arrows.
* Signals and Alerts: The indicator generates signals for bullish and bearish breakouts, including the volume delta percentage. Alerts are an additional feature that can be enabled for notifications.
Settings and Customization
* Volatility Window: Length of the period for calculating the average candle body size (default: 20).
* Volatility Threshold: Maximum candle body size as a percentage of the average body (default: 2).
* Minimum Consolidation Bars: Number of candles required for a consolidation (default: 10).
* SMA Length for Trend: Period of the SMA for trend detection (default: 100).
* Band Scaling: Offset of trend bands as a percentage of the average candle height (default: 250%), determining the distance from the SMA.
* Visualization Options: Enable/disable consolidation boxes (Show Consolidation Boxes, drawn after the breakout candle closes), volume delta labels (Show Volume Delta Labels), and breakout signals (Show Breakout Signals, e.g., triangles).
* Colors: Customize colors for the trend line, consolidation boxes, and volume delta labels.
█ OTHER SECTIONS
Usage Examples
* Joining an Uptrend: When the price breaks out of a consolidation in an uptrend with a volume delta of +50%, open a long position; the signal is stronger if the breakout candle surpasses a local high.
* Avoiding False Breakouts: Ignore breakout signals with low volume delta (e.g., below 0%) and combine the indicator with other tools (e.g., support/resistance levels or oscillators) to confirm moves in low-activity zones.
Notes for Users
* On markets that do not provide volume data, the indicator will not display volume delta — disable volume labels and enable breakout signals (e.g., triangles) instead.
* Adjust parameters to suit the market's characteristics to minimize noise.
* Combine with other tools, such as Fibonacci levels or oscillators, for greater precision.
Stop ATR Indicator [AlphaGroup.Live]Tralling Stop tool! Perferct for Prop Firm Traders
The Stop ATR is a volatility-based trailing stop that adapts dynamically to market conditions.
It uses the Average True Range (ATR) to plot a continuous “stair-step” line:
• In uptrend , the stop appears below price as a green line, rising with volatility.
• In downtrend , the stop appears above price as a red line, falling with volatility.
Unlike fixed stops, the Stop ATR never moves backward . It only trails in the direction of the trend, locking in profits while leaving room for price to move.
Key features:
• ATR-based trailing stop that adapts to volatility.
• Clean “one line only” design — no overlap of signals.
• Adjustable ATR period and multiplier for flexibility.
• Color-coded visualization for quick trend recognition.
How traders use it:
• Manage trades with volatility-adjusted stop placement.
• Identify trend reversals when price closes across the stop.
• Combine with other entry signals for a complete strategy.
About us:
AlphaGroup.Live develops battle-tested trading systems and tools for real traders — indicators, bots, dashboards, and strategy manuals.
Visit alphagroup.live to get our free eBook: The Ultimate 100 Trading Strategies .