Indicators and strategies
BTC/M2 Fire Sniffer (Liquidity Range Z-Score)Howdy Fella. Great to see you here, exploring the true data in CRYPTOCAP:BTC analysis.
To ensure a perfect view on the markets, here are a few tips on how to fine tune the Fire Sniffer:
- Z-Score Lookback: 40
- Liquidity Ratio SuperSmoother Length: 8
- Z-score SuperSmoother Length: 132
Set the ranges as following:
Mean: -0.53
Liquidity Cycle Top: 0.8
Liquidity Cycle Bottom: -0.65
With that, you are set to go. Enjoy and make sure to let me know your thoughts on the script. You can contact me on X: @thebitcoinfrontier
Volatility Heatmap & ATR Pane# Volatility Heatmap & Synchronized ATR Pane
This indicator provides a comprehensive view of multi-symbol volatility, displaying a dynamic heatmap table and a synchronized ATR (Average True Range) panel. It is designed to help traders identify periods of abnormal market activity or "volatility squeezes" across multiple assets simultaneously.
## Methodology & Calculation:
The core metric of this tool is **Relative Volatility (Rel. Vol %)**. It compares the current ATR to its historical baseline to determine if the current price movement is expanding or contracting relative to the norm.
The calculation logic is as follows:
1. **ATR Calculation:** We calculate the ATR over a user-defined period (default is 14).
2. **Baseline SMA:** We calculate a Simple Moving Average of that ATR (default is 50).
3. **Relative Percentage:**
$$Rel. Vol \% = (Current ATR / SMA(ATR)) * 100$$
## Key Features:
* **Multi-Symbol Dashboard:** Monitor up to 10 custom symbols (e.g., BINANCE:BTCUSDT, BINANCE:ETHUSDT) in a single table.
* **No-Repaint MTF Logic:** Uses `request.security()` with `lookahead = barmerge.lookahead_off` to ensure data integrity and prevent any historical rewriting.
* **Dynamic Status Alerts:**
* **SLEEPING (<70%):** Extremely low volatility.
* **NORMAL (100-130%):** Standard market movement.
* **EXTREME (>200%):** Significant volatility spike, often preceding trend exhaustion or breakouts.
* **Synchronized Pane:** The bottom panel displays the raw ATR and its average for the chart's current symbol, perfectly aligned with the dashboard's timeframe.
## How to Use:
1. Add the script to your chart.
2. In the settings, input your preferred symbols under the "Symbols 1-10" section.
3. Use the "Volatility Timeframe" input to lock the calculation to a specific timeframe (e.g., 1D) or leave it empty to sync with your current chart.
4. Watch the "Rel. Vol %" column to spot assets that are starting to "wake up" (moving from Blue/Low to Green/Rising).
Implied Volatility Bands"S&P 500" => vol_sym := "TVC:VIX"
"BTC" => vol_sym := "DERIBIT:DVOL" // Or use "VOLMEX:BVIV" as alternative
"Gold" => vol_sym := "CBOE:GVZ"
"Silver" => vol_sym := "CBOE:VXSLV"
ADX DMI SqueezeOverview
This indicator combines:
ADX / DMI → Measures trend strength and direction
ADX Squeeze Histogram → Shows when the trend is accelerating or “squeezing” for a breakout
Triangles → Highlight potential expansion points
Optional DI+ / DI− lines → Show bullish/bearish dominance
ADX Threshold Lines (15 / 20) → Help filter weak trends
Early ADX Acceleration Dots → Provide an early heads-up before a squeeze fires
It can be used standalone or alongside other trend tools like VWAP for better entry timing.
Entry Guidelines
Long Trades (Buy):
Histogram above 0
Green triangle appears
ADX rising or above threshold (15/20 recommended)
Optional: DI+ > DI− confirms bullish strength
Short Trades (Sell):
Histogram above 0
Red triangle appears
ADX rising or above threshold (15/20 recommended)
Optional: DI− > DI+ confirms bearish strength
Avoid trades if:
Histogram negative
Triangles appear but ADX below threshold or trend not confirmed by DI linesOptional Filters
Require ADX acceleration: Only shows signals when ADX is increasing → avoids late or false entries
VWAP Bias: Session-anchored institutional positioning (best for open & intraday scalps).
MA Bias: Time-based trend direction (best for continuation & trend days).
Tips
Best on 30-min or higher timeframes for swing/short-term trend trades
Can be combined with VWAP Moving averages , support/resistance, or Bollinger Bands
Use DI lines toggle if you want extra visual trend confirmation
Adjust DMI length (sensitivity) and ADX smoothing for your preferred timeframe
Interpretation
Histogram turning green above 0 + triangle → strong bullish move forming
Histogram turning red above 0 + triangle → strong bearish move forming
ADX above 20 → strong trend, more reliable
ADX below 15 → weak trend, signals less reliable
In short:
Long = Green bars above 0 + Green triangle
Short = Red bars above 0 + Red triangle
Confirm with ADX above threshold and optionally DI lines
yesterday
RSL Buy Signal Alert the relative Strength Index from Levy is checked. If it is above a dynamic value, an alert is triggered
ICT MOC Macro (Time + Price) - Live Signals + 3:30/MOC/SLTPict moc strat basically it works by determining the bias of market on closer orders at 3:30-3:50.
DonkeyKong 3 minuteTis is a test script for ema movement
Deselect the yellow for quicker entry and exit for 3 minute
Institutional Volume RSI [Adaptive]The Institutional Volume RSI is a next-generation momentum oscillator designed to solve the two biggest problems with standard RSI: Price Deception and Static Thresholds.
Standard RSI uses fixed 70/30 levels to define "Overbought" and "Oversold." This is flawed because in a strong institutional trend, the market can stay "Overbought" for weeks. Selling just because RSI hit 70 is a guaranteed way to lose money.
This tool fixes that.
It replaces static lines with Adaptive Volatility Bands . These bands breathe with the market—expanding during trends and contracting during squeezes—giving you a dynamic, statistically significant view of true momentum.
How It Works
The engine runs on three institutional concepts:
1. Volume-Weighted Source (VWMA) 📊
We calculate RSI based on Volume Weighted Moving Average , not just Close price.
Low Volume Move: RSI ignores it (Fakeout).
High Volume Move: RSI reacts aggressively (True Momentum).
2. Adaptive Volatility Bands 🌊
Instead of fixed lines, we use dynamic bands (similar to Bollinger Bands) applied directly to the RSI.
The Trend Ride: As long as the RSI line stays inside or above the Upper Band, the trend is strong. Do not sell.
The Squeeze: When the bands contract (get tight), it signals that volatility is dead and a massive explosive move is imminent.
3. Dynamic Sentiment Coloring 🎨
Green Line: RSI is above the baseline (Bullish Control).
Red Line: RSI is below the baseline (Bearish Control).
White Dots: These appear when RSI breaks outside the bands, signaling an extreme statistical anomaly (often a climax top or bottom).
The "Elastic Snap" Strategy
Recommended Companion: Hooke's Law: Market Elasticity
This indicator is the perfect "Trigger" for a Mean Reversion system. We recommend pairing it with a Reversal indicator (like Hooke's Law) to create a complete Setup + Trigger system.
The Strategy Rules:
1. The Setup (The Stretch) 📏
Wait for your Reversal Indicator (e.g., Hooke's Law) to identify an overextended market condition (Overbought/Oversold).
Context: The rubber band is stretched tight.
2. The Trigger (The Snap) 🔫
Do not enter blindly! Look at the IV-RSI :
For Shorts: Wait for the RSI line to turn RED . This confirms that momentum has actually rolled over.
For Longs: Wait for the RSI line to turn GREEN . This confirms that buyers have stepped in.
3. The Filter (The Safety) 🛡️
If price hits your Stop Loss level before the IV-RSI changes color, cancel the trade . This prevents you from shorting a strong trend that is simply "melting up" without volume exhaustion.
Settings & Configuration
RSI Length: Default is 14.
Source Type: VWMA (Volume Weighted) is recommended for institutional analysis.
Bands Multiplier: Default is 2.0 (Standard Deviation). Increasing this to 2.5 will make the "White Dot" extremes rarer and more significant.
Disclaimer
Trading involves a high level of risk and is not suitable for all investors. The content provided here is for educational purposes only and does not constitute financial advice. Past performance is not indicative of future results. The author (abgthecoder) is not responsible for any financial losses incurred from the use of this indicator. Always use proper risk management and never trade with money you cannot afford to lose. This tool is provided "as is" with open source code for the benefit of the trading community.
UTC-5 Time MarkersFor model 110 of DTT use flout with this as a bias and you will catch high wr high rr trades for this certain time window of continuation or reversal
Day SeparatorTitle: Professional Day Separator & Custom Session Labels
Description: This indicator is a clean and essential tool for intraday traders (M1, M5, M15) who need a clear visual separation between trading days. Unlike the standard TradingView period breaks, this script allows full control over the appearance and the exact timing of the separators to match your broker's server time.
Key Features:
Deep Black Vertical Lines: High-contrast separators for better chart clarity.
Customizable Thickness: Adjust the line width to suit your visual preference and chart background.
Custom Session Start: Perfect for traders whose "day" starts at a specific time (e.g., 23:00) due to broker offsets or specific session focus.
Centered Day Labels: Day-of-the-week labels (M O N, T U E, etc.) are placed at the bottom of the chart and can be perfectly centered between the separators.
Stability: Built using Pine Script V5 with absolute vertical alignment logic to prevent "leaning" or horizontal line glitches.
How to use:
Line Thickness: Adjust the "Linien Dicke" in the settings to make separators more or less prominent.
Align to Broker Time: If your broker starts the new daily candle at 23:00, simply set the "Tagesbeginn" to 23. The separator will then snap to that exact candle.
Perfect Label Centering: Use the "Label Stunde" slider to move the day labels left or right until they are centered between your lines (usually around 11:00 or 12:00 depending on your offset).
Why use this? Standard session breaks often look cluttered or don't align with local time zones/broker sessions. This script keeps your chart professional and ensures you always know exactly which day of the week you are trading.
EMA 8 Break & Retest ScalperEMA 8 Break & Retest, Candle Close und Wick
BUY / SELL Signale
Scalping
EMA 8 Break & Retest, Candle Close and Wick
BUY / SELL Signals
Scalping
NL Session High/Low ticks (16:30-17:30) - 5mthis is a 5 minut chart open and close off the new york open highs and lows
Auto Trend LinesPivot Left/Right Bars: Higher = fewer but stronger pivots (try 5-15 for weekly charts)
Extend Lines Forward: How far to project (50-200 bars recommended)
Line Color: Change to match your preference
Show Pivot Markers: Turn on to see where pivots are detected
Dual MACD + MFI + Volume Trend [v6] | High-ConvictionMFI MACD VOL to know when to enter and leave trades
Daily 10 & 20 EMA (Shown on All Timeframes)The 10-day EMA is the quicker one. It hugs price closely, reacting fast to every twitch and hesitation. When price respects it, momentum feels alive. When price slices through it, you sense hesitation before it shows up elsewhere.
The 20-day EMA moves with more weight. It doesn’t flinch at noise. It represents the market’s short-term memory, the line price keeps returning to when trends are healthy. Above it, bias feels constructive. Below it, gravity takes over.
Together, they form a rhythm pair:
When the 10 EMA rides above the 20 EMA, the market is leaning forward.
When the 10 EMA sinks below the 20 EMA, momentum is cooling or rolling over.
When price compresses between them, indecision is building energy.
Across all timeframes, they scale like a fractal:
On lower timeframes, they act as tactical guides for entries, pullbacks, and exits.
On higher timeframes, they define structure, trend health, and whether moves are worth trusting.
They don’t predict. They contextualize.
They don’t command. They frame the battlefield
MACD Buy E Sell EditavelMacd personalizavel com sell para cruzamento de venda e buy para cruzamento de compra
ChunkbrAI-NN INDIChunkbrAI-NN INDI: The Neural Network Odyssey
A Native Pine Script Neural Network Research Engine
Welcome to ChunkbrAI-NN 5.3. This is not a standard technical indicator; it is a proof-of-concept Artificial Intelligence engine built entirely from scratch within Pine Script.
Neural Networks typically require iterating over massive datasets, a task that usually times out on TradingView. ChunkbrAI solves this by introducing a novel "Chunking Architecture"—a system that breaks history into digestible learning blocks and trains a Multilayer Perceptron (MLP) using a "Chunking" approach.
It features a living ecosystem where neurons have "genes," grow mature, and adapt to market regimes using a highly sophisticated Context-Aware normalization engine.
-----------------------------------------------------------
The Core Concept: "The Time Wheel"
To bypass Pine Script's execution limits, this script does not train linearly from the beginning of time. Instead, it operates like a spinning wheel of experience.
* The Chunk System: On every bar update, the engine reaches back into history (up to 5000 bars) and grabs random or sequential "Chunks" of data. It treats these chunks as isolated training samples.
* Experience Replay: By constantly revisiting past market scenarios (Chunks), the network slowly converges its weights, learning to recognize patterns across different eras of price action.
-----------------------------------------------------------
Architecture & Modules
A. The Neural Core (MLP)
At the heart is a raw neural network built with arrays:
* Topology: A dense network with a customizable Hidden Layer (Default: 60 Neurons).
* Timewarp (Stride): When enabled, the network uses "dilated" inputs (skipping bars, e.g., 1, 3, 5...). This increases the network's Field of View without increasing computational load.
* Forecasting: The network outputs a standardized prediction which is then de-normalized to project the future price path on your chart.
B. The Context System (The "Eyes")
Raw prices confuse neural networks. A $1000 move in Bitcoin is massive in 2016 but noise in 2024. ChunkbrAI uses a relativistic Context System:
* Regime Detection: It uses a Zero-Lag Moving Average (ZLMA) and Non-Linear Regression to measure the current market "Vibe" (Volatility & Trend).
* Dynamic Normalization: The inputs are scaled based on this context. If the market is volatile, the data is compressed; if calm, it is expanded. This ensures the brain receives consistent signal patterns regardless of the absolute price.
C. The Gene System (Neuro-Plasticity)
This is the experimental "biology" layer. Neurons are not just static math; they have life cycles.
* Maturity: Neurons start "Young" (highly plastic, high mutation rate). As they successfully reduce error, they become "Wise" (stable, low mutation).
* Mutation: If a "Wise" neuron begins failing (high error), it is demoted and forced to mutate. This allows the brain to "forget" obsolete behaviors and adapt to new market paradigms automatically.
* Profiles: You can initialize the brain with different personalities (e.g., Dreamer, Young Chaos, Zen Monk).
D. The Brain Scheduler (Adaptive Learning)
A static Learning Rate (LR) is inefficient. The Brain Scheduler acts as the heartbeat:
* Panic vs. Flow: It monitors the derivative of the error. If the error spikes (Panic), the Scheduler slows down learning to prevent the model from exploding. If the error smooths out (Flow), it accelerates learning (Infinite LR Mode).
-----------------------------------------------------------
Forecasting Modes
The script provides two distinct ways to visualize the future:
1. Direct Projection (Green Line):
The network takes the current window of price action and predicts the immediate next step. If Timewarp is active, it interpolates the result to draw a smooth curve.
2. Autoregression (Cyan Line):
Available in "Auto" mode. The network feeds its *own* predictions back into itself as inputs to generate multi-step forecasts.
* Wave Segmentation: The script intelligently guesses the current market cycle length and attempts to project that specific duration forward.
-----------------------------------------------------------
Operation Manual
The script has two distinct training loops: first, when you add it to a chart, Pine runs through the available historical bars once, and this initial history pass is the main training phase where the network iterates chunk-by-chunk using your configured chunk count/iterations (e.g., if chunk count is 3, it performs 3 chunk updates per step), but pushing chunk count, iterations, or model sizing too high can hit Pine’s execution limits; after that, once real-time candles start printing, the script can either keep training (weights continue updating) or freeze the weights and run inference only, producing predictions from the learned parameters, and if live training is enabled it can also simulate “bars-back” style training during live mode by iterating across prior bars as if doing another history pass—which again can run into limits if chunks/iterations/sizing are too heavy—so when changing parameters to evaluate behavior you change them carefully and individually, because multiple simultaneous increases make it hard to attribute effects and can more easily trigger those execution constraints.
Weight Persistence (Save/Load):
Pine Script can’t write files or persist weights directly, so ChunkbrAI uses a library-based workaround that’s honestly tricky and kind of a pain: you enable the weight-export alerts so the script emits the weights (W1/W2/biases etc.) as text, and those payloads are chunked as well; then, outside TradingView, I use a separate Python script to parse the alert emails, reconstruct and format the chunked weights properly, and generate the corresponding library code files; after that, the libraries have to be published/updated, and only then can the main script “restore” by reading the published lib constants on chart load, effectively starting with the pre-trained weights instead of relying purely on the fresh history-run training pass. I don’t recommend this process unless you really have to—it’s fragile and high-effort—but until TradingView implements some simple built-in data storage for scripts, it’s basically the only practical way to save and reload your models.
-----------------------------------------------------------
Limitations & Notes
* Calculation Limits: This script pushes Pine Script to its absolute edge. If you increase Chunk Size or Hidden Size too much, you WILL hit execution limits. Use the defaults as a baseline.
* Non-Deterministic: Because the "Wheel" picks random chunks for training, two instances of this script might evolve slightly different brains unless you use the Restore Weights feature.
* Experimental: This is a research tool designed to explore Neural Networks and Genetic Algorithms on the chart. Treat it as an educational engine, not financial advice.
Credits: Concept and Engineering by funkybrown.
Horizontal EMAs9, 20, 50, 100, 200 EMA's displayed horizontally. Turn each on/off individually displaying on the 15M, 1H, 4H, and 1D time frames.
Educational Trend Direction (Up & Down)🔍 Overview
This indicator is designed to visually represent trend direction and trend transitions using a simple moving-average relationship. It is built strictly for educational and analytical purposes, allowing users to observe how price behaves during upward and downward market phases without relying on trading signals or predictions.
The indicator focuses on trend context, not trade execution.
⚙️ How the Indicator Works
The script calculates two exponential moving averages:
A fast trend line that reacts quickly to recent price changes
A slow trend line that represents broader market direction
Trend direction is determined by the relative position of these two lines.
When the fast line moves above the slow line, the market is considered to be in an upward trend phase
When the fast line moves below the slow line, the market is considered to be in a downward trend phase
This relationship helps visualize trend shifts and momentum changes in a simple and intuitive way.
🎨 Visual Components Explained
🟢 Green Trend Line
Represents the fast moving average during upward trend phases
Indicates that price is maintaining strength relative to the broader trend
Color reflects trend direction only, not confirmation or entry
🔴 Red Trend Line
Represents the fast moving average during downward trend phases
Indicates sustained weakness relative to the broader trend
Color does not imply selling or future continuation
⚪ Grey Trend Line
Represents the slow moving average
Acts as a baseline trend reference
Helps distinguish between short-term fluctuations and broader direction
🎨 Background Shading
Light green shading appears during upward trend environments
Light red shading appears during downward trend environments
Background color provides context only and does not signal market actions
🎯 Purpose & Benefits
Helps identify trend phases in a clear and minimal way
Improves understanding of trend transitions and momentum shifts
Reduces visual noise compared to raw price data
Encourages context-based analysis instead of signal dependency
Suitable for all markets and timeframes
⚠️ Important Notes
This indicator does not generate buy or sell signals
No targets, stop levels, or performance metrics are included
Trend conditions are descriptive, not predictive
Past behavior does not guarantee future outcomes
Users should always apply their own analysis and risk management when interpreting market data.
📚 Intended Use
This tool is intended for:
Market trend study
Educational demonstrations
Visual analysis of trend direction
Long-term chart structure awareness
It is not intended for automated trading or decision-making.
Overnight Mid-point v2Same idea as first script, just refined so it takes candlesticks and not swings.






















