Gann Fan Strategy [KedarArc Quant]Description
A single-concept, rule-based strategy that trades around a programmatic Gann Fan. 
It anchors to a swing (or a manual point), builds 1×1 and related fan lines numerically, and triggers entries when price interacts with the 1×1 (breakout or bounce). Management is done entirely with the fan structure (next/previous line) plus optional ATR trailing.
What TV indicators are used
* Pivots: `ta.pivothigh/ta.pivotlow` to confirm swing highs/lows for anchor selection.
* ATR: `ta.atr` only to scale the 1×1 slope (optional) and for an optional trailing stop.
* EMA: `ta.ema` as a trend filter (e.g., only long above the EMA, short below).
  No RSI/MACD/Stoch/Heikin/etc. The logic is one coherent framework: Gann price–time geometry, with ATR as a scale and EMA as a risk filter.
How it works
1. Anchor
   * Auto: chooses the most recent *confirmed* pivot (you control Left/Right).
   * Manual: set a price and bar index and the fan will hold that point (no re-anchoring).
   * Optional Re-anchor when a newer pivot confirms.
2. 1×1 Slope (numeric, not cosmetic)
   * ATR mode: `1×1 = ATR(Length) × Multiplier` (adapts to volatility).
   * Fixed mode: `ticks per bar` (constant slope).
     Because slope is numeric, it doesn’t change with chart zoom, unlike the drawing tool.
3. Fan Lines
   Builds classic ratios around the 1×1: 1/8, 1/4, 1/3, 1/2, 1/1, 2/1, 3/1, 4/1, 8/1.
4. Signals
   * Breakout: cross of price over/under the 1×1 in the EMA-aligned direction.
   * Bounce (optional): touch + reversal across the 1×1 to reduce whipsaw.
5. Exits & Risk
   * Take-profit at the next fan line; Stop at the previous fan line.
   * If a level is missing (right after re-anchor), a fallback Risk-Reward (RR) is used.
   * Optional ATR trailing stop.
Why this is unique
* True numeric fan: The 1×1 slope is calculated from ATR or fixed ticks—not from screen geometry—so it is scale-invariant and reproducible across users/timeframes.
* Deterministic anchor logic: Uses confirmed pivots (with your L/R settings). No look-ahead; anchors update only when the right bars complete.
* Fan-native trade management: Both entries and exits come from the fan structure itself (with a minimal ATR/EMA assist), keeping the method pure.
* Two entry archetypes: Breakout for momentum days; Bounce for range days—switchable without changing the core model.
* Manual mode: Lock a session’s bias by anchoring to a chosen swing (e.g., day’s first major low/high) and keep the fan constant all day.
 Inputs (quick guide)
* Auto Anchor (Left/Right): pivot sensitivity. Higher values = fewer, stronger anchors.
* Re-anchor: refresh to newer pivots as they confirm.
* Manual Anchor Price / Bar Index: fixes the fan (turn Auto off).
* Scale 1×1 by ATR: on = adaptive; off = use ticks per bar.
* ATR Length / ATR Multiplier: controls adaptive slope; start around 14 / 0.25–0.35.
* Ticks per bar: exact fixed slope (match a hand-drawn fan by computing slope ÷ mintick).
* EMA Trend Filter: e.g., 50–100; trades only in EMA direction.
* Use Bounce: require touch + reverse across 1×1 (helps in chop).
* TP/SL at fan lines; Fallback RR for missing levels; ATR Trailing Stop optional.
* Transparency/Plot EMA: visual preferences.
 Tips
