TRAPPER TRENDLINES — PRICEDraws dynamic trendlines on price by connecting the two most recent confirmed swing points (highs to highs for resistance, lows to lows for support). Swings are defined with a symmetric left/right pivot window. Old anchors are ignored so lines stay attached to current structure. Optional break alerts are included.
How it works (plain language)
Pivots: A bar is a swing high (or low) only if it’s the most extreme point compared with a set number of bars on the left and the right.
Lines:
Support connects the last two confirmed swing lows.
Resistance connects the last two confirmed swing highs.
Lines can be extended right only or both left & right (toggle).
Recency filter: Only swings within the last N bars are kept. This avoids anchoring to very old pivots far from current price.
Alerts: Optional alerts fire when price closes above resistance or below support.
Inputs
Auto Settings
Auto pivot size by chart timeframe: When ON, the script picks a pivot size suitable for the current timeframe (you can scale it with Auto pivot multiplier). When OFF, the manual left/right inputs are used.
Auto pivot multiplier: Scales the auto pivot size (e.g., 1.5 makes pivots stricter).
Manual Pivots
Pivot Left / Pivot Right: Bars to the left/right required to confirm a swing. Example: Left=50 & Right=50 keeps only major swings.
Recency Filter
Use last N bars for pivots: Swings older than this window are discarded so trendlines stay relevant to current price.
Style
Support/Resistance color: Line colors.
Extend Left & Right: When ON, both endpoints extend; when OFF, lines extend to the right only.
Alerts
Enable Break Alerts: When ON, alert conditions are exposed:
Price: Break Up — close above resistance.
Price: Break Down — close below support.
Suggested settings
Higher timeframes (4H / 1D / 1W):
Manual: Pivot Left = 50, Pivot Right = 50, Use last N bars = 400–800.
Or enable Auto with Auto pivot multiplier = 1.0–1.5.
Intraday (15m / 30m / 1H):
Manual: Pivot Left = 30, Pivot Right = 30, Use last N bars = 300–500.
Or enable Auto with multiplier ≈ 1.0–1.2.
Pairing with RSI for confluence/divergence
This tool is designed to pair with a companion TRAPPER TRENDLINES — RSI (or any RSI trendline script):
To mirror swings, set RSI Pivot Lookback equal to the price Pivot Left/Right you use here.
Example: Price = 50/50 → RSI Pivot Lookback = 50.
Keep RSI at Length 14 with 70/30 channel for clarity.
Confluence: Price holds/rejects at a trendline while RSI trendline agrees.
Divergence: Price prints a higher high (resistance line rising) while RSI prints a lower high (RSI resistance line falling), or vice-versa for lows. Matching pivot windows makes these relationships clear and reduces false signals.
Reading the signals
Trendline touch/hold: Potential reaction area; wait for follow-through.
Break Up / Break Down (alerts): Close beyond the line. Consider retest behavior, higher-timeframe context, and volume/RSI confirmation.
Notes & limitations
Pivots require future bars to confirm (by design). Lines update as pivots confirm.
“Use last N bars” purposely ignores very old swings. Increase this value if you need legacy structure.
Lines are based on two most recent confirmed pivots per side; rapidly changing markets can replace anchors as new swings confirm.
This is a visual/analytical tool. No strategy entries/exits or performance claims are provided.
Compliance
This script is for educational purposes only and does not constitute financial advice. Trading involves risk. Past results do not guarantee future outcomes. No promises of profit, accuracy, or performance are made.
Alerts (titles/messages)
Price: Break Up — “Price broke above resistance trendline.”
Price: Break Down — “Price broke below support trendline.”
Quick start
Add the indicator to your chart.
Choose Auto or set Pivot Left/Right manually.
Set Use last N bars for how far back to consider swings.
Toggle Extend Left & Right to your preference.
(Optional) Add your RSI trendline indicator and match Pivot Lookback with your price pivot size for clean confluence/divergence.
Enable alerts if you want notifications on breaks.
การวิเคราะห์แนวโน้ม
Simplified Market ForecastSimplified Market Forecast Indicator
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Overview
The "Simplified Market Forecast" (SMF) indicator is a streamlined technical analysis tool designed for traders to identify potential buy and sell opportunities based on a momentum-based oscillator. By analyzing price movements relative to a defined lookback period, SMF generates clear buy and sell signals when the oscillator crosses customizable threshold levels. This indicator is versatile, suitable for various markets (e.g., forex, stocks, cryptocurrencies), and optimized for daily timeframes, though it can be adapted to other timeframes with proper testing. Its intuitive design and visual cues make it accessible for both novice and experienced traders.
How It Works
The SMF indicator calculates a momentum oscillator based on the price’s position within a specified range over a user-defined lookback period. It then smooths this value to reduce noise and plots the result as a line in a separate lower pane. Buy and sell signals are generated when the smoothed oscillator crosses above a user-defined buy level or below a user-defined sell level, respectively. These signals are visualized as triangles either on the main chart or in the lower pane, with a table displaying the current ticker and oscillator value for quick reference.
Key Components
Momentum Oscillator: The indicator measures the price’s position relative to the highest high and lowest low over a specified period, normalized to a 0–100 scale.
Signal Generation: Buy signals occur when the oscillator crosses above the buy level (default: 15), indicating potential oversold conditions. Sell signals occur when the oscillator crosses below the sell level (default: 85), suggesting potential overbought conditions.
Visual Aids: The indicator includes customizable horizontal lines for buy and sell levels, shaded zones for clarity, and a table showing the ticker and current oscillator value.
Mathematical Concepts
Oscillator Calculation: The indicator uses the following formula to compute the raw oscillator value:
c1I = close - lowest(low, medLen)
c2I = highest(high, medLen) - lowest(low, medLen)
fastK_I = (c1I / c2I) * 100
The result is smoothed using a 5-period Simple Moving Average (SMA) to produce the final oscillator value (inter).
Signal Logic:
A buy signal is triggered when the smoothed oscillator crosses above the buy level (ta.crossover(inter, buyLevel)).
A sell signal is triggered when the smoothed oscillator crosses below the sell level (ta.crossunder(inter, sellLevel)).
Entry and Exit Rules
Buy Signal (Blue Triangle): Triggered when the oscillator crosses above the buy level (default: 15), indicating a potential oversold condition and a buying opportunity. The signal appears as a blue triangle either below the price bar (if plotted on the main chart) or at the bottom of the lower pane.
Sell Signal (White Triangle): Triggered when the oscillator crosses below the sell level (default: 85), indicating a potential overbought condition and a selling opportunity. The signal appears as a white triangle either above the price bar (if plotted on the main chart) or at the top of the lower pane.
Exit Rules: Traders can exit positions when an opposite signal occurs (e.g., exit a buy on a sell signal) or based on additional technical analysis tools (e.g., support/resistance, trendlines). Always apply proper risk management.
Recommended Usage
The SMF indicator is optimized for the daily timeframe but can be adapted to other timeframes (e.g., 1H, 4H) with careful testing. It performs best in markets with clear momentum shifts, such as trending or range-bound conditions. Traders should:
Backtest the indicator on their chosen asset and timeframe to validate signal reliability.
Combine with other indicators (e.g., moving averages, support/resistance) or price action for confirmation.
Adjust the lookback period and buy/sell levels to suit market volatility and trading style.
Customization Options
Intermediate Length: Adjust the lookback period for the oscillator calculation (default: 31 bars).
Buy/Sell Levels: Customize the threshold levels for buy (default: 15) and sell (default: 85) signals.
Colors: Modify the colors of the oscillator line, buy/sell signals, and threshold lines.
Signal Display: Toggle whether signals appear on the main chart or in the lower pane.
Visual Aids: The indicator includes dotted horizontal lines at the buy (green) and sell (red) levels, with shaded zones between 0–buy level (green) and sell level–100 (red) for clarity.
Ticker Table: A table in the top-right corner displays the current ticker and oscillator value (in percentage), with customizable colors.
Why Use This Indicator?
The "Simplified Market Forecast" indicator provides a straightforward, momentum-based approach to identifying potential reversals in overbought or oversold markets. Its clear signals, customizable settings, and visual aids make it easy to integrate into various trading strategies. Whether you’re a swing trader or a day trader, SMF offers a reliable tool to enhance decision-making and improve market timing.
Tips for Users
Test the indicator thoroughly on your chosen asset and timeframe to optimize settings.
Use in conjunction with other technical tools for stronger trade confirmation.
Adjust the buy and sell levels based on market conditions (e.g., lower levels for less volatile markets).
Monitor the ticker table for real-time oscillator values to gauge market momentum.
Happy trading with the Simplified Market Forecast indicator!
CBT Model- Culture Pulse ProThis CBT Model helps trader to identify possible buying and selling opportunity . This is base on directional candle structure bias. NOTE: Not all the cbt signals are guaranteed to win, better to apply your approach and do not enter the cbt signals blindly.
Multi Timeframe Indian Stocks TrendsThis script, "Multi Timeframe Indian Stocks Trends," is designed for swing trading in the Indian stock market, with a specific focus on Nifty50. It provides a comprehensive view of trends across multiple timeframes: 1-hour, 4-hour, Daily, Weekly, and Monthly.
Key Features:
Multi-Timeframe Analysis: Gain insights into trends across 1H, 4H, D, W, and M timeframes, helping you make informed swing trading decisions.
Trend Calculation Methods: Choose between two popular trend calculation methods:
Supertrend: A widely used indicator that identifies trend direction and provides potential entry and exit points.
EMA (Exponential Moving Average): Utilizes the relationship between a fast and slow EMA to determine trend direction.
Customizable Trend Table: A clear and concise table displays the trend direction for each selected timeframe, making it easy to grasp the overall market sentiment.
Nifty50 Reference: The script is tailored for Indian stocks and includes a reference to Nifty50, allowing you to gauge the broader market trend.
Visual Customization: Adjust the colors of the trend table, background, and text to suit your preferences.
Adjustable Settings: Fine-tune the parameters for Supertrend (ATR Length, Factor) and EMA (Fast EMA, Slow EMA) to optimize the indicator for your trading style.
This script is ideal for traders who want to:
Identify swing trading opportunities in Indian stocks.
Confirm trends across various timeframes.
Utilize either Supertrend or EMA for trend analysis.
Have a quick and clear overview of market trends.
By providing a multi-timeframe perspective and customizable trend analysis, this script empowers traders to make more confident and well-informed swing trading decisions in the Indian stock market.
ECG Sanbot IndicatorNot my best but my first strategy to pass prop firms. Strength based signals. Change the length and repainting settings before setting alerts up.
First strategy to pass my prop firm. Change the tf and length to see reliable signals. Option to remove repainting if you want to set alerts. Not the best compared to my other scripts but will always get you in the green.
Core Logic
Calculates a double-smoothed EMA source on a higher timeframe (tf input).
Builds two RSI streams:
Repainting RSI (lookahead on) → reacts quickly to market changes.
Non-repainting RSI (lookahead off) → provides stable, confirmed values.
Computes the ECG difference between the two RSI streams.
Generates a buy signal when the ECG difference crosses above the upper threshold.
Generates a sell signal when the ECG difference crosses below the lower threshold.
Risk Management
Each trade uses a fixed trade size (trade_size).
Built-in stop-loss and take-profit controls:
Stop Loss: default 0.1% from entry price.
Take Profit: default 0.2% from entry price.
Both long and short entries are supported (direction selectable).
Customization Options
Adjustable timeframe (tf) for RSI source.
Fully configurable thresholds, lengths, and EMA smoothing.
Toggle between repainting vs. non-repainting behavior.
Backtest period controls (start and end date).
Visualization
Plots the ECG difference line in red.
Displays horizontal threshold lines for signal reference.
Pivot Points Strategy🟢 It enters long trades near support zones (S1–S3)
🔴 It enters short trades near resistance zones (R1–R3)
🎯 All positions aim to exit at the central pivot (P).
🚫 It avoids trading when price crosses the pivot during the bar.
🔄 Strategy resets when a new pivot is calculated.
📊 Supports pyramiding up to 5 positions for scaling in.
[blackcat] L2 Trend LinearityOVERVIEW
The L2 Trend Linearity indicator is a sophisticated market analysis tool designed to help traders identify and visualize market trend linearity by analyzing price action relative to dynamic support and resistance zones. This powerful Pine Script indicator utilizes the Arnaud Legoux Moving Average (ALMA) algorithm to calculate weighted price calculations and generate dynamic support/resistance zones that adapt to changing market conditions. By visualizing market zones through colored candles and histograms, the indicator provides clear visual cues about market momentum and potential trading opportunities. The script generates buy/sell signals based on zone crossovers, making it an invaluable tool for both technical analysis and automated trading strategies. Whether you're a day trader, swing trader, or algorithmic trader, this indicator can help you identify market regimes, support/resistance levels, and potential entry/exit points with greater precision.
FEATURES
Dynamic Support/Resistance Zones: Calculates dynamic support (bear market zone) and resistance (bull market zone) using weighted price calculations and ALMA smoothing
Visual Market Representation: Color-coded candles and histograms provide immediate visual feedback about market conditions
Smart Signal Generation: Automatic buy/sell signals generated from zone crossovers with clear visual indicators
Customizable Parameters: Four different ALMA smoothing parameters for various timeframes and trading styles
Multi-Timeframe Compatibility: Works across different timeframes from 1-minute to weekly charts
Real-time Analysis: Provides instant feedback on market momentum and trend direction
Clear Visual Cues: Green candles indicate bullish momentum, red candles indicate bearish momentum, and white candles indicate neutral conditions
Histogram Visualization: Blue histogram shows bear market zone (below support), aqua histogram shows bull market zone (above resistance)
Signal Labels: "B" labels mark buy signals (price crosses above resistance), "S" labels mark sell signals (price crosses below support)
Overlay Functionality: Works as an overlay indicator without cluttering the chart with unnecessary elements
Highly Customizable: All parameters can be adjusted to suit different trading strategies and market conditions
HOW TO USE
Add the Indicator to Your Chart
Open TradingView and navigate to your desired trading instrument
Click on "Indicators" in the top menu and select "New"
Search for "L2 Trend Linearity" or paste the Pine Script code
Click "Add to Chart" to apply the indicator
Configure the Parameters
ALMA Length Short: Set the short-term smoothing parameter (default: 3). Lower values provide more responsive signals but may generate more false signals
ALMA Length Medium: Set the medium-term smoothing parameter (default: 5). This provides a balance between responsiveness and stability
ALMA Length Long: Set the long-term smoothing parameter (default: 13). Higher values provide more stable signals but with less responsiveness
ALMA Length Very Long: Set the very long-term smoothing parameter (default: 21). This provides the most stable support/resistance levels
Understand the Visual Elements
Green Candles: Indicate bullish momentum when price is above the bear market zone (support)
Red Candles: Indicate bearish momentum when price is below the bull market zone (resistance)
White Candles: Indicate neutral market conditions when price is between support and resistance zones
Blue Histogram: Shows bear market zone when price is below support level
Aqua Histogram: Shows bull market zone when price is above resistance level
"B" Labels: Mark buy signals when price crosses above resistance
"S" Labels: Mark sell signals when price crosses below support
Identify Market Regimes
Bullish Regime: Price consistently above resistance zone with green candles and aqua histogram
Bearish Regime: Price consistently below support zone with red candles and blue histogram
Neutral Regime: Price oscillating between support and resistance zones with white candles
Generate Trading Signals
Buy Signals: Look for price crossing above the bull market zone (resistance) with confirmation from green candles
Sell Signals: Look for price crossing below the bear market zone (support) with confirmation from red candles
Confirmation: Always wait for confirmation from candle color changes before entering trades
Optimize for Different Timeframes
Scalping: Use shorter ALMA lengths (3-5) for 1-5 minute charts
Day Trading: Use medium ALMA lengths (5-13) for 15-60 minute charts
Swing Trading: Use longer ALMA lengths (13-21) for 1-4 hour charts
Position Trading: Use very long ALMA lengths (21+) for daily and weekly charts
LIMITATIONS
Whipsaw Markets: The indicator may generate false signals in choppy, sideways markets where price oscillates rapidly between support and resistance
Lagging Nature: Like all moving average-based indicators, there is inherent lag in the calculations, which may result in delayed signals
Not a Standalone Tool: This indicator should be used in conjunction with other technical analysis tools and risk management strategies
Market Structure Dependency: Performance may vary depending on market structure and volatility conditions
Parameter Sensitivity: Different markets may require different parameter settings for optimal performance
No Volume Integration: The indicator does not incorporate volume data, which could provide additional confirmation signals
Limited Backtesting: Pine Script limitations may restrict comprehensive backtesting capabilities
Not Suitable for All Instruments: May perform differently on stocks, forex, crypto, and futures markets
Requires Confirmation: Signals should always be confirmed with other indicators or price action analysis
Not Predictive: The indicator identifies current market conditions but does not predict future price movements
NOTES
ALMA Algorithm: The indicator uses the Arnaud Legoux Moving Average (ALMA) algorithm, which is known for its excellent smoothing capabilities and reduced lag compared to traditional moving averages
Weighted Price Calculations: The bear market zone uses (2low + close) / 3, while the bull market zone uses (high + 2close) / 3, providing more weight to recent price action
Dynamic Zones: The support and resistance zones are dynamic and adapt to changing market conditions, making them more responsive than static levels
Color Psychology: The color scheme follows traditional trading psychology - green for bullish, red for bearish, and white for neutral
Signal Timing: The signals are generated on the close of each bar, ensuring they are based on complete price action
Label Positioning: Buy signals appear below the bar (red "B" label), while sell signals appear above the bar (green "S" label)
Multiple Timeframes: The indicator can be applied to multiple timeframes simultaneously for comprehensive analysis
Risk Management: Always use proper risk management techniques when trading based on indicator signals
Market Context: Consider the overall market context and trend direction when interpreting signals
Confirmation: Look for confirmation from other indicators or price action patterns before entering trades
Practice: Test the indicator on historical data before using it in live trading
Customization: Feel free to experiment with different parameter combinations to find what works best for your trading style
THANKS
Special thanks to the TradingView community and the Pine Script developers for creating such a powerful and flexible platform for technical analysis. This indicator builds upon the foundation of the ALMA algorithm and various moving average techniques developed by technical analysis pioneers. The concept of dynamic support and resistance zones has been refined over decades of market analysis, and this script represents a modern implementation of these timeless principles. We acknowledge the contributions of all traders and developers who have contributed to the evolution of technical analysis and continue to push the boundaries of what's possible with algorithmic trading tools.
Engulfing Pro v1Engulfing Pro v1 — Pro Inside (C2-in-wick) signals
Engulfing Pro v1 finds a precise three-bar sequence designed to catch clean continuations or turns after an impulsive move. The signal—called Pro Inside—fires when price closes back inside the wick of a prior engulfing bar, often indicating a controlled pullback into freshly swept liquidity.
What it detects
Engulfing pre-condition (Bars -2 → -1):
A strict bullish or bearish body engulfing occurs one bar before the signal (larger body, full body containment).
Pro Inside signal (Bar 0 / C2):
The current bar (C2) closes inside the wick of the engulfing bar (C1):
Bullish: C2 closes inside C1’s upper wick
Bearish: C2 closes inside C1’s lower wick
Optional C3 confirmation (info only):
The next bar closes beyond C2’s extreme (above for bullish, below for bearish).
Why it matters
The “close-inside-wick” structure frequently marks a measured pullback after momentum just flipped (engulfing), offering a clear, rules-based entry with defined invalidation.
Inputs
Show Pro Inside (Bullish) — toggle bullish signals
Show Pro Inside (Bearish) — toggle bearish signals
Change bar color on signal (C2) — color C2 (lime/red)
Plot markers — C2 triangles and ✔ on C3 confirmations
Boundary padding (ticks) — nudge wick bounds to reduce marginal touches
Visuals & Alerts
Markers:
“C2” triangle up/down on qualifying bars
“✔” circle on C3 confirmations
Alert names:
Pro Inside (Bullish)
Pro Inside (Bearish)
Pro Inside — Bullish C3 confirmation
Pro Inside — Bearish C3 confirmation
How to use (ideas, not advice)
Entry: Aggressive at/after C2 close; conservative on C3 confirmation.
Stops: Common placements beyond the opposite side of C2, or beyond C1’s wick.
Confluence: Pair with market structure, higher-timeframe bias, or Supply & Demand zones for selectivity.
Timeframes/markets: Works on any symbol/TF; adapt padding for volatility.
Notes
Evaluates on bar close (no look-ahead).
Visual/alert tool for study and workflow—not financial advice.
Always forward-test and risk-manage appropriately.
Aslan - Signals, Overlays & PA Toolkit [6.4]SIGNALS & OVERLAYS INDICATOR
Next-generation trading signals powered by advanced algorithms, paired with precision overlays for added confidence.
Features:
3 Signal Models: Contrarian, Confirmation & Kernel
6 Asset-Class Specific Signal Filters
Auto Fibonacci Retracements
Dynamic Kernel-Based Support & Resistance
Trend Status Meter (Bar Coloring)
Volatility Bands (Standard Deviation)
PRICE ACTION TOOLKIT
Comprehensive price action analysis designed to highlight key market POIs and institutional levels with clarity.
Features:
Full Multi-Timeframe Functionality
Institutional Volumized Supply & Demand
Market Structure (BOS, MSS, CHoCH, EQL, EQH)
Displacement & Inducement Zones
Fair Value Gaps & Liquidity Mapping
Key Levels & Session Levels
Point of Control & Dealing Ranges
Equilibrium Tracking
Smart Trendlines & Trendline Signals
Trend Following S/R Fibonacci StrategyTrend Following S/R Fibonacci Strategy
Trend Following S/R Fibonacci Strategy
Silent Trigger Silent Trigger combines widely used concepts under one scoring engine. Each module adds weight only when its conditions are met:
1. Higher-Timeframe (HTF) context
• Requests 1H and the next HTF up (e.g., 4H/D) with request.security(...) on confirmed bars only.
• Uses RSI(14) and a MACD line (EMA12–EMA26 difference) for bias.
• By default HTF weights the score. There is an option to require HTF alignment if you prefer a hard filter.
2. Market regime
• ADX for trend strength.
• Bollinger Band width and a fractal-energy proxy to detect squeeze/coiling vs expansion.
3. Smart-money / Wyckoff structure
• High-volume narrow bars, absorption, spring/upthrust, and liquidity grabs past recent swing highs/lows.
4. Momentum & divergences
• RSI and MACD-line divergences (regular + hidden) and simple exhaustion checks.
5. Fair Value Gaps (FVG)
• 3-bar gap with mid-gap revisit confirmation.
6. Volume context
• Relative volume and a compact 10-bin rolling volume profile to locate HVN proximity.
7. Sessions / time filter
• Optional London/NY “kill zone” participation filter.
8. Correlation (optional)
• Simple BTC trend check for USD-quoted markets.
Pre-Move (yellow) logic:
Triggers only when the market is compressed (squeeze/low fractal energy), ADX is rising, the MACD histogram is near zero (pressure building), and there is a money-flow impulse (MFI slope and/or OBV Z-score spike).
The yellow diamond is plotted on the side of the expected move:
• Below for bullish reversals / Above for bullish breakouts.
• Above for bearish reversals / Below for bearish breakouts.
A built-in cooldown keeps yellows from spamming.
⸻
What appears on the chart
• Bull diamond (green): Total score ≥ your threshold and > bear score.
• Bear diamond (magenta): Mirror of the above.
• Pre-move (yellow): Early heads-up; use it with HTF context and structure.
All diamonds are intentionally tiny to minimize clutter.
⸻
Key settings
• Signal Mode & Min Probability – tighten/loosen confirmations.
• Use Higher TF in Scoring – soft weighting (default).
• Require HTF Alignment – optional hard gate.
• Module toggles – Smart Money, Wyckoff, FVG, Correlation, Sessions.
• Pre-Move – enable, cooldown bars, MFI levels, OBV Z-score threshold.
⸻
How to use (practical)
1. Choose a TF that matches your style (5–15m intraday, 1H–4H swing).
2. Read HTF bias first; trade in that direction unless structure clearly supports a reversal.
3. Treat yellow as “get ready.” Act only when a green/magenta prints with structure (S/R, FVG, HVN) and acceptable risk.
4. Place stops beyond the liquidity level or FVG midpoint; size positions conservatively.
⸻
Repainting & HTF policy
• No lookahead is used anywhere.
• request.security is called on confirmed bars; the HTF MACD line is computed inside the HTF context (single series), not by indexing a tuple.
• Signals are designed for bar-close confirmation. Intra-bar alerts can change until the bar closes.
⸻
Limitations (honest)
• Money-flow features depend on volume quality; thin/synthetic volume reduces reliability.
• Pre-moves can fail during unscheduled news shocks or when HTF trend is dominant.
• This is not financial advice. You are responsible for entries, exits, and risk.
⸻
Alerts
Built-in bull/bear alerts include direction and a probability bucket (Basic/Moderate/Strong/Extreme).
Pre-move yellows are primarily visual; you can still set an alert on their plot condition if desired.
⸻
Why this isn’t a “mashup”
• A single probability engine blends HTF bias, structure (liquidity/Wyckoff/FVG), regime, and volume into a score, rather than stacking unrelated indicators.
• A pre-move detector that requires compression + rising trend energy + money-flow impulse, and places the marker on the side of the expected move, with cooldown control.
• A lightweight rolling HVN check to bias continuation vs mean-reversion near key nodes.
⸻
Changelog (summary)
• Current release: pre-move module, HTF hard-gate option, tiny diamonds, clarified HTF/no-repaint policy, session filter tidy-up.
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.
Keylevels [KAWS]Overview
The Keylevels Indicator is designed to provide traders with a clear and structured view of important market reference points. It automatically detects and plots session highs and lows, weekly and monthly levels, as well as the previous day’s range. These levels are presented directly on the chart as dynamic lines with optional text labels, offering a consistent framework for understanding price action across multiple time horizons.
Understanding the Concepts
What are Key Levels?
Key levels are significant price points that often serve as reference markers in market activity. They represent areas where the market has previously established boundaries (highs and lows) within sessions, days, weeks, or months. Such levels can highlight where price has repeatedly reacted, providing insight into areas of potential importance.
Why Sessions Matter
Financial markets operate globally, and trading sessions (Asia, London, New York) reflect the activity of different regions. Each session produces distinct highs and lows that can serve as key markers for subsequent price behavior. By capturing these levels automatically, the indicator helps visualize how markets transition from one trading phase to another.
Higher Timeframe Levels
Weekly and monthly highs and lows, as well as the previous day’s range, provide broader structural reference points. These levels are often used to assess whether the market is respecting or breaking significant boundaries over time.
How the Indicator Works
The indicator automatically tracks and plots:
Session Levels: Highs and lows of the Asia, London, and New York sessions.
Session Open Price: A clear reference line marking the opening price of a chosen session.
Daily Levels: Previous day’s high and low, updated at the start of each new day.
Weekly Levels: High and low of the current week, with automatic reset each new week.
Monthly Levels: High and low of the current month, updated dynamically.
Each level is displayed with customizable line styles, colors, and labels. Labels can include text only or also display the exact price, depending on user preference. The indicator further supports the option to extend lines into the future, allowing for ongoing visibility of these reference points.
Customization Options
Display Control: Enable or disable specific sessions, daily, weekly, or monthly levels.
Visual Styling: Adjust line colors, thickness, and style (solid, dashed, dotted).
Labels: Choose whether to display text, include price information, and set text size.
Session Settings: Define your preferred timezone and session open times for accuracy across global markets.
Line Extension: Decide whether levels should extend into the future or stop when broken.
Important Considerations
This indicator is a technical reference tool. It does not generate buy or sell signals but instead provides structural context by highlighting where the market has established significant levels. As with any technical tool, it is most effective when integrated into a broader trading framework that includes market structure, trend analysis, and risk management.
Fisher Volume Transform | AlphaNattFisher Volume Transform | AlphaNatt
A powerful oscillator that applies the Fisher Transform - converting price into a Gaussian normal distribution - while incorporating volume weighting to identify high-probability reversal points with institutional participation.
"The Fisher Transform reveals what statistics professors have known for decades: when you transform market data into a normal distribution, turning points become crystal clear."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎲 THE MATHEMATICS
Fisher Transform Formula:
The Fisher Transform converts any bounded dataset into a Gaussian distribution:
y = 0.5 × ln((1 + x) / (1 - x))
Where x is normalized price (-1 to 1 range)
Why This Matters:
Market extremes become statistically identifiable
Turning points are amplified and clarified
Removes the skew from price distributions
Creates nearly instantaneous signals at reversals
Volume Integration:
Unlike standard Fisher Transform, this version weights price by relative volume:
High volume moves get more weight
Low volume moves get filtered out
Identifies institutional participation
Reduces false signals from retail chop
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 KEY ADVANTAGES
Statistical Edge: Transforms price into normal distribution where extremes are mathematically defined
Volume Confirmation: Only signals with volume support
Early Reversal Detection: Fisher Transform amplifies turning points
Clean Signals: Gaussian distribution reduces noise
No Lag: Mathematical transformation, not averaging
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS OPTIMIZATION
Fisher Period (5-30):
5-9: Very sensitive, many signals
10: Default - balanced sensitivity
15-20: Moderate smoothing
25-30: Major reversals only
Volume Weight (0.1-1.0):
0.1-0.3: Minimal volume influence
0.5-0.7: Balanced price/volume
0.7: Default - strong volume weight
0.8-1.0: Volume dominant
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 TRADING SIGNALS
Primary Signals:
Zero Cross Up: Bullish momentum shift
Zero Cross Down: Bearish momentum shift
Signal Line Cross: Early reversal warning
Extreme Readings (±75): Potential reversal zones
Visual Interpretation:
Cyan zones: Bullish momentum
Magenta zones: Bearish momentum
Gradient intensity: Strength of move
Histogram: Raw momentum power
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 OPTIMAL USAGE
Best Market Conditions:
Range-bound markets (reversals clear)
High volume periods
Major support/resistance levels
Divergence hunting
Trading Strategies:
1. Extreme Reversal:
Enter when oscillator exceeds ±75 and reverses
2. Zero Line Momentum:
Trade crosses of zero line with volume confirmation
3. Signal Line Strategy:
Early entry on signal line crosses
4. Divergence Trading:
Price makes new high/low but Fisher doesn't
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed by AlphaNatt | Quantitative Trading Systems
Version: 1.0
Classification: Statistical Transform Oscillator
Not financial advice. Always DYOR.
Volume Spread Analysis — Educational (VSA Study)Volume Spread Analysis — Educational (VSA Study)
Overview
This indicator is an educational tool based on classic Volume Spread Analysis (VSA), a methodology pioneered by Tom Williams. VSA studies the relationship between volume, price spread, and closing position to highlight the possible footprints of professional buying and selling.
The purpose of this study is to make the core VSA events visible on the chart, so traders can learn how to recognize them in real time. It does not provide signals, alerts, or advice — it is designed purely for market education and visual study.
What It Displays
The script plots key VSA events as shapes on the chart:
Stopping Volume (SV): Wide down bar, ultra-high volume, closing off the lows.
Selling Climax (SC): Climactic selling into the lows, often at market bottoms.
Shakeout (SO): Sharp down bar that springs back and closes strong.
No Supply (NS): Narrow down bar on very low volume, showing lack of selling.
No Demand (ND): Narrow up bar on low volume, showing lack of buying interest.
Buying Climax (BC): Wide up bar with climactic volume, closing weak.
Upthrust (UT): False breakout above resistance that closes weak.
Supply Coming In: Signs of supply entering after an up-move.
End of Rising Market (EoRM): Narrow up bar with very high volume and weak close.
Test Bar: Low-volume down bar closing strong, testing for supply.
How It Works
Each event is identified by comparing:
Volume against its moving average.
Spread (bar range) against the average spread.
Closing position within the bar.
Wick structure (upper/lower shadow).
Trend context (short-term moving averages).
By combining these elements, the script highlights conditions that match classical VSA patterns.
An optional moving average can be enabled for background context — this is not a signal, only a visual guide to see whether price is trading above or below a simple average.
How to Use It (Educational)
As Tom Williams taught, VSA is about reading the background:
Signs of Strength: Look for Stopping Volume, Selling Climax, Shakeouts, and No Supply bars. These often appear after weakness and suggest buyers are stepping in.
Signs of Weakness: Watch for Buying Climaxes, Upthrusts, Supply Coming In, and End of Rising Market patterns. These often appear after strength and suggest sellers are active.
Context Matters:
Strength is best studied when price is above the moving average and holding above trigger zones.
Weakness is best studied when price is below the average and struggling under resistance.
Tests & No Demand: These confirm whether supply or demand is still present. A successful Test (low volume down bar, closing strong) often follows strength, while No Demand confirms weakness.
This script is not about trade entries — it is a learning tool to help traders visually study professional activity and market phases.
Originality
This is not a mash-up of public code. It is a purpose-built educational implementation of VSA logic, written from scratch. It maps directly to classical definitions of strength, weakness, tests, and climaxes, making the concepts easier to recognize without requiring traders to interpret raw formulas.
Disclaimer
This indicator is for educational and analytical purposes only.
It does not generate trading signals, alerts, or financial advice.
Always do your own research and risk management when trading.
Logarithmic Bollinger Bands with Secondary BandThe Logarithmic Bollinger Bands indicator is a variation of standard Bollinger Bands that applies the calculation on a logarithmic scale rather than directly on price values. This approach is particularly useful in markets where assets experience exponential growth or large percentage-based moves, as it allows the bands to adapt proportionally instead of being distorted by absolute price changes. The indicator calculates a moving average of the log-transformed price (the basis), then adds and subtracts multiples of the standard deviation of the log price to form the upper and lower bands. Finally, the results are converted back to normal price scale for plotting. In addition to the primary bands set at 2.0 standard deviations, this version includes a secondary band set at 0.5 standard deviations, offering a closer inner envelope around the mean.
To use this indicator
Traders can observe how price interacts with both the inner and outer bands. The outer 2.0 standard deviation bands represent traditional Bollinger-style boundaries, highlighting potential overbought or oversold conditions when price pushes beyond them.
The inner 0.5 bands provide an earlier signal of price compression and breakout potential, as moves outside these tighter bands often precede larger volatility expansions.
Together, these dual layers give traders a way to monitor both short-term fluctuations and broader trend extremes, making it easier to spot opportunities for entries, exits, or risk management in markets where percentage-based scaling is more meaningful than raw price levels.
TrenVantage LITE TrenVantage LITE - Smart Trend Detector
"Professional ZigZag trend detection with real-time alerts and market structure analysis. Clean interface shows trend direction, price changes, and swing data."
TrenVantage LITE delivers professional-grade trend detection using advanced ZigZag analysis to identify market structure and trend changes in real-time. Built with a logic that goes beyond basic pivot detection, this free version provides essential trend analysis tools with a clean, intuitive interface designed for traders of all experience levels.
Key Features:
Advanced Trend Detection
Smart ZigZag Algorithm: Proprietary trend foundation model based on market structure principles
Customizable Sensitivity: Choose between Points or Percentage-based deviation settings
Real-Time Updates: Calculate on bar close or tick-by-tick for immediate trend changes
Flexible Analysis: 15-25 bar lookback range with 20-bar default setting
Visual Analysis Tools
Clean Trend Lines: Customizable color and width for optimal chart visibility
Professional Interface: Modern status box showing current trend and price metrics
Multiple Positioning: Place status box in any corner to match your chart layout
Market Structure: Clear visualization of swing highs and lows
Smart Alerts System
Trend Change Notifications: Instant alerts when market transitions between uptrend and downtrend
Reliable Detection: Confirmed trend changes based on significant price movements
Multiple Alert Options: Compatible with TradingView's alert system
How It Works
TrenVantage LITE uses a sophisticated ZigZag algorithm that goes beyond simple pivot detection. Our proprietary "trend-start model" identifies meaningful market structure changes by:
Analyzing Price Action: Uses high/low or close prices based on your preference
Filtering Noise: Customizable deviation thresholds eliminate false signals
Confirming Trends: Only signals trend changes after significant price movement
Tracking Structure: Maintains swing history for comprehensive analysis
Status Box Information
The integrated status box provides at-a-glance market information.
Current Trend Direction: Clear uptrend/downtrend identification with visual indicators
Live Price Data: Current price with session change and percentage movement
Swing Analysis: Number of detected swings with trend-only limitation indicator
Clean Design: Professional appearance that doesn't clutter your chart
Settings & Customization
ZigZag Parameters:
Deviation Type: Points (fixed price difference) or Percent (percentage change)
Deviation Value: Minimum price movement required to create new swing
Use High Low: Toggle between high/low prices vs close prices for analysis
Calculate Mode: Choose bar close confirmation or real-time tick updates
Lookback Range: Adjust historical analysis from 15-25 bars
Visual Controls
Trend Line Color: Customize line color to match your chart theme
Line Width: Adjust thickness from 1-4 pixels for optimal visibility
Status Box: Toggle display and choose corner positioning
Best Practices:
Timeframe Selection
Scalping (1-5min): Use 0.3-0.8 Points deviation with tick calculation
Day Trading (15-60min): Use 1-3 Points or 0.2-0.5% deviation
Swing Trading (4H-Daily): Use 0.5-1.5% deviation with bar close calculation
Getting Started
Add to Chart: Apply TrenVantage LITE to your preferred timeframe
Adjust Settings: Configure deviation and visual preferences
Set Alerts: Enable trend change notifications for your trading strategy
Analyze Trends: Use the status box and visual lines to identify market direction
Upgrade When Ready: Explore RETAIL version for Support/Resistance levels
Ready to Level Up? Upgrade to TrenVantage RETAIL
While TrenVantage LITE provides solid trend analysis, TrenVantage RETAIL transforms your trading with professional-grade market structure tools:
What You're Missing in LITE:
Support and Resistance level detection - automatically identifies key price levels where markets react
Price labels on levels - see exact values instantly without hovering or zooming
Enhanced status box - shows distance to nearest support/resistance for timing entries and exits
Up to 5 key levels - comprehensive coverage of important price zones
Level strength indicators - understand which levels are most likely to hold
Professional workflow - combines trend analysis with key level identification
TrenVantage RETAIL takes the solid trend foundation you see in LITE and adds the critical support/resistance analysis that serious traders rely on daily.
Disclaimer: Trading involves risk of loss. This indicator is for educational and analysis purposes. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
Custom Price Labels (10 liquidity key levels)A simple indicator for liquidity key level trader:
Add your key level price and key note.
You can adjust the color and font.
How to find key level:
Daily high and Low for key event
eg: NVDA earning, Jackson Hole Day Pump, AI bubble report day dump, Aug Labor Data Revision day dump. If market is consolidating, these key event price level are trend target and reversal level.
SAPSAN TRADE: Percent Bullish and Bearish CandlesSAPSAN TRADE: Percent Bullish and Bearish Candles
This indicator calculates and displays the percentage change of bullish and bearish candles, allowing traders to quickly assess the strength and volatility of each bar.
🔑 Key Features :
Identifies bullish (green) and bearish (red) candles.
Bearish candles are measured from high to low, bullish candles from low to high.
Doji candles (with minimal body) are shown as 0, as they are neither bullish nor bearish.
Calculates the percentage change of each candle and visualizes the results as a clean histogram.
Important : this indicator does not display volume, only candle percentage change.
Recommendation : always follow proper risk management and money management rules when using any tool.
This tool helps traders monitor market movement intensity and better understand the momentum behind bullish and bearish activity.
Russian translation of the description
SAPSAN TRADE: Процент бычьих и медвежьих свечей
Этот индикатор вычисляет и отображает процентное изменение бычьих и медвежьих свечей, позволяя трейдерам быстро оценить силу и волатильность каждой свечи.
🔑 Основные функции:
Определяет бычьи (зелёные) и медвежьи (красные) свечи.
Медвежьи свечи измеряются от high до low, бычьи — от low до high.
Доджи (с минимальным телом) отображаются как 0, так как они не относятся ни к бычьим, ни к медвежьим.
Вычисляет процентное изменение каждой свечи и отображает результаты в виде чистой гистограммы.
Важно : индикатор не показывает объём, только процентное изменение свечи.
Рекомендация : всегда соблюдайте правила риск-менеджмента и мани-менеджмента при работе с любым инструментом.
Этот инструмент помогает трейдерам отслеживать интенсивность рыночных движений и лучше понимать импульс бычьей и медвежьей активности.
TEWMA - [JTCAPITAL]Triple Exponential Weighted Moving Average is a modified way to use Weighted Triple Moving Averages for Trend-Following
The indicator works by calculating in the following steps:
1. The length gets multiplied by the multi to get the second length.
2. The Triple Exponential Moving Average gets calculated using the Weighted Moving Average as input.
3. This calculation is done over the first and the second length.
4. The average from both calculations is taken and used for buy and sell conditions.
--Buy and sell conditions--
-The buy and sell conditions are defined by the average of both indicators having a higher value than the previous bar.
-Average higher than the previous average = Long
-Average lower than the previous average = Short
--Features and Parameters--
-Allows the usage of different sources
-Allows the changing of the calculation length
-Allows the changing of the multiplier to determine the second length
-Allows the use of alerts for signal changes
--Details--
This script uses the result of the calculation of the Weighted Moving Averages as inputs for the Triple Moving averages. The usage of 2 separate calculations and using the average of them for trend determination is to allow for faster entries and exits while limiting potential false signals.
Enjoy!
SMC by Falcon TraderInvite-Only Script
Focuses on BOS & CHoCH.
Entries confirmed by 2 consecutive Engulfing candles.
Recommended on 15m+ timeframes.
⚠️ For educational purposes only. Use proper risk management
Chiến lược Lọc Tín hiệu (Cooldown & ATR)Chiến lược Lọc Tín hiệu (Cooldown & ATR)
Chiến lược Lọc Tín hiệu (Cooldown & ATR)
Trend Following S/R Fibonacci StrategyTrend Following S/R Fibonacci Strategy
Trend Following S/R Fibonacci Strategy