Moving Average ProjectionDisplays 2-5 moving averages (solid lines) and projects their future trajectory (dashed lines) based on current trend momentum. This helps you anticipate where key MAs are heading and identify potential future support/resistance levels.
Important: Projections show where MAs would move IF the current trend continues—they're not predictions. Market conditions change, so use projections as planning tools, not trading signals.
General Settings
Number of MAs (2-5) controls how many moving averages display on your chart. Start with 2-3 to avoid clutter. Projection Bars (1-100) determines how far into the future to project—use 10-20 for intraday charts and 20-40 for daily charts. Lookback for Slope (2-100) sets the number of bars used to calculate trend slope, where shorter lookbacks are more responsive and longer ones are smoother. The default of 20 works well for most situations.
Individual MA Settings (MA 1-5)
Each MA has four settings: Length sets the period for the MA (common values are 9, 20, 50, 100, and 200), Type lets you choose between SMA, EMA, WMA, HMA, VWMA, or RMA (EMA is most popular), Color sets the historical MA line color, and Projection Color sets the projected line color (usually a lighter or transparent version of the main color).
MA Types Quick Reference: EMA is most popular and responsive to recent prices. SMA gives equal weight to all periods and is the smoothest. HMA is very responsive with low lag. VWMA incorporates volume data.
Quick Setup Examples
Day Trading: 3 MAs (9/21/50 EMA), 10-15 projection bars, 10-15 lookback
Swing Trading: 2 MAs (50/200 EMA), 20-30 projection bars, 20 lookback
Scalping: 2 MAs (9/20 EMA), 5-10 projection bars, 5-10 lookback
How to Use
Trend Identification: An uptrend shows price above rising MAs with projections pointing up. A downtrend shows price below falling MAs with projections pointing down. Consolidation appears as flat MAs with horizontal projections.
Support & Resistance: Rising MA projections act as future dynamic support levels, while falling MA projections act as future dynamic resistance levels.
Anticipating Changes: Watch for projected MA crossovers before they happen. When projections converge, expect volatility or consolidation. Steep projections suggest unsustainable trends, so be cautious. Flat projections indicate ranging markets.
Trade Planning: Check the current trend using MA alignment, then look at projections to gauge trend continuation likelihood. Use projected MA levels for potential targets or stop placement.
Important Tips
When Projections Work Best: Projections are most reliable in stable trending markets with consistent momentum, low volatility environments, and away from major news events.
When to Be Cautious: Use caution during high volatility or choppy price action, around major economic releases, when projections show extreme or parabolic angles, and during trend transitions.
Combine With Other Analysis: Don't trade projections alone. Use them alongside price action, volume, support and resistance levels, and other indicators for confirmation.
Best Practices
Start with 2-3 MAs to avoid chart clutter. Match your projection and lookback bars to your trading timeframe. Use consistent color schemes for quick interpretation. Adjust settings as market conditions change. Always use proper risk management—projections are planning tools, not guarantees.
Troubleshooting
Projections not showing: Check that Projection Bars > 0 and you're viewing the most recent bar
Chart too cluttered: Reduce number of MAs or increase projection color transparency
Projections too volatile: Increase lookback bars or switch to EMA/SMA from HMA
Can't see certain MAs: Verify "Number of MAs" setting includes them (MA 3 won't show if set to 2)
지표 및 전략
Midnight ET + Daily H/L (vertical midnight + HL lines)This script provides midnight EST dividers for each day and marks each daily high and low during each True day. Credits go to my mentor ICT for the idea behind this script.
Elliott Wave Expert AdvisorElliott Wave Expert Advisor - Professional Wave Analysis Tool
OVERVIEW
--------
The Elliott Wave Expert Advisor is a comprehensive Pine Script indicator designed for TradingView that automates Elliott Wave analysis and generates high-probability trading signals. Built on Ralph Nelson Elliott's Wave Principle, this indicator identifies impulse wave patterns, validates them against strict Elliott Wave rules, and provides precise entry points with calculated risk management levels.
CORE FUNCTIONALITY
------------------
1. TREND DETECTION
- Dual Moving Average system (Fast/Slow MA)
- MACD confirmation for trend strength
- Automatic trend classification (Uptrend/Downtrend/Sideways)
- Only generates signals aligned with main trend
2. SWING POINT DETECTION
- Automatic pivot high/low identification
- Configurable sensitivity (lookback periods)
- Minimum swing size filtering to reduce noise
- ZigZag visualization connecting swing points
3. WAVE IDENTIFICATION
- 5-wave impulse pattern recognition (1-2-3-4-5)
- 3-wave corrective pattern detection (A-B-C)
- Wave labels displayed on chart
- Color-coded validation status (Blue = Valid, Orange = Pending)
4. ELLIOTT WAVE RULES VALIDATION
Strictly enforces three cardinal rules:
- Rule 1: Wave 2 never retraces more than 100% of Wave 1
- Rule 2: Wave 3 is never the shortest impulse wave
- Rule 3: Wave 4 never overlaps Wave 1 price territory
5. FIBONACCI ANALYSIS
- Automatic Fibonacci retracement calculations (23.6%, 38.2%, 50%, 61.8%, 78.6%)
- Fibonacci extension projections (100%, 161.8%, 261.8%)
- Wave 3 and Wave 5 target projections
- Fibonacci-based Take Profit levels
6. SIGNAL GENERATION
- Entry signals at Wave 2 completion (catch Wave 3)
- Entry signals at Wave 4 completion (catch Wave 5)
- Automatic Stop Loss placement below/above pivot points
- Multiple Take Profit targets (TP1 at 1.618 extension, TP2 at Wave 5 projection)
- Risk/Reward ratio calculation and filtering
- Minimum R:R threshold (default 1.5:1)
7. VISUAL ELEMENTS
- Pivot markers (H/L) showing swing highs and lows
- ZigZag lines connecting swing points
- Wave number labels (1-2-3-4-5) with validation colors
- Entry signal arrows (Green = BUY, Red = SELL)
- Stop Loss lines (Red dashed)
- Take Profit lines (Green dashed and dotted)
- Real-time status dashboard showing:
* Number of pivots detected
* Wave count progress (X/5)
* Pattern validation status
* Market trend direction
* Signal active status
* Helpful tips and guidance
OPTIMAL USAGE
-------------
• Timeframes: H1, H4, D1 (avoid M1-M5 due to noise)
• Markets: Forex majors (EUR/USD, GBP/USD), Gold (XAU/USD), Major Cryptocurrencies
• Market Conditions: Strong trending markets (avoid ranging/sideways conditions)
• Risk Management: Never risk more than 1-2% per trade
• Position Sizing: Based on calculated Stop Loss distance
CONFIGURATION PARAMETERS
------------------------
Trend Detection:
- MA Fast Period (default: 20)
- MA Slow Period (default: 50)
- MACD settings (12/26/9)
Swing Detection:
- Pivot Lookback Left/Right (default: 10/10, reduce to 5/5 for M15)
- Min Swing Size % (default: 0.1%, reduce to 0.05% for M15)
Wave Detection:
- Min Wave Size % (default: 0.5%, reduce to 0.2-0.3% for smaller timeframes)
Risk Management:
- SL Buffer % (default: 0.1%)
- TP1 Fibonacci Ratio (default: 1.618)
- Min Risk/Reward (default: 1.5)
Visualization:
- Toggle visibility for MAs, ZigZag, Wave Labels, Signals, SL/TP
- Customizable colors for all elements
- Optional trend background coloring
IMPORTANT NOTES
---------------
• Elliott Wave analysis is subjective - this indicator implements one specific interpretation
• Works best in trending markets; automatically suppresses signals in sideways conditions
• Signals are NOT repainting after pivot confirmation
• Not a "holy grail" - combine with other analysis and proper risk management
• Requires patience - quality setups are infrequent but high-probability
• Always backtest on historical data before live trading
ELLIOTT WAVE THEORY BACKGROUND
------------------------------
Elliott Wave Theory, developed by Ralph Nelson Elliott in the 1930s, proposes that market prices move in predictable wave patterns driven by investor psychology. An impulse wave consists of five sub-waves (three in the trend direction, two corrections), followed by a three-wave correction. This indicator automates the identification of these patterns and validates them against Elliott's original rules.
DISCLAIMER
----------
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own analysis and never trade with money you cannot afford to lose. The indicator provides signals based on technical analysis patterns and does not constitute financial advice.
VERSION
-------
v1.0 - Initial Release
Pine Script v5
Created: 2024
SUPPORT
-------
For detailed usage instructions, refer to the included documentation:
- usage_guide.md - Complete user manual with examples
- elliott_rules.md - Elliott Wave theory reference and implementation details
BB SPY Mean Reversion Investment StrategySummary
Mean reversion first, continuation second. This strategy targets equities and ETFs on daily timeframes. It waits for price to revert from a Bollinger location with candle and EMA agreement, then manages risk with ATR based exits. Uniqueness comes from two elements working together. One, an adaptive band multiplier driven by volatility of volatility that expands or contracts the envelope as conditions change. Two, a bias memory that re arms the same direction after any stop, target, or time exit until a true opposite signal appears. Add it to a clean chart, use the markers and levels, and select on bar close for conservative alerts. Shapes can move while the bar is open and settle on close.
Scope and intent
• Markets. Currently adapted for SPY, needs to be optimized for other assets
• Timeframes. Daily primary. Other frames are possible but not the default
• Default demo. SPY on daily
• Purpose. Trade mean reversion entries that can chain into a longer swing by splitting holds into ATR or time segments
Originality and usefulness
• Novelty. Adaptive band width from volatility of volatility plus a persistent bias array that keeps the original direction alive across sequential entries until an opposite setup is confirmed
• Failure modes mitigated. False starts in chop are reduced by candle color and EMA location. Missed continuation after a take profit or stop is addressed by the re arm engine. Oversized envelopes during quiet regimes are avoided by the adaptive multiplier
• Testability. Every module has Inputs and visible levels so users can see why a suggestion appears
• Portable yardstick. All risk and targets are expressed in ATR units
Method overview in plain language
The engine measures where price sits relative to Bollinger bands, confirms with candle color and EMA location, requires ADX for shorts(in our case long close since we use it currently as long only), and optionally requires a trend or mean reversion regime using band width percent rank and basis slope. Risk uses ATR for stop, target, and optional breakeven. A small array stores the last confirmed direction. While flat, the engine keeps a pending order in that direction. The array flips only when a true opposite setup appears.
Base measures
• Range basis. True Range smoothed over a user defined ATR Length
• Return basis. Not required
Components
• Bollinger envelope. SMA length and standard deviation multiplier. Entry is based on cross of close through the band with location bias
• Candle and EMA filter. Close relative to open and close relative to EMA align direction
• ADX gate for shorts. Requires minimum trend strength for short trades
• Adaptive multiplier. Band width scales using volatility of volatility so envelopes breathe with conditions
• Regime gate optional. Band width percent rank and basis slope identify trend or mean reversion regimes
• Risk manager. ATR stop, ATR target, optional breakeven, optional time exit
• Bias memory. Array stores last confirmed direction and re arms entries while flat
Fusion rule
Minimum satisfied gates count style. All required gates must be true. Optional gates are controlled in Inputs. Bias memory never overrides an opposite confirmed setup.
Signal rule
• Long setup when close crosses up through the lower band, the bar closes green, and close is above the long EMA
• Short setup when close crosses down through the upper band, the bar closes red, close is below the short EMA, and ADX is above the minimum
• While flat the model keeps a pending order in the stored direction until a true opposite setup appears
• IN LONG or IN SHORT describes states between entry and exit
What you will see on the chart
• Markers for Long and Short setups
• Exit markers from ATR or time rules
• Reference levels for entry, stop, and target
• Bollinger bands and optional adaptive bands
Inputs with guidance
Setup
• Signal timeframe. Uses the chart timeframe
• Invert direction optional. Flips long and short
Logic
• BB Length. Typical 10 to 50. Higher smooths more
• BB Mult. Typical 1.0 to 2.5. Higher widens entries
• EMA Length long. Typical 10 to 50
• EMA Length short. Typical 5 to 30
• ADX Minimum for short. Typical 15 to 35
Filters
• Regime Type. none or trend or mean reversion
• Rank Lookback. Typical 100 to 300
• Basis Slope Length and Threshold. Larger values reduce false trends
Risk
• ATR Length. Typical 10 to 21
• ATR Stop Mult. Typical 1.0 to 3.0
• ATR Take Profit Mult. Typical 2.0 to 5.0
• Breakeven Trigger R. Move stop to entry after the chosen multiple
• Time Exit. Minimum bars and extension when profit exceeds a fraction of ATR
Bias and rearm
• Bias flips kept. Array depth
• Keep rearm when flat. Maintain a pending order while flat
UI
• Show markers and levels. Clean defaults
Usage recipes
Alerts update in real time and can change while the bar forms. Select on bar close for conservative workflows.
Properties visible in this publication
• Initial capital 25000
• Base currency USD
• If any higher timeframe calls are enabled, request.security uses lookahead off
• Commission 0.03 percent
• Slippage 3 ticks
• Default order size method Percent of equity with value 5
• Pyramiding 0
• Process orders on close On
• Bar magnifier Off
• Recalculate after order is filled Off
• Calc on every tick Off
Realism and responsible publication
No performance claims. Costs and fills vary by venue. Shapes can move intrabar and settle on close. Strategies use standard candles only.
Honest limitations and failure modes
High impact releases and thin liquidity can break assumptions. Gap heavy symbols may require larger ATR. Very quiet regimes can reduce contrast in the mean reversion signal. If stop and target can both be touched inside one bar, outcome follows the TradingView order model for that bar path.
Regimes with extreme one sided trend and very low volatility can reduce mean reversion edges. Results vary by symbol and venue. Past results never guarantee future outcomes.
Open source reuse and credits
None.
Backtest realism
Costs are realistic for liquid equities. Sizing does not exceed five percent per trade by default. Any departure should be justified by the user.
If you got any questions please le me know
BTC Bull/Bear marketThis indicator plots the 350-period Simple Moving Average (SMA) calculated on the Daily ("D") timeframe.
he color of the SMA line is determined by the closing price of the 2-Week ("2W") timeframe.
1. It fetches the 350-day SMA value (`sma350_daily`).
2. It checks where the *last closed* 2-Week candle finished relative to this SMA line.
3. If the 2W candle closed *above* the 350 SMA, the line is colored GREEN.
4. If the 2W candle closed *below* the 350 SMA, the line is colored RED.
This helps to visualize the long-term trend (350 SMA) confirmed by a higher (2W) timeframe bias, using non-repainting logic (`close `) for the color signal.
RSI ValdeXEste indicador es una version del "Heikin Ashi RSI Oscillator" se han modificado los parametros originales para que solo se observe la linea RSI. El creador original es JayRogers.
--------------------
This indicator is a modified version of the "Heikin Ashi RSI Oscillator," with the original parameters displayed only on the RSI line. The original creator is JayRogers.
TTM Squeeze MTF DashboardThis indicator is a multi-timeframe (MTF) powerhouse for spotting breakout trades: It blends TTM Squeeze volatility, momentum oscillator (MOM), EMA trend stacks, MACD histogram expansion, and a "Green Count" (GC) tracker for post-squeeze timing. Perfect for day traders hunting confluence across TFs (e.g., 5m/15m/1H) to enter longs on lower timeframes (LTF) when signals align bullish.1. Quick OverviewCore Features:Dashboard Table: Real-time status for 3 user-defined TFs (defaults: 5m, 15m, 1H).
Rows: MOM (momentum), EMA (trend stack), MACD (histogram expansion), SQZ (volatility), GC (breakout counter), + optional GC MOM.
Plots: MOM histogram + GC line below price for visual confirmation.
Alerts: Triggers on full bullish/bearish alignment (positive/negative MOM + EMA stack + GC ≤3).
Edge: Filters noise with MTF alignment—wait for the table to "light up" (2+ TFs green/aqua) for high-conviction entries.
Best Use: Liquid markets (stocks, forex, crypto). Chart on LTF (e.g., 5m) for entries, use HTF for bias.
2. Installation & AccessOpen TradingView > Load a chart (e.g., AAPL on 5m).
Click Indicators (top toolbar) > Search "TTM Squeeze MTF Dashboard".
Add to chart—table appears top-right (customizable).
Pro Tip: Pin to favorites for quick access. Save chart layouts to preserve settings.
If editing: Right-click indicator > "Edit Pine Script" (open-source code available).3. Customizing SettingsGear icon (next to indicator name) > Adjust groups:Multi-Timeframe SettingsTF1/2/3: Set your scales (e.g., 1m/5m/15m for scalps; 15m/1H/4H for swings).
EMA SettingsLengths: 8/21/55/200 (Fib-tuned for trend).
Colors: Green (bull stack), Red (bear), Gray (neutral).
MACD SettingsLengths: 12/26/9 (standard).
Colors: Green (up-expansion: bull building), Red (down: bear building), Gray (retracting: pause).
Table Colors & DisplayGC Colors: Customize highlights for low GC + momentum.
Histogram Color: MOM shades (aqua/blue positive; red/yellow negative).
Squeeze Dot Color: Green (no squeeze), Black (low), Red/Orange (compression).
Toggles: Show/hide rows (e.g., disable SQZ for cleaner view).
Position/Size: Top-right default; tweak text color/size.
OtherSqueeze Length: 20 (BB/KC base).
Multipliers: BB=2.0, KC=1.0/1.5/2.0 (vol bands).
Hit OK—updates live. Defaults work great out-of-box.4. Reading the Table5 columns: Label | TF1 | TF2 | TF3 | Spacer.
Colors = signals; text = TF labels or GC numbers. Default order: MOM > EMA > MACD > SQZ > GC MOM > GC.Row
Purpose
Bullish (Green/Aqua)
Bearish (Red/Yellow)
Neutral (Gray)
MOM
Momentum flow.
Aqua (rising positive: strong bull).
Blue (falling positive: bull slowing).
Red (rising negative: bear easing).
Yellow (falling negative: deep bear).
N/A.
EMA
Trend stack (short > long EMAs).
Green: Ascending (with trend).
Red: Descending (against).
Mixed.
MACD
Histogram expansion.
Green: Positive & growing (momentum surge).
Red: Negative & shrinking (bear surge).
Flat/retracting (avoid).
SQZ
Volatility compression.
Green: No squeeze (expanding).
Black: Low (mild coil).
N/A.
Red: Medium.
Orange: High (wait).
GC MOM (Opt.)
GC ≤3 + positive MOM.
Aqua/Blue: Entry sweet spot.
N/A.
No match.
GC
Bars since last red squeeze.
MOM color if ≤3 (breakout now!). Text: Count (e.g., "2").
N/A.
>3 (wait).
Bullish Light-Up: 2+ TFs green/aqua on MOM/EMA/MACD + SQZ green/black + GC ≤3 = Long setup.5. Chart PlotsMOM Histogram: Colored bars (aqua = buy pressure)—confirms table.
GC Line: Purple, rising from 0—≤3 signals volatility release.
6. Alerts SetupRight-click chart > Add Alert > Select indicator.
Pick: "Bullish Alignment TF1" (e.g., for 5m).
Message: "Long {{ticker}}—MOM+/EMA Up/GC≤3 on TF1!"
Once Per Bar to avoid noise.
Bullish: Positive MOM + up EMA + low GC (long entry).
Bearish: Negative MOM + down EMA + low GC (short).
7. Trading FrameworkBias Check: HTF EMA green + SQZ release.
Confluence: Table aligns bullish (alert fires).
LTF Entry: On 5m, buy close above EMA8 (or dip to it). SL below swing low (1-2% risk).
Manage: Trail on MACD gray or GC reset. TP: 1.5-2:1 RR.
Avoid: Choppy news; <2 TF alignment.
Example: Alert on TF2 (15m). Switch to 5m: MOM aqua, price bounces EMA—long.Backtest Tip: Convert to strategy script for stats (55-65% win rate on aligns).
MPO4 Lines – Modal Engine█ OVERVIEW
MPO4 Lines – Modal Engine is an advanced multi-line modal oscillator for TradingView, designed to detect momentum shifts, trend strength, and reversal points through candle-based pressure analysis with multiple fast lines and a reference slow line. It features divergence detection on Fast Line A, overbought/oversold return signals, dynamic coloring modes, and layered gradient visualizations for enhanced clarity and decision-making.
█ CONCEPT
The indicator is built upon the Market Pressure Oscillator (MPO) and serves as its expanded evolution, aimed at enabling broader market analysis through multiple lines with varying parameters. It calculates modal pressure using candle body size and direction, weighted against average body size over a lookback period, then normalized and smoothed via EMA. It generates four distinct oscillator lines: a heavily smoothed Slow Line (trend reference), two Fast Lines (A & B) for momentum and support/resistance, and an optional Line 4 for additional confirmation. Divergence is calculated solely on Fast Line A, with visual gradients between lines and bands for intuitive interpretation.
█ WHY USE IT?
- Multi-Layer Momentum: Combines slow trend reference with dual fast lines for precise entry/exit timing.
- Divergence Precision: Bullish/bearish divergences on Fast Line A with labeled confirmation.
- OB/OS Return Signals: Clear buy/sell markers when Fast Line A exits oversold/overbought zones.
- Dynamic Visuals: Gradient fills, line-to-line shading, and band gradients for instant market state recognition.
- Flexible Coloring: Slow Line color by direction or zero-position; fast lines by sign.
- Full Customization: Independent lengths, smoothing, visibility, and transparency — by adjusting the lengths of different lines, you can tailor results for various strategies; for example, enabling Line 4 and tuning its length allows trading based on crossovers between different lines.
█ HOW IT WORKS?
- Candle Pressure Calculation: Body = math.abs(close - open); avgBody = ta.sma(body, len). Direction = +1 (bull), –1 (bear), 0 (neutral). Weight = body / avgBody. Contribution = direction × weight.
- Rolling Sum & Normalization: Sums contributions over lookback, normalizes to ±100 scale (÷ (len × 2) × 100).
Smoothing: Applies primary EMA (smoothLen), with extra EMA on Slow Line for stability.
Line Structure:
- Slow Line = calcCPO(len1=20, smoothLen1=5) → extra EMA (5)
- Fast Line A = calcCPO(len2=6, smoothLen2=7)
- Fast Line B = calcCPO(len3=6, smoothLen3=10)
- Line 4 = calcCPO(len4=14, smoothLen4=1)
Divergence Detection: Uses ta.pivothigh/low on price and Fast Line A (pivotLength left/right). Bullish: lower price low + higher osc low. Bearish: higher price high + lower osc high. Valid within 5–60 bar window.
Signals:
- Buy: Fast Line A crosses above oversold (–30)
- Sell: Fast Line A crosses below overbought (+30)
- Slow Line color flip (direction or zero-cross)
- Divergence labels ("Bull" / "Bear")
- Band Coloring as Momentum Signal:
When Fast Line A ≤ Fast Line B → Overbought band turns red (bearish pressure building)
When Fast Line A > Fast Line B → Oversold band turns green (bullish pressure building) This dynamic coloring serves as visual confirmation of momentum shift following fast line crossovers
Visualization:
- Gradients: Fast B → Zero (multi-layer fade), Fast A ↔ B fill, OB/OS bands
- Dynamic colors: Green/red based on sign or trend
- Zero line + dashed OB/OS thresholds
Alerts: Trigger on OB/OS returns, Slow Line changes, and divergences.
█ SETTINGS AND CUSTOMIZATION
- Line Visibility: Toggle Slow, Fast A, Fast B, Line 4 independently.
Line Lengths:
- Slow Line: Base (20), Primary EMA (5), Extra EMA (5)
- Fast A: Lookback (6), EMA (7)
- Fast B: Lookback (6), EMA (10)
- Line 4: Lookback (14), EMA (1)
- Slow Line Coloring Mode: “Direction” (trend-based) or “Position vs Zero”.
- Bands & Thresholds: Overbought (+30), Oversold (–30), step 0.1.
- Signals: Enable Fast A OB/OS return markers (default: on).
- Divergence: Enable/disable, Pivot Length (default: 2, min 1).
- Colors & Appearance: Full control over bullish/bearish hues for all lines, zero, bands, divergence, and text.
Gradients & Transparency:
- Fast B → Zero: 75 (default)
- Fast A ↔ B fill: 50
- Band gradients: 40
- Toggle each gradient independently
█ USAGE EXAMPLES
The indicator allows users to configure various strategies manually, though no built-in alerts exist for them. Entry signals can include color of fast lines, crossovers between different lines, alignment of colors across lines, or consistency in direction.
- Trend Confirmation: Slow Line above zero + green = bullish bias; below + red = bearish.
- Entry Timing: Buy on Fast A crossing above –30 (circle marker), especially if Slow Line is rising or near zero.
- Reversal Setup: Bullish divergence (“Bull” label) + Fast A in oversold + green gradient band = high-probability long.
- Scalping: Fast A vs Fast B crossover in direction of Slow Line trend.
- Noise Reduction: Increase extraSmoothLen on Slow Line
█ USER NOTES
- Best combined with volume, support/resistance, or trend channels.
- Adjust lookback and smoothing to asset volatility.
- Divergence delay = pivotLength; plan entries accordingly.
Earnings Lines Vertical – All Grey This provides a vertical grey line for prior earnings dates and also for any confirmed (not estimated) future earnings date
ADX Trend Strength Filter + TRAMA [DotGain]Summary
Are you tired of trading trend signals, only to get stopped out in volatile, sideways chop?
The ADX Trend Strength Filter (ADX TSF) is designed to solve this exact problem. It is a comprehensive trend-following system that only generates signals when a trend not only has the right direction and momentum, but also sufficient strength.
This indicator filters out weak or indecisive market phases (the "chop") and will only color the bars Green or Red when all conditions for a strong, confirmed trend are met.
⚙️ Core Components and Logic
The ADX TSF relies on a triple-filter logic to generate a clear trade signal:
Trend Filter (TRAMA): A TRAMA (Trending Adaptive Moving Average) is used as the main trendline. This adaptive average automatically adjusts to market volatility, acting as a dynamic support/resistance level.
Price > TRAMA = Bullish
Price < TRAMA = Bearish
Momentum Filter (RSI Crossover): Momentum is measured by a crossover of two moving averages of the RSI (a fast EMA and a slow SMA). This confirms whether the momentum is pointing in the same direction as the trend.
Strength Filter (ADX): This is the most important filter. A signal is only considered valid if the ADX (Average Directional Index) is above a defined threshold (Default: 30). This ensures the trend has sufficient strength.
🚦 How to Read the Indicator
The indicator has three states, displayed directly as bar colors on your chart:
🟩 GREEN BARS (Strong Uptrend) All three conditions are met:
Price is above the TRAMA.
RSI momentum is bullish (Fast MA > Slow MA).
ADX is above 30 (Strong trend is present).
🟥 RED BARS (Strong Downtrend) All three conditions are met:
Price is below the TRAMA.
RSI momentum is bearish (Fast MA < Slow MA).
ADX is above 30 (Strong trend is present).
🟧 ORANGE BARS (Neutral / Caution) This state appears if any of the following conditions are true:
Weak Trend: The ADX is below 30. The market is in consolidation or a sideways phase. (This is the primary filter!)
Indecision: The price is caught in the "Neutral Zone" between the TRAMA and the 200 SMA.
Visual Elements
Bar Colors: (Green/Red/Orange) Show the current trend status.
TRAMA (Orange Line): Your primary adaptive trendline.
200 SMA (White Line): Serves as a reference for the long-term trend.
Orange Background (Fill): Fills the area between the TRAMA and SMA to visually highlight the "Neutral Zone."
Key Benefit
The goal of the ADX TSF is to keep traders out of weak, unpredictable markets and help them participate only in strong, momentum-confirmed trends.
Have fun :)
Disclaimer
This "Buy The F*cking Dip" (BTFD) indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
The signals generated by this tool (both "Buy" and "Sell") are the result of a specific set of algorithmic conditions. They are not a direct recommendation to buy or sell any asset. All trading and investing in financial markets involves substantial risk of loss. You can lose all of your invested capital.
Past performance is not indicative of future results. The signals generated may produce false or losing trades. The creator (© DotGain) assumes no liability for any financial losses or damages you may incur as a result of using this indicator.
You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR) and consider your personal risk tolerance before making any trades.
Multi-Method Candle Repainter by Mustang Algo# 🎯 Candle Repainter - Price Direction by Mustang Algo
## Overview
A powerful and intuitive indicator that repaints candles in real-time based on price direction detection. This tool helps traders quickly identify market trends by coloring candles according to bullish, bearish, or neutral momentum using multiple proven technical analysis methods.
## 🌟 Key Features
### 5 Detection Methods
Choose from multiple sophisticated algorithms to detect price direction:
1. **EMA Trend** - Compares price against Exponential Moving Average with momentum confirmation (price above EMA + upward movement)
2. **Price vs SMA** - Classic crossover method using Simple Moving Average (price position relative to SMA)
3. **Momentum** - Pure momentum-based detection for aggressive signals (rate of price change)
4. **Higher High/Lower Low** - Structure-based analysis identifying swing points and price patterns
5. **Supertrend** - Popular ATR-based trend following system for reliable trend identification
### Visual Features
- 🟢 **Green Candles** - Bullish trend detected
- 🔴 **Red Candles** - Bearish trend detected
- ⚪ **Gray Candles** - Neutral/indecisive market
- 🔺 **Triangle Signals** - Mark trend changes (optional, clean by default)
- 📊 **Background Coloring** - Subtle background highlighting for zones
- 📈 **Overlay Indicators** - Display the chosen MA/Supertrend line for reference
### Smart Signal System
- **Default Mode**: Shows triangles ONLY on trend changes (cleaner charts, less noise)
- **All Candles Mode**: Display signals on every bullish/bearish candle (more aggressive)
- Fully customizable signal visibility
- Real-time statistics dashboard
## ⚙️ Customizable Parameters
### Method-Specific Settings
- **EMA Length** (default: 20) - For EMA Trend method - adjust based on your timeframe
- **SMA Length** (default: 50) - For Price vs SMA method - classic period for trend detection
- **Momentum Period** (default: 14) - For Momentum method - sensitivity control
- **HH/LL Lookback** (default: 10) - For Higher High/Lower Low method - swing detection range
- **ATR Period** (default: 10) - For Supertrend method - volatility measurement period
- **ATR Multiplier** (default: 3.0) - For Supertrend method - trend sensitivity control
### Visual Controls
- Toggle signal display on/off
- Choose between change signals or all candles
- Background highlighting control
- Clean, minimalist interface
## 📊 Real-Time Dashboard
A compact information table displays:
- Current trend direction (BULLISH 🔼 / BEARISH 🔽 / NEUTRAL ➡️)
- Active detection method
- Creator credit (Mustang Algo)
- Real-time status updates
## 🔔 Built-in Alerts
Set up automated alerts for:
- Bullish trend changes - "Switch to BULLISH trend"
- Bearish trend changes - "Switch to BEARISH trend"
- Get notified on any device when market direction changes
## 💡 How to Use
### For Day Traders
- Use **EMA Trend** with shorter periods (10-20)
- Enable "Show on all candles" for continuous feedback
- Combine with volume for confirmation
- Best on 5m-15m timeframes
### For Swing Traders
- Use **Supertrend** or **Price vs SMA** with longer periods (50-200)
- Keep default "changes only" mode for cleaner entries
- Perfect for multi-timeframe analysis
- Best on 1H-4H-Daily timeframes
### For Scalpers
- Use **Momentum** method for fastest signals
- Lower timeframes (1m-5m)
- Combine with support/resistance levels
- Quick entries on trend changes
### For Position Traders
- Use **Higher High/Lower Low** on higher timeframes
- Weekly or Daily charts
- Focus on structural changes in the market
## 🎨 Best Practices
1. **Multiple Timeframes**: Always confirm direction on a higher timeframe before entering
2. **Combine Methods**: Test different detection methods for your specific asset and timeframe
3. **Risk Management**: Always use stop-losses - don't rely solely on color changes
4. **Backtesting**: Test parameters on historical data before live trading
5. **Context Matters**: Use with support/resistance, volume, and market structure
6. **No Holy Grail**: This is a tool to assist your analysis, not a standalone trading system
## ⚠️ Important Notes
- This is a **repainting indicator** - signals may adjust as new price data arrives (by design for real-time trend following)
- Best used for **trend confirmation and direction bias**, not as standalone entry/exit signals
- Different methods work better in different market conditions (trending vs ranging)
- Always combine with proper risk management and position sizing
- No indicator is perfect - false signals can occur, especially in choppy/ranging markets
## 📈 Recommended Settings by Market
### Crypto (High Volatility)
- Method: **Supertrend**
- ATR Period: 10
- ATR Multiplier: 3.0
- Timeframe: 15m - 4H
- Works well in trending crypto markets
### Forex (Trending Markets)
- Method: **EMA Trend** or **Price vs SMA**
- Period: 20-50
- Timeframe: 1H - Daily
- Excellent for major pairs
### Stocks (Moderate Volatility)
- Method: **Higher High/Lower Low**
- Lookback: 10-15
- Timeframe: Daily - Weekly
- Great for swing trading stocks
### Indices (Clear Trends)
- Method: **Price vs SMA**
- SMA Length: 50-200
- Timeframe: 4H - Daily
- Classic trend following on indices
### Commodities
- Method: **Supertrend**
- ATR Period: 10-14
- Timeframe: 1H - Daily
- Adapts well to commodity volatility
## 🚀 Quick Start Guide
1. Add indicator to your chart
2. Select your preferred detection method from the dropdown
3. Adjust parameters based on your timeframe and market
4. Observe candle colors for trend direction
5. Look for triangle signals on trend changes
6. Set up alerts for automated notifications
7. Combine with your existing trading strategy
## 🔧 Advanced Tips
- **Combining with other indicators**: Works great with RSI, MACD, or volume indicators
- **Filter false signals**: Use on higher timeframe to filter lower timeframe noise
- **Trend confirmation**: Wait for 2-3 consecutive colored candles before entry
- **Exit strategy**: Consider exiting when candle color changes or use fixed targets
- **Avoid ranging markets**: This indicator performs best in trending conditions
## 📚 Educational Value
This indicator teaches:
- How different technical methods identify trends
- The concept of trend following vs momentum trading
- The importance of trend direction in trading decisions
- How to combine multiple timeframes for better analysis
## 🏆 Credits
**Created by Mustang Algo**
Version 1.0 - November 2025
For the trader who values simplicity, clarity, and effective trend detection.
## 📞 Support & Feedback
If you find this indicator useful:
- Leave a comment with your feedback
- Share your results and optimal settings
- Suggest improvements or additional features
- Report any bugs or issues
---
## Tags
`trend` `candles` `repainter` `moving-average` `supertrend` `momentum` `signals` `alerts` `price-action` `trend-following` `daytrading` `swingtrading` `multi-method` `beginner-friendly`
## Category
**Trend Analysis / Candles**
## License
Open source - Free to use and modify for personal trading
---
*Remember: Trading involves risk. Always use proper risk management and never risk more than you can afford to lose. This indicator is a tool to assist your analysis, not financial advice.*
Midnight ET + Daily H/L True dayThis script divides each day from midnight EST to the next midnight opening price (True day). Full credits go to my mentor ICT for the idea behind the script
Paste Horizontal LinesThis script automictically will draw horizontal line for previous key Price Action levels. I created this script to facilitate line drawing process. I receive key price targets from a trading service for a few stocks every morning. I needed a fast way to lay them out. I copy and past and BAM! Unique situation I know, so you may or may have a need. So if you do it works perfectly. If you want changes let me know.
Stacked EMAs with Background & AlertsStacked EMAs with Background & AlertsThis indicator plots 5 customizable Exponential Moving Averages (EMAs) on your chart, perfect for spotting trend strength and reversals. Key Features:Flexible EMAs: Set lengths (defaults: 8, 21, 50, 100, 200), toggle visibility, and color each line individually for a clean, personalized ribbon.
Stack Detection: Highlights when all EMAs align—bullish (shortest > longest) or bearish (shortest < longest).
Dynamic Background: Fills the chart with a semi-transparent green tint on bullish stacks (trend up) or red on bearish (trend down), making alignment pop at a glance.
Smart Alerts: Get notified on stack formations/changes, plus key crossovers (e.g., short EMA over long for bull signals, medium over long for trend shifts).
How It Works for Trading: Use the stack backgrounds as your trend filter—go long on green fills with rising price, short on red. Alerts catch entries/exits early, reducing noise. Ideal for swing/day trading on any timeframe; pair with volume for confluence. Simple, no-repaint, and fully customizable!
BullTrader - ParabolicSARFlipSignals(NonRepainting)🧠 Concept & Purpose
This indicator isolates the confirmed trend‑change events produced by the Parabolic SAR and turns them into direct, non‑repainting trade signals.
Instead of plotting every SAR dot as a potential entry, it marks only the bars where price has closed across the SAR line, confirming a genuine flip from bullish → bearish or vice versa.
Each confirmed flip is displayed with a single triangle on the chart and can be connected to alerts.
The design is intentionally minimal: one simple but reliable algorithmic definition of “the trend just turned.”
⚙️ How It Works
1. The script calculates the standard Parabolic SAR value using the built‑in ta.sar() function.
2. When a candle closes above a SAR dot that was previously above price → uptrend starts (Buy Signal).
3. When a candle closes below a SAR dot that was previously below price → downtrend starts (Sell Signal).
4. Signals are confirmed only after the bar closes (barstate.isconfirmed), guaranteeing no repainting.
5. Each event can trigger an alert or simply serve as a visual reversal marker.
📈 Chart Elements
Element Description
🟠 Orange cross dots Standard Parabolic SAR trail.
🟢 Triangle below bar Confirmed SAR flip up → new bullish phase.
🔴 Triangle above bar Confirmed SAR flip down → new bearish phase.
Optional green/red background Highlights bars where a confirmed flip occurred.
🔔 Alerts
Use buySignalFinal for Buy alerts and sellSignalFinal for Sell alerts.
Set alerts to “Once per bar close” to match the non‑repainting confirmation logic.
📊 Best Use
* Identifying clear trend reversals.
* As an entry / exit overlay for manual trading.
* As a base signal for automated or alert‑driven systems.
This version keeps the indicator fast, reproducible, and completely non‑repainting — ideal for traders who prefer transparent and verifiable signals derived directly from Per J. Wilder’s original Parabolic SAR formula.
📋 Trading Checklist – Precision Entry SystemTake your trading discipline to the next level with this Precision Trading Checklist for TradingView. Designed for intraday traders following liquidity, structure, and Smart Money Concepts (SMC) AKA ICT Concepts, this overlay ensures you never miss a key confirmation before entering a trade.
Features:
✅ Pre-Market Preparation: Track previous session highs/lows, AM/PM sessions, and key liquidity zones.
✅ Bias & Narrative Check: Quickly confirm daily trend, price position relative to daily open, and higher timeframe confluence.
✅ Session-Specific Rules: Focused sessions like Silver Bullet (10:00–11:30), Afternoon (13:30–15:00), and Final Hour (15:00–16:00).
✅ Structure & Setup Validation: Confirm liquidity sweeps, market structure shifts, expansion candles, fair value gaps, and order blocks.
✅ Risk Management Reminders: Stop-loss, target points, risk percentage, breakeven management, and pyramiding rules.
✅ Post-Trade Journaling: Document entries, session, setup type, trade outcome, and grading for continuous improvement.
✅ Golden Rules: Visual reminders to enforce discipline, avoid emotional trades, and respect session limits.
Why Use It:
This checklist is perfect for traders who want to stay consistent, minimise mistakes, and follow a disciplined routine. Displayed as an overlay on your chart, it provides all essential checks in one glance, keeping you focused on the setup rather than scrolling through notes or separate trackers.
How to use:
Add the indicator to your chart
Click the settings/gear icon
Check off items as you complete them
The checklist on your chart updates in real-time with green checkmarks!
The checkboxes will persist as long as the indicator is on your chart,
making it perfect for tracking your pre-trade and post-trade routines!
Follow the checklist items step by step before entering trades.
Use the session-specific guidelines to filter setups.
Journal your trades post-execution for growth and analysis.
ROC & Momentum FusionROC & Momentum Fusion
(by HabibiTrades ©)
Purpose:
“ROC & Momentum Fusion” combines the Rate of Change (ROC) with a MACD-style signal engine to identify early momentum reversals, confirmed trend shifts, and low-volatility choppy zones.
It’s built for traders who want early momentum detection with the clarity of trend persistence — adaptable to any instrument and timeframe.
⚙️ How It Works
Rate of Change (ROC):
Measures the percentage speed of price change over time, showing the raw momentum strength.
Signal Line (EMA):
A short EMA of the ROC — responds faster to new directional shifts, similar to a MACD signal line.
Histogram:
Displays acceleration and deceleration between the ROC and its signal line.
Persistent Trend States:
When the ROC crosses the signal line or zero, the indicator enters a new momentum regime
(bullish or bearish) and stays in that color until another flip occurs.
Dynamic Choppy Zone:
When ROC momentum fades within the zero buffer zone, the indicator turns orange, signaling a sideways or indecisive market.
🟢 Visual Regimes
Regime Description Color
Bullish Momentum ROC above zero or signal line 🟢 Neon Green
Bearish Momentum ROC below zero or signal line 🔴 Neon Red
Choppy / Neutral ROC hovering within ±threshold range 🟠 Neon Orange
This color system makes it visually effortless to see whether the market is trending, reversing, or consolidating.
🧭 Adaptive Intelligence
The script automatically adjusts to market type and session for consistent accuracy:
Session Adaptive: Adjusts smoothing based on global sessions (Asian, London, New York, Sydney).
Instrument Adaptive: Fine-tunes sensitivity automatically for major assets — NASDAQ (NQ), S&P 500 (ES), Gold (GC), Oil (CL), Bitcoin (BTC).
Volatility Normalization: Optionally divides ROC by its own standard deviation to stabilize noisy assets and maintain consistent scaling.
🔔 Signals & Alerts
Bullish Reversal:
ROC crosses above its signal or zero line — early momentum flip.
Bearish Reversal:
ROC crosses below its signal or zero line — downward momentum flip.
Alerts:
Both reversal conditions include built-in alert triggers for automation and notifications.
🎨 Visual Features
Main ROC Line: Adaptive EMA of ROC, color-coded by trend regime.
Signal Line: Optional white EMA overlay for MACD-style crossovers.
Histogram: Visual burst display of acceleration (green/red).
Reversal Markers: Optional triangles marking exact crossover points.
Threshold Lines: Highlight the zero and buffer zones for visual clarity.
🧩 Best Use Cases
Identify early momentum shifts before price confirms them.
Confirm trend continuation or exhaustion with color persistence.
Detect choppy / low-volatility periods instantly.
Works across all timeframes — from 1-minute scalping to weekly swings.
Combine with structure, EMAs, or volume for confirmation.
⚙️ Recommended Settings
Setting Default Description
ROC Period 6 Core momentum length (lower = faster response).
Signal EMA Length 3 MACD-style responsiveness (lower = more reactive).
Zero Buffer Threshold 0.15 Defines the width of the neutral zone around zero.
Choppy Zone Multiplier 1.0 Expands or tightens the orange zone sensitivity.
These defaults have been optimized through real-market testing to balance responsiveness and smoothness across different asset classes.
⚠️ Notes
The color regime is persistent, meaning once the line turns bullish or bearish, it remains in that state until momentum structurally flips.
The orange zone represents momentum uncertainty and helps avoid false entries in range-bound markets.
Works seamlessly on any timeframe and with any asset.
Victoria Overlay - HTF 200 + VWAP + ATR Stop + MA TrioConsolidated road to minions
Buy Setup:
EMA1 crosses above SMA3.
RSI confirms above 50.
Volume increasing (confirming momentum).
Candle closes above SMA1 base.
Sell Setup:
EMA1 crosses below SMA3.
RSI drops below 50 or exits overbought.
Volume confirms (declining or reversing).
Candle closes below SMA1 base.
Tips:
Think of EMA1 as the scalper’s trigger.
SMA3 is your momentum check.
SMA1 (base) = short-term bias.
Avoid entries during low-volume chop.
Use for day trades or tight scalps; exits happen fast.
Overlay (Smoothed Heikin Ashi + Swing + VWAP + ATR Stop + 200-SMA)
Purpose: Multi-layer trend confirmation + clean structure.
Type: Swing alignment tool.
🟩 BUY / CALL Conditions
Green “Buy (Gated)” arrow appears.
Price is above VWAP, above 200-SMA, and above ATR stop.
ATR stop (green line) sits under price → support confirmed.
Heikin-Ashi candles are green/lime.
Bias label says “Above VWAP | Above 200 | Swing Up”.
🟥 SELL / PUT Conditions
Red “Sell (Gated)” arrow appears.
Price is below VWAP, below 200-SMA, and below ATR stop.
ATR stop (red line) sits above price → resistance confirmed.
Heikin-Ashi candles are red.
Bias label says “Below VWAP | Below 200 | Swing Down”.
Exit / Risk Control:
Close position when price crosses ATR stop.
If Heikin candles flip color, momentum is reversing.
Best Use Cases:
For next-day or multi-hour swing entries.
Use ATR Stop for dynamic stop loss.
Stay out when the bias label is mixed (e.g. “Above VWAP | Below 200 | Swing Down”).
Pro Tip:
On big news days, let VWAP reset post-open before acting on arrows — filters fake signals.
RSI Panel Pro (v6)
Purpose: Strength + exhaustion confirmation.
Type: Momentum filter.
Key Levels:
Overbought: 80+ → take profits soon.
Oversold: 20– → watch for bounce setups.
Bull regime: RSI above 60 = momentum strong.
Bear regime: RSI below 40 = weakness.
Buy / Entry Signals:
RSI crosses up from below 40 or 20.
RSI line is above RSI-EMA (gray line).
Higher timeframe RSI (if used) is also rising.
Trim / Exit:
RSI drops under 60 after being strong.
RSI crosses below its EMA.
Sell / Put Setup:
RSI fails at 60 or drops below 40.
RSI crosses under EMA after a bounce.
Tips:
Pair RSI panel with Victoria Overlay — only take gated buys when RSI confirms.
RSI < 40 but above 20 = “loading zone” for reversals.
RSI > 70 = overextended → wait for confirmation before entering.
Combined Execution Rules
Goal What to Watch Action
Entry (CALL) EMA1 > SMA3, Buy (Gated) arrow, RSI rising > 50 Buy call / open long
Entry (PUT) EMA1 < SMA3, Sell (Gated) arrow, RSI < 50 Buy put / open short
Exit Early Price crosses ATR stop or RSI flips under EMA Exit trade / protect gains
Trend Filter VWAP + 200-SMA alignment Only trade in that direction
Avoid Trades Conflicting bias label or low volume Stay flat
Pro Tips
VWAP → Intraday mean: above = bullish control, below = bearish control.
ATR Stop → Dynamic trailing stop: never widen it manually.
Smoothed Heikin-Ashi → filters noise: trend stays until color flips twice.
RSI Panel → confirms whether to hold through pullbacks.
If RSI and Overlay disagree — wait, not trade.
A+ Trade Checklist (Bullish + Bearish Mode + Alerts) – Fixed v61. Trend direction (EMA alignment)
2. Relative Strength vs SPY (is your stock stronger than the market?)
3. Volume confirmation
4. RSI strength
5. Candle momentum
SamRSIIts multiple timeframe RSI indicator
Second RSI indicator can be enabled or disabled up on the necessity
Second RSI indicator has the ability to set to a different timeframe
Perfect for all types of trade (Intraday, Positional, Short term and Long term)
OTHERS Power-Law Support 2025OTHERS Power-Law Calculation by Robert.
I took the BTC-Power-Law & Decay-Top and applied it to the OTHERS index.
This indicator is very experimental/in an early state.
Disclaimer: This is my own calculation and no investing advice! Use at your own risk.
RSI BandsPlots adaptive ATR bands around the 27-EMA to approximate RSI overbought and oversold zones directly on price. Provides a clean visual reference for RSI-like extremes without displaying the RSI itself.






