* Range days: larger pivots (L/R 8–12), Bounce ON, ATR Multiplier \~0.30–0.40, EMA 100.
* Trend days: L/R 5–6, Breakout, Multiplier \~0.20–0.30, EMA 50, ATR trail 1.0–1.5.
* Match the TV Gann Fan drawing: turn ATR scale OFF, set ticks per bar = `(Δprice between anchor and 1×1 target) / (bars) / mintick`.
Repainting & testing notes
* Pivots require Right bars to confirm; anchors are set after confirmation (no look-ahead).
* Signals use the current bar close with TradingView strategy mechanics; real-time vs. bar-close can differ slightly, as with any strategy.
* Re-anchoring legitimately moves the structure when new pivots confirm—by design.
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
波動率
Deadband Hysteresis Supertrend [BackQuant]Deadband Hysteresis Supertrend  
  A two-stage trend tool that first filters price with a deadband baseline, then runs a Supertrend around that baseline with optional flip hysteresis and ATR-based adverse exits. 
 What this is 
 A hybrid of two ideas:
  
  Deadband Hysteresis Baseline  that only advances when price pulls far enough from the baseline to matter. This suppresses micro noise and gives you a stable centerline.
  Supertrend bands  wrapped around that baseline instead of raw price. Flips are further gated by an extra margin so side changes are more deliberate.
  
 The goal is fewer whipsaws in chop and clearer regime identification during trends.
 How it works (high level) 
  
  Deadband step  — compute a per-bar “deadband” size from one of four modes: ATR, Percent of price, Ticks, or Points. If price deviates from the baseline by more than this amount, move the baseline forward by a fraction of the excess. If not, hold the line.
  Centered Supertrend  — build upper and lower bands around the baseline using ATR and a user factor. Track the usual trailing logic that tightens a band while price moves in its favor.
  Flip hysteresis  — require price to exceed the active band by an extra  flip offset × ATR  before switching sides. This adds stickiness at the boundary.
  Adverse exit  — once a side is taken, trigger an exit if price moves against the entry by  K × ATR .
  
 If you would like to check out the filter by itself: 
 
 What it plots 
  
  DBHF baseline  (optional) as a smooth centerline.
  DBHF Supertrend  as the active trailing band.
  Candle coloring  by trend side for quick read.
  Signal markers  𝕃 and 𝕊 at flips plus ✖ on adverse exits.
  
 Inputs that matter 
  
  Price Source  — series being filtered. Close is typical. HL2 or HLC3 can be steadier.
  Deadband mode  — ATR, Percent, Ticks, or Points. This defines the “it’s big enough to matter” zone.
  ATR Length / Mult (DBHF)  — only used when mode = ATR. Larger values widen the do-nothing zone.
  Percent / Ticks / Points  — alternatives to ATR; pick what fits your market’s convention.
  Enter Mult  — scales the deadband you must clear before the baseline moves. Increase to filter more noise.
  Response  — fraction of the excess applied to baseline movement. Higher responds faster; lower is smoother.
  Supertrend ATR Period & Factor  — traditional band size controls; higher factor widens and flips less often.
  Flip Offset ATR  — extra ATR buffer required to flip. Useful in choppy regimes.
  Adverse Stop K·ATR  — per-trade danger brake that forces an exit if price moves K×ATR against entry.
  UI  — toggle baseline, supertrend, signals, and bar painting; choose long and short colors.
  
 How to read it 
  
  Green regime  — candles painted long and the Supertrend running below price. Pullbacks toward the baseline that fail to breach the opposite band often resume higher.
  Red regime  — candles painted short and the Supertrend running above price. Rallies that cannot reclaim the band may roll over.
  Frequent side swaps  — reduce sensitivity by increasing Enter Mult, using ATR mode, raising the Supertrend factor, or adding Flip Offset ATR.
  
 Use cases 
  
  Bias filter  — allow entries only in the direction of the current side. Use your preferred triggers inside that bias.
  Trailing logic  — treat the active band as a dynamic stop. If the side flips or an adverse K·ATR exit prints, reduce or close exposure.
  Regime map  — on higher timeframes, the combination baseline + band produces a clean up vs down template for allocation decisions.
  
 Tuning guidance 
  
  Fast markets  — ATR deadband, modest Enter Mult (0.8–1.2), response 0.2–0.35, Supertrend factor 1.7–2.2, small Flip Offset (0.2–0.5 ATR).
  Choppy ranges  — widen deadband or raise Enter Mult, lower response, and add more Flip Offset so flips require stronger evidence.
  Slow trends  — longer ATR periods and higher Supertrend factor to keep you on side longer; use a conservative adverse K.
  
 Included alerts 
  
  DBHF ST Long  — side flips to long.
  DBHF ST Short  — side flips to short.
  Adverse Exit Long / Short  — K·ATR stop triggers against the current side.
  
 Strengths 
  
  Deadbanded baseline reduces micro whipsaws before Supertrend logic even begins.
  Flip hysteresis adds a second layer of confirmation at the boundary.
  Optional adverse ATR stop provides a uniform risk cut across assets and regimes.
  Clear visuals and minimal parameters to adjust for symbol behavior.
  
 Putting it together 
 Think of this tool as two decisions layered into one view. The deadband baseline answers “does this move even count,” then the Supertrend wrapped around that baseline answers “if it counts, which side should I be on and where do I flip.” When both parts agree you tend to stay on the correct side of a trend for longer, and when they disagree you get an early warning that conditions are changing.
 
  When the baseline bends and price cannot reclaim the opposite band , momentum is usually continuing. Pullbacks into the baseline that stall before the far band often resolve in trend.
  When the baseline flattens and the bands compress , expect indecision. Use the Flip Offset ATR to avoid reacting to the first feint. Wait for a clean band breach with follow through.
  When an adverse K·ATR exit prints while the side has not flipped , treat it as a risk event rather than a full regime change. Many users cut size, re-enter only if the side reasserts, and let the next flip confirm a new trend.
  
 Final thoughts 
 Deadband Hysteresis Supertrend is best read as a regime lens. The baseline defines your tolerance for noise, the bands define your trailing structure, and the flip offset plus adverse ATR stop define how forgiving or strict you want to be at the boundary. On strong trends it helps you hold through shallow shakeouts. In choppy conditions it encourages patience until price does something meaningful. Start with settings that reflect the cadence of your market, observe how often flips occur, then nudge the deadband and flip offset until the tool spends most of its time describing the move you care about rather than the noise in between.
Advanced Crypto Day Trading - Bybit Optimized mapercivEMA RSI ATR MACD trading script strategy with filters for weekdays
NN Crypto Scalping ULTIMATE v6 - MTF mapercivNeural Network Crypto Trading System v6.1
Complete Technical Documentation
Author
: Neural Network Ensemble Trading System
Version
: 6.1 - MTF Corrected & Bias Fixed
Date
: January 2025
Platform
: TradingView PineScript v6
Executive Summary
The
Neural Network Crypto Trading System v6.1
is an advanced algorithmic trading system that combines three specialized neural networks into an intelligent ensemble to generate cryptocurrency trading signals. The system integrates multi-timeframe analysis, crypto-specific optimizations, dynamic risk management, and continuous learning to maximize performance in highly volatile markets.
Key Features:
Ensemble of 3 specialized Neural Networks
(Primary, Momentum, Volatility)
Multi-Timeframe Analysis
with 5 timeframes (5m, 15m, 1h, 4h, 1D)
22 Advanced Features
for each model
Anti-repainting
guaranteed with confirmed data
8 Market Regime
automatic detections
6 Signal Levels
(Strong/Moderate/Weak Buy/Sell)
Professional dashboard
with 15+ real-time metrics
Intelligent alert system
with webhook integration
Monthly VWAPDescription 
This indicator identifies potential mean reversion opportunities by tracking price deviations from monthly VWAP with dynamic volatility-adjusted thresholds.
 Core Logic: 
The indicator monitors when price moves significantly away from monthly VWAP and looks for potential reversal opportunities. It uses ATR-based dynamic thresholds that adapt to current market volatility, combined with volume confirmation to filter out weak signals.
 Key Features: 
 Adaptive Thresholds: ATR-based bands that adjust to market volatility
 Volume Confirmation: Requires average volume spike to validate signals
 Monthly Reset: VWAP anchors reset each month for fresh reference levels
 Visual Clarity: Color-coded deviation line with background highlights for active signals
 Info Panel: Shows days from anchor and current price context vs fair value
 
 Signal Generation: 
 Buy Signal: Price below monthly VWAP by threshold amount with elevated volume
 Sell Signal: Price above monthly VWAP by threshold amount with elevated volume
 Neutral: Price within threshold range or insufficient volume
 
 Best Used For: 
 Mean reversion strategies in ranging markets
 Identifying potential oversold/overbought conditions
 Understanding price position relative to monthly fair value
Parabolic Move Indicator for catching moves with Penny Stocks.
Catch the day’s first big moves! Track premarket gap-ups or gap-downs, then spot early momentum shifts using volume, RSI, VWAP, EMAs, and breakout levels—perfect for acting on strong intraday setups right at market open.
**Description:**
The Parabolic Move Scanner + VWAP Bands + EMAs indicator helps traders identify **high-probability intraday moves**, particularly immediately after market open. It is ideal for stocks that **gap up or down premarket, pull back slightly, and then show renewed strength or weakness** once regular trading begins.
The indicator combines multiple components for precise signals:
* **Relative Volume Filter: ** Highlights bars with unusually high activity to ensure signals are backed by real participation.
* **RSI Momentum Change: ** Detects sudden momentum shifts to identify early strength or weakness.
* **Recent Highs/Lows Breakout: ** Confirms price is breaking short-term resistance or support.
* **VWAP & Standard Deviation Bands: ** Provides intraday trend reference points, with optional daily reset.
* **Exponential Moving Averages (EMAs): ** Tracks trend across short, medium, and long-term intraday periods.
* **Visual Signals: ** Background highlights and horizontal breakout lines make it easy to spot key bars.
* **Alerts: ** Configurable alerts notify you of bullish or bearish parabolic moves.
**Optimal Use Case: **
Use in the first 15–30 minutes after market open at 1 minute Time Frame.  Best for **stocks showing a premarket gap followed by a pullback**, then resuming strength (bullish) or weakness (bearish). The combination of **volume, RSI, breakouts, VWAP, and EMAs** ensures you identify the **day’s biggest marktet open moves especially with penny stocks moves** with higher confidence.
---
### **Recommended Settings**
 **Component**                 | **Recommended Setting**         | **Description / Purpose**                                          
| **Volume Average Length**         | 20 bars                         | Period for calculating average volume to detect relative spikes.   |
| **Volume Multiplier**             | 2.0                             | Current bar volume must exceed 2× average to signal high activity. |
| **RSI Length**                    | 7 bars                          | Short-term RSI period to measure momentum changes.                 |
| **RSI Change Threshold**          | 7                               | Minimum RSI change required to trigger momentum signal.            |
| **Recent Highs Lookback**         | 5 bars                          | Number of bars to check for short-term breakout levels.            |
| **Horizontal Line Length**        | 10 bars                         | Length of horizontal breakout line drawn on the chart.             |
| **Horizontal Line Color**         | Green (bullish) / Red (bearish) | Visual identification of breakout levels.                          |
| **Horizontal Line Thickness**     | 1                               | Line width for breakout visualization.                             |
| **VWAP Source**                   | hlc3                            | Price source for VWAP calculation.                                 |
| **VWAP Bands Multipliers**        | 1×, 2×, 3×                | Standard deviation multiples for intraday bands.                  
| **VWAP Daily Reset**              | Enabled   | Resets VWAP at the start of each trading day.                      
| **EMA Lengths**                   | 9, 13, 20, 33, 50             | Short, medium, and long-term EMAs to track intraday trend.         |
| **Enable Bearish Signals**        | True                            | Allows detection of bearish parabolic moves.                       |
|
All-In-One MA Stack ScalperWhat is this Indicator?
This tool is an advanced, multi-layered breakout and trend-following indicator designed for lower timeframes. It identifies high-conviction buy and sell signals by combining moving average stacking with a suite of professional-grade filters.
How Does It Work?
A signal is generated only when ALL of the following conditions are met:
Moving Average Stack (5M Chart):
Buy: The close price is above all five moving averages (MAs: 100, 48, 36, 24, 12).
Sell: The close price is below all five MAs.
Volatility Filter (ATR):
Signals only print when the current ATR (14) is at least 80% of its 100-period average, ensuring you only trade in actively moving markets.
Candle Structure Filter:
The current candle must have a real body that is at least 35% of the candle’s total range, filtering out dojis and indecision bars.
Big Candle Filter:
The candle’s total range must be at least 40% of the current ATR, avoiding signals on minor, insignificant moves.
Volume Filter:
The current volume must be at least 80% of its 50-period average, filtering out signals during illiquid or quiet market conditions.
Minimum Distance from All MAs:
Price must be a minimum distance (20% ATR) away from each MA, confirming a clean breakout and avoiding signals in tight MA clusters or ranging markets.
RSI Momentum Filter:
Buy: RSI(14) must be greater than 55.
Sell: RSI(14) must be less than 45.
This ensures trades are only taken in the direction of momentum.
ADX Trend Filter:
ADX(14,14) must be above 20, ensuring signals only print in trending conditions (not in chop/range).
Minimum Bars Between Signals:
Only one signal per direction is allowed every 10 bars to avoid overtrading and signal clustering.
What Does This Achieve?
Reduces noise and false signals common in basic MA cross or stack systems.
Captures only strong, high-momentum, and high-conviction moves.
Helps you avoid chop, range, and news whipsaws by combining multiple market filters.
Perfect for advanced scalpers, intraday trend followers, or as a trade filter for algos/EAs.
How to Use It:
Apply to your 5-minute chart.
Green BUY signals: Only when all bullish conditions align.
Red SELL signals: Only when all bearish conditions align.
Use as a stand-alone system or as a filter for your own entries.
Recommended For:
Scalpers & intraday traders who want only the best opportunities.
EA and bot builders seeking reliable signal logic.
Manual traders seeking confirmation of high-probability breakouts.
Tip:
Adjust any of the filters (e.g., RSI/ADX thresholds, minBars, minDist) to make it more/less selective for your style or market.
VBC Signals with TP/SL V1.0This script was based on volume break candle theory.
 VBC  has a very simple idea. It uses the principle that if the price of the XAUUSD asset rises above a specified range of at least 600 points (configuarable) continuously, and a candle breaks the upward trend, a signal will be generated to sell. The entry principle is to enter at the price at the last bullish candle with TP300 SL300.
On the other hand, if the price of xauusd falls below the specified level of 600 points and a candle breaks the price down by 1 candle, a BUY signal will occur, and the ENTRY and TP SL will use the same values as the SELL signalใ
 How it works: 
 SELL SIGNAL : When the asset price rises above 600 points continuously and a "SELL" signal occurs, place a limit sell order at the pair of green and red bars that formed the signal, specifying a TP of 300 and SL of 300.
 BUY SIGNAL : When the asset price falls more than 600 points continuously and a "BUY" signal occurs, place a limit sell order at the double bar pattern of the red and green bars that formed the signal, specifying a TP of 300 and a SL of 300.
 Disclaimer:  This script is for educational purposes only. It does not constitute financial advice. Always do your own research before making trading decisions.
 NOTE:  For certain XAUUSD of certain broker (for instance XAUUSD on OANDA), the signal might found to often, just multiple the threshold by 10, then 600 will be come 6000 
EMA Envelope + SMA + Purple DotThis indicator combines three tools into one:
📈 EMA Envelope with wedge and range contraction signals to highlight volatility squeezes.
🔵 SMA with optional smoothing (SMA/EMA/WMA/SMMA/VWMA) and optional Bollinger Bands.
🟣 Purple Dot “PowerBars” that mark strong momentum bars when price ROC (%) and volume exceed user-defined thresholds.
It also includes:
Background highlighting of contraction zones (bullish/bearish/neutral colors).
A summary table showing PowerBar count and return (%) over custom lookback periods.
Flexible display settings (table position, dark/light theme, highlight toggle).
Designed for traders who want to track momentum bursts, volatility contraction, and trend strength all in one tool.
Theil-Sen Line Filter [BackQuant]Theil-Sen Line Filter  
  A robust, median-slope baseline that tracks price while resisting outliers. Designed for the chart pane as a clean, adaptive reference line with optional candle coloring and slope-flip alerts. 
 What this is 
 A trend filter that estimates the underlying slope of price using a Theil-Sen style median of past slopes, then advances a baseline by a controlled fraction of that slope each bar. The result is a smooth line that reacts to real directional change while staying calm through noise, gaps, and single-bar shocks.
 Why Theil-Sen 
 Classical moving averages are sensitive to outliers and shape changes. Ordinary least squares is sensitive to large residuals. The Theil-Sen idea replaces a single fragile estimate with the median of many simple slopes, which is statistically robust and less influenced by a few extreme bars. That makes the baseline steadier in choppy conditions and cleaner around regime turns.
 What it plots 
  
  Filtered baseline  that advances by a fraction of the robust slope each bar.
  Optional candle coloring  by baseline slope sign for quick trend read.
  Alerts  when the baseline slope turns up or down.
  
 How it behaves (high level) 
  
  Looks back over a fixed window and forms many “current vs past” bar-to-bar slopes.
  Takes the median of those slopes to get a robust estimate for the bar.
  Optionally caps the magnitude of that per-bar slope so a single volatile bar cannot yank the line.
  Moves the baseline forward by a user-controlled fraction of the estimated slope. Lower fractions are smoother. Higher fractions are more responsive.
  
 Inputs and what they do 
  
  Price Source  — the series the filter tracks. Typical is close; HL2 or HLC3 can be smoother.
  Window Length  — how many bars to consider for slopes. Larger windows are steadier and slower. Smaller windows are quicker and noisier.
  Response  — fraction of the estimated slope applied each bar. 1.00 follows the robust slope closely; values below 1.00 dampen moves.
  Slope Cap Mode  — optional guardrail on each bar’s slope:
  
  None  — no cap.
  ATR  — cap scales with recent true range.
  Percent  — cap scales with price level.
  Points  — fixed absolute cap in price points.
  
  ATR Length / Mult, Cap Percent, Cap Points  — tune the chosen cap mode’s size.
  UI Settings  — show or hide the line, paint candles by slope, choose long and short colors.
  
 How to read it 
  
  Up-slope  baseline and green candles indicate a rising robust trend. Pullbacks that do not flip the slope often resolve in trend direction.
  Down-slope  baseline and red candles indicate a falling robust trend. Bounces against the slope are lower-probability until proven otherwise.
  Flat or frequent flips  suggest a range. Increase window length or decrease response if you want fewer whipsaws in sideways markets.
  
 Use cases 
  
  Bias filter  — only take longs when slope is up, shorts when slope is down. It is a simple way to gate faster setups.
  Stop or trail reference  — use the line as a trailing guide. If price closes beyond the line and the slope flips, consider reducing exposure.
  Regime detector  — widen the window on higher timeframes to define major up vs down regimes for asset rotation or risk toggles.
  Noise control  — enable a cap mode in very volatile symbols to retain the line’s continuity through event bars.
  
 Tuning guidance 
  
  Quick swing trading  — shorter window, higher response, optionally add a percent cap to keep it stable on large moves.
  Position trading  — longer window, moderate response. ATR cap tends to scale well across cycles.
  Low-liquidity or gappy charts  — prefer longer window and a points or ATR cap. That reduces jumpiness around discontinuities.
  
 Alerts included 
  
  Theil-Sen Up Slope  — baseline’s one-bar change crosses above zero.
  Theil-Sen Down Slope  — baseline’s one-bar change crosses below zero.
  
 Strengths 
  
  Robust to outliers through median-based slope estimation.
  Continuously advances with price rather than re-anchoring, which reduces lag at turns.
  User-selectable slope caps to tame shock bars without over-smoothing everything.
  Minimal visuals with optional candle painting for fast regime recognition.
  
 Notes 
This is a filter, not a trading system. It does not account for execution, spreads, or gaps. Pair it with entry logic, risk management, and higher-timeframe context if you plan to use it for decisions.
Ark FCI OscillatorFinancial Conditions Index Oscillator
 
This indicator tracks week-over-week changes in the National Financial Conditions Index (NFCI), providing a dynamic view of evolving financial conditions in the United States.
 Overview 
The National Financial Conditions Index (NFCI) is a comprehensive weekly composite index published by the Federal Reserve Bank of Chicago. It measures financial conditions across U.S. money markets, debt and equity markets, and the traditional and shadow banking systems.
Interpretation
 Positive  values indicate improving financial conditions
 Negative  values signal deteriorating financial conditions
Risk assets demonstrate particular sensitivity to changes in financial conditions, making this oscillator valuable for market timing and risk assessment.
 Alternative Data Source 
Users can modify the source to FRED:NFCIRISK to focus specifically on risk dynamics. The NFCIRISK subindex isolates volatility and funding risk measures within the financial sector, capturing market volatility indicators and liquidity shortage probabilities while excluding broader credit and leverage conditions.
Volume + RSI & MA Differential"Volume + RSI & MA Differential," integrates volume, RSI, and moving average differentials to generate trading signals. The script calculates a 14-period RSI to identify overbought or oversold conditions, with customizable thresholds for buy and sell signals. It also computes a 20-period SMA of the volume to smooth out trading activity data, helping to identify trends in market participation.
The script incorporates a fast (50-period) and a slow (200-period) SMA to analyze short-term and long-term trends, respectively. The differential between these moving averages, adjusted by the volume SMA, is used to identify potential trend changes or confirmations. Bars are colored yellow when the RSI is below the buy threshold and volume is high, indicating a potential buy signal. Conversely, bars turn red when the RSI is above the sell threshold and the fast MA is below the current close price, suggesting a potential sell signal. Neutral conditions result in grey bars.
Additionally, the script uses color-coding to plot the volume SMA and a line that changes color based on the moving average differential. A black line indicates a broadening MA cloud and a bullish trend, while a grey line suggests a narrowing MA cloud and a potential selloff. A yellow line signals the beginning of a buyback. This visual representation helps traders quickly identify potential trading opportunities and trend changes, making the script a valuable tool for technical analysis.
Candle Spread + ATR SMA Analysis 
This indicator combines elements from two popular open-source scripts — Candle Range Compare
 by @oldinvestor   
 and Objective Analysis of Spread (VSA)
 by @Rin-Nin  
 — into a single tool for analyzing candle spreads (ranges and bodies) in relation to volatility benchmarks.
🔎 What It Does
Candle Decomposition:
Plots total candle ranges (high–low) in gray, for both up and down closes.
Plots up-close bodies (open–close) in white.
Plots down-close bodies in black.
This makes it easy to spot whether volatility comes from real price movement (body) or extended wicks.
ATR & SMA Volatility Bands:
Calculates ATR (Average True Range) and overlays it as a black line.
Plots four volatility envelopes derived from the SMA of the true range:
0.8× (blue, shaded)
1.3× (green)
1.8× (red)
3.0× (purple)
Colored fill zones highlight when candle spreads are below, within, or above key thresholds.
Visual Context:
Track expansion/contraction in spreads.
Compare bullish (white) vs bearish (black) bodies to gauge buying/selling pressure.
Identify when candles stretch beyond typical volatility ranges.
📈 How To Use It
VSA context: Wide down bars (black) beyond ATR bands may suggest supply; wide up bars (white) may indicate demand.
Trend confirmation: Expanding ranges above average thresholds (green/red/purple bands) often confirm momentum.
Reversal potential: Small bodies but large ranges (gray + wicks) frequently appear at turning points.
Volatility filter: Use ATR bands to filter trades — e.g., only act when candle ranges exceed 1.3× or 1.8× SMA thresholds.
🙏 Credits
This script is inspired by and combines ideas from:
Candle Range Compare
 by @oldinvestor
Objective Analysis of Spread (VSA)
 by @Rin-Nin
Big thanks to both authors for their valuable contributions to the TradingView community.
One thing I couldnt quite get to work is being able to display up and down wicks like in the candle range compare, so I just add that indicator to the chart as well, uncheck everything but the wick plots and there it is. 
PCV (Darren.L-V2)Description:
This indicator combines Bollinger Bands, CCI, and RVI to help identify high-probability zones on M15 charts.
Features:
Bollinger Bands (BB) – displayed on the main chart in light gray. Helps visualize overbought and oversold price levels.
CCI ±100 levels + RVI – displayed in a separate sub-window:
CCI only shows the ±100 reference lines.
RVI displays a cyan main line and a red signal line.
Valid Zone Detection:
Candle closes outside the Bollinger Bands.
RVI crosses above +100 or below -100 (CCI level reference).
Candle closes back inside the BB, confirming a price rebound.
Requires two touches in the same direction to confirm the zone.
Only zones within 20–30 pips range are considered valid.
Usage:
Helps traders spot reversal or bounce zones with clear visual signals.
Suitable for all indices, Forex, and crypto on M15 timeframe.
Sniper Swing — Short TF (Clean Signals) [v6]📘 How to Use the Sniper Swing Indicator
1. What It Does
It looks for short-term swing breaks in price.
It uses an oscillator (RSI/Stoch) and swing pivots to confirm moves.
It gives you 3 clear signals only:
BUY → Enter long (expecting price to go up).
Gay bear → Enter short (expecting price to go down).
EXIT → Close your trade (long or short).
Candles also change color:
Green = in a BUY trade.
Red = in a Gay bear trade.
Neutral (gray/none) = no trade.
2. When to Use
Works best on short timeframes (1m–5m) for scalping/intraday.
Use on liquid markets (MES/ES, NQ, SPY, BTC, ETH).
Avoid dead hours with no volume (like overnight futures lull or midday chop).
3. How to Trade With It
A. BUY trade
Wait for a BUY triangle below the candle.
Confirm:
Candle turned green.
Price broke a recent swing high.
Oscillator shows strength (indicator does this for you).
Enter long at the close of that candle.
Place your stop-loss:
At the yellow stop line (auto trailing stop), or
Just below the last swing low.
Stay in while candles are green.
Exit when:
An orange X appears, or
Price hits your stop.
B. Gay bear (short) trade
Wait for a Gay bear triangle above the candle.
Confirm:
Candle turned red.
Price broke a recent swing low.
Oscillator shows weakness.
Enter short at the close of that candle.
Place stop-loss:
At the yellow stop line, or
Just above the last swing high.
Stay in while candles are red.
Exit on an orange X or stop hit.
4. Pro Tips for New Traders
Only take one signal at a time → don’t double dip.
Quality > Quantity: ignore weak, sideways markets. Best signals happen during trends.
Start small: trade micros (MES) or small position sizes.
Use alerts: set TradingView alerts for BUY/Gay bear/EXIT so you don’t miss setups.
Think of the indicator like a navigator: it tells you the likely path, but you’re the driver → always manage risk.
5. Quick Mental Checklist
Signal? (BUY or Gay bear triangle)
Confirmed? (candle color + swing break)
Enter? (on close)
Stop? (yellow line or swing)
Exit? (orange X or stop)
Laguerre-Kalman Adaptive Filter | AlphaNattLaguerre-Kalman Adaptive Filter |AlphaNatt 
A sophisticated trend-following indicator that combines  Laguerre polynomial filtering  with  Kalman optimal estimation  to create an ultra-smooth, low-lag trend line with exceptional noise reduction capabilities.
 "The perfect trend line adapts to market conditions while filtering out noise - this indicator achieves both through advanced mathematical techniques rarely seen in retail trading." 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 🎯 KEY FEATURES 
 
 Dual-Filter Architecture:  Combines two powerful filtering methods for superior performance
 Adaptive Volatility Adjustment:  Automatically adapts to market conditions
 Minimal Lag:  Laguerre polynomials provide faster response than traditional moving averages
 Optimal Noise Reduction:  Kalman filtering removes market noise while preserving trend
 Clean Visual Design:  Color-coded trend visualization (cyan/pink)
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 📊 THE MATHEMATICS 
 1. Laguerre Filter Component 
The Laguerre filter uses a cascade of four all-pass filters with a single gamma parameter:
 
 4th order IIR (Infinite Impulse Response) filter
 Single parameter (gamma) controls all filter characteristics
 Provides smoother output than EMA with similar lag
 Based on Laguerre polynomials from quantum mechanics
 
 2. Kalman Filter Component 
Implements a simplified Kalman filter for optimal estimation:
 
 Prediction-correction algorithm from aerospace engineering
 Dynamically adjusts based on estimation error
 Provides mathematically optimal estimate of true price trend
 Reduces noise while maintaining responsiveness
 
 3. Adaptive Mechanism 
 
 Monitors market volatility in real-time
 Adjusts filter parameters based on current conditions
 More responsive in trending markets
 More stable in ranging markets
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 ⚙️ INDICATOR SETTINGS 
 
 Laguerre Gamma (0.1-0.99):  Controls filter smoothness. Higher = smoother but more lag
 Adaptive Period (5-100):  Lookback for volatility calculation
 Kalman Noise Reduction (0.1-2.0):  Higher = more noise filtering
 Trend Threshold (0.0001-0.01):  Minimum change to register trend shift
 
 Recommended Settings: 
 
 Scalping:  Gamma: 0.6, Period: 10, Noise: 0.3
 Day Trading:  Gamma: 0.8, Period: 20, Noise: 0.5 (default)
 Swing Trading:  Gamma: 0.9, Period: 30, Noise: 0.8
 Position Trading:  Gamma: 0.95, Period: 50, Noise: 1.2
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 📈 TRADING SIGNALS 
 Primary Signals: 
 
 Cyan Line:  Bullish trend - price above filter and filter ascending
 Pink Line:  Bearish trend - price below filter or filter descending
 Color Change:  Potential trend reversal point
 
 Entry Strategies: 
 
 Trend Continuation:  Enter on pullback to filter line in trending market
 Trend Reversal:  Enter on color change with volume confirmation
 Breakout:  Enter when price crosses filter with momentum
 
 Exit Strategies: 
 
 Exit long when line turns from cyan to pink
 Exit short when line turns from pink to cyan
 Use filter as trailing stop in strong trends
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 ✨ ADVANTAGES OVER TRADITIONAL INDICATORS 
 Vs. Moving Averages: 
 
 Significantly less lag while maintaining smoothness
 Adaptive to market conditions
 Better noise filtering
 
 Vs. Standard Filters: 
 
 Dual-filter approach provides optimal estimation
 Mathematical foundation from signal processing
 Self-adjusting parameters
 
 Vs. Other Trend Indicators: 
 
 Cleaner signals with fewer whipsaws
 Works across all timeframes
 No repainting or lookahead bias
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 🎓 MATHEMATICAL BACKGROUND 
 The Laguerre filter was developed by John Ehlers, applying Laguerre polynomials (used in quantum mechanics) to financial markets. These polynomials provide an elegant solution to the lag-smoothness tradeoff that plagues traditional moving averages. 
 The Kalman filter, developed by Rudolf Kalman in 1960, is used in everything from GPS systems to spacecraft navigation. It provides the mathematically optimal estimate of a system's state given noisy measurements. 
 By combining these two approaches, this indicator achieves what neither can alone: a smooth, responsive trend line that adapts to market conditions while filtering out noise. 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 💡 TIPS FOR BEST RESULTS 
 
 Confirm with Volume:  Strong trends should have increasing volume
 Multiple Timeframes:  Use higher timeframe for trend, lower for entry
 Combine with Momentum:  RSI or MACD can confirm filter signals
 Market Conditions:  Adjust noise parameter based on market volatility
 Backtesting:  Always test settings on your specific instrument
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 ⚠️ IMPORTANT NOTES 
 
 No indicator is perfect - always use proper risk management
 Best suited for trending markets
 May produce false signals in choppy/ranging conditions
 Not financial advice - for educational purposes only
 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 🚀 CONCLUSION 
The Laguerre-Kalman Adaptive Filter represents a  significant advancement  in technical analysis, bringing institutional-grade mathematical techniques to retail traders. Its unique combination of polynomial filtering and optimal estimation provides a  clean, reliable trend-following tool  that adapts to changing market conditions.
Whether you're scalping on the 1-minute chart or position trading on the daily, this indicator provides  clear, actionable signals  with minimal false positives.
 "In the world of technical analysis, the edge comes from using better mathematics. This indicator delivers that edge." 
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 
 Developed by AlphaNatt | Professional Quantitative Trading Tools 
 Version:  1.0
 Last Updated:  2025
 Pine Script:  v6
 License:  Open Source
 Not financial advice. Always DYOR
AVWAP+RSI Confluence — 1R TesterRSI + 1R ATR - Monthly P\&L (v4) 
WHAT THIS STRATEGY DOES (OVERVIEW)
* Pine strategy (v4) that combines a simple momentum trigger with a symmetric 1R ATR risk model and an on-chart Monthly/Yearly P\&L table.
* Momentum filter: trades only when RSI crosses its own SMA in the direction of the trend (price vs Trend EMA).
* Risk engine: exits use fixed 1R ATR brackets captured at entry (no drifting targets/stops).
* Accounting: the table aggregates percentage returns by month and year using strategy equity.
ENTRY LOGIC (LONGS & OPTIONAL SHORTS)
Indicators used:
* RSI(rsiLen) and its SMA: SMA(RSI, rsiMaLen)
* Trend filter: EMA(emaTrendLen) on price
Longs:
1. RSI crosses above its RSI SMA
2. RSI > rsiBuyThr (filters weak momentum)
3. Close > EMA(emaTrendLen)
Shorts (optional via enableShort):
1. RSI crosses below its RSI SMA
2. RSI < rsiSellThr
3. Close < EMA(emaTrendLen)
EXIT LOGIC AND RISK MODEL (1R ATR)
* On entry, snapshot ATR(atrLen) into atrAtEntry and the average fill price into entryPx.
* Longs: stop = entryPx - ATR \* atrMult; target = entryPx + ATR \* atrMult
* Shorts: mirrored.
* Stops and targets are posted immediately and remain fixed for the life of the trade.
POSITION SIZING AND COSTS
* Default position size: 25% of equity per trade (adjustable in Properties/inputs).
* Commission percent and a small slippage are set in strategy() so backtests include friction by default.
MONTHLY / YEARLY P\&L TABLE (HOW IT WORKS)
* Uses strategy equity to compute bar returns: equity / equity\  - 1.
* Compounds bar returns into current month and current year; commits each finished period at month/year change (or last bar).
* Renders rows as years; columns Jan..Dec plus a Year total column.
* Cells colored by sign; precision and maximum rows are controlled by inputs.
* Values represent percentage returns, not currency P\&L.
VISUAL AIDS
* Two pivot trails (pivot high/low) are plotted for context only; they do not affect entries or exits.
CUSTOMIZATION TIPS
* Raise rsiBuyThr (long) or lower rsiSellThr (short) to filter weak momentum.
* Increase emaTrendLen to tighten trend alignment.
* Adjust atrLen and atrMult to fit your timeframe/instrument volatility.
* Leave enableShort = false if you prefer long-only behavior or shorting is constrained.
NON-REPAINTING AND BACKTEST NOTES
* Signals use bar-close crosses of built-in indicators (RSI, EMA, ATR); no future bars are referenced.
* calc\_on\_every\_tick = true for responsive visuals; Strategy Tester evaluates on bar close in history.
* Backtest stop/limit fills are simulated and may differ from live execution/liquidity.
DISCLAIMERS
* Educational use only. This is not financial advice. Markets involve risk. Past performance does not guarantee future results.
INPUTS (QUICK REFERENCE)
* rsiLen, rsiMaLen, rsiBuyThr, rsiSellThr
* emaTrendLen
* atrLen, atrMult, enableShort
* leftBars, rightBars, prec, showTable, maxYearsRows
SHORT TAGLINE
RSI momentum with 1R ATR brackets and a built-in Monthly/Yearly P\&L table.
TAGS
strategy, RSI, ATR, trend, risk-management, backtest, Pine-v4
PumpC ATR Line LevelsPumpC ATR Line Levels 
 Overview 
PumpC ATR Line Levels is a volatility-based indicator that projects potential expansion levels from the previous session’s close using the Average True Range (ATR). This tool builds upon the  Previous OHLC  framework created by  Nephew_Sam_  by extending its session-handling logic and adding ATR-based levels, statistical tracking, and flexible visualization options.
 How It Works 
 
 Calculates ATR from a user-selectable higher timeframe (default: Daily).
 Projects levels above and below the previous session’s close (or current close when preview mode is enabled).
 Supports up to 5 ATR multiples, each with independent toggles, colors, and labels.
 Optionally displays only the most recent ATR session for clarity.
 Includes a data table tracking how often ATR levels are reached or closed beyond.
 
 Features 
 
 Configurable ATR timeframe and length (default: 21).
 Default multiples: 0.30, 0.60, 0.90; optional: 1.236, 2.00.
 Toggle for preview mode (using current close vs. locked prior session close).
 Customizable line style, width, colors, and label placement.
 Visibility filter to show only on chart TF ≤ 60 minutes.
 Session statistics table with counts and percentages of level interactions.
 
 Use Cases 
 
 Identify intraday expansion targets or stop placement zones based on volatility.
 Evaluate historical tendencies of price respecting or breaking ATR bands.
 Support volatility-adjusted trade planning with statistical validation.
 
 Acknowledgment 
This script was developed on top of the  Previous OHLC  indicator by  Nephew_Sam_ , with major modifications to implement ATR-driven levels, extended statistics, and customizable table output.
 Notes 
 
 This indicator does not generate buy/sell signals.
 Best applied to intraday charts anchored to a higher-timeframe ATR.
 Keep charts clean and avoid non-standard bar types when publishing.
BTC Sigma CloudOverview 
The BTC Sigma Cloud indicator calculates and displays 1, 2, and 3 sigma price movements for Bitcoin (BTC) on a rolling basis, visualized as a cloud. It shows historical volatility bands and projects them forward for the next 7 days.
 Settings: 
Vol Lookback: Default is 20 periods. Adjust to change the volatility calculation window.
 Interpretation: 
Cloud Bands: The cloud consists of three shaded layers representing 1σ, 2σ, and 3σ moves above and below the current price.
1σ (Innermost): 68% probability of price staying within this range.
2σ (Middle): 95% probability.
3σ (Outermost): 99.7% probability.
Historical View: The cloud tracks past price movements based on volatility.
Projection: The cloud extends 7 days forward, indicating potential price ranges based on current volatility.
Labels: Subtle labels (1σ, -1σ, 2σ, -2σ, 3σ, -3σ) mark the upper and lower bounds of each sigma level on the latest bar for clarity.
Trading Use:
Use the cloud to gauge potential support/resistance zones.
Monitor price behavior near sigma levels for breakout or reversal signals.
The projected cloud helps anticipate future price ranges for planning trades.
Notes
Best used on daily charts for Bitcoin.
Adjust the lookback period to suit shorter or longer-term analysis.
Combine with other indicators for confirmation.
HalfTrend Histogram (MTF)This indicator shows the halftrend on a histogram (rather than a line on the chart) and has an option for Multi timeframe (MTF).
It uses the logic of the original halftrend coded by Everget. 
The halftrend is a trend-following indicator that uses volatility to to determine change in bias.
ROV - Rising Only VolumeROV - Rising Only Volume
It will show the volume only if it is above the previous period
Multi-Session High/Low Trackertable that shows rth eth and full weekly range high and low with range difference from high and low






















