RD-DynamicTSMADescription of the RD-DynamicTSMA Pine Script Indicator:
This single indicator dynamically adjusts the three SMAs to key periods used by professional traders across timeframes:
Daily: 10, 21, 50 periods (standard for swing trading trends).
Weekly+: 10, 21, 30 periods (optimized for positional & longer-term views).
Lengths auto-update on timeframe switches.
Analisi trend
Smart CRT Indicator📌 Smart CRT Indicator – Spot Trend Reversals and Continuations with Precision
The Smart CRT Indicator is a versatile price action tool that identifies Candle Range Trap (CRT) patterns—powerful setups that often precede either trend reversals or breakout continuations.
It detects and visualizes market conditions where price gets "trapped" within a prior range or breaks out deceptively, giving traders early insight into potential directional moves.
🔍 Key Features:
✅ Bullish & Bearish CRT Signals
Accurately spots both reversal and continuation setups using CRT logic across three core patterns.
✅ Flexible Range Close Filter
Customize how deeply the second candle closes within the first candle's range to fine-tune signal quality.
✅ Trend Filter (Optional)
Choose whether to only show signals aligned with the dominant trend, using a customizable SMA filter.
✅ Visual Range Mapping
Automatically draws range lines to mark key price zones for CRT patterns. Adjustable style, color, and width.
✅ Real-Time Alerts
Get notified instantly when a new CRT pattern appears on your chart.
🧠 CRT Pattern Types Detected:
Inside Bar CRT: A compression pattern inside a larger range that signals potential breakout or reversal.
Multi-Candle CRT: A group of smaller candles shrinking inside an anchor candle—often a sign of building momentum.
Purge CRT: A deceptive breakout beyond the previous candle’s range, followed by an immediate reversal.
⚙️ Best For:
Traders seeking trend continuation breakout setups
Traders looking to fade false moves or catch reversals
Price action traders who rely on candle structure and traps
Swing, intraday, or even scalping strategies
🧩 Tip:
Combine CRT signals with Key Levels, FVG, support/resistance or order block zones for high-probability confluence entries.
OHLC Session ProjectorOHLC Session Projector
Clean, session-aware OHLC levels — projected to a right-side rail for instant context.
Define up to four intraday sessions (chart timezone). While a session is live, the indicator draws a right-offset rail with O/H/L/C ticks and tiny labels, keeping price candles uncluttered. When the session closes, values freeze and the entire block (rail + ticks + labels, and optionally the box) is projected to the right by a user-set distance for crystal-clear levels.
Why traders use it
Fast read of intraday structure. See each session’s opening print, the true extremes, and settlement at a glance.
Clarity during the session. Live rail shifts to the right so bars stay clean.
Consistent post-session levels. Projected rails mark where reactions tend to happen next session.
Key features
Sessions: Up to 4 custom time ranges (uses chart timezone).
Right-rail projector:
Vertical rail spanning session H↔L
Ticks: O/C (solid), H/L (dashed)
Labels: O/H/L/C with optional price, offset to the right
Live Clean Mode: Shift the live rail by N bars to the right (configurable).
Session Box (optional): With separate live vs final styling (fade while live, solid when closed).
Projection: After session close, freeze values and project rail + ticks + labels + box to the right by extendBars.
Styling controls: Colors, widths, tick lengths, label offset.
No repainting of closed values: H/L/O/C are finalized at session end. (During the session, H/L/C update in real time—as expected.)
How it works
While in session, the script tracks O/H/L/C, draws a right-offset rail and ticks, and updates labels live.
On session close, values are frozen and the whole rail block is repositioned to the projected location.
Accumulation → Manipulation → Distribution (AMD
The graphic shows a common intraday sequence across sessions:
Accumulation blue : price ranges and builds liquidity.
Manipulation red : a quick sweep/false break as sessions hand off.
Distribution green : the real directional move that follows.
How the OHLC Session Projector helps
Projects each session’s Open/High/Low/Close to a clean right-side rail, so you can see when manipulation sweeps prior O/H/L and where distribution is likely to run.
Freezes levels at session close and carries them forward as targets (retests of Open, runs to High/Low).
“Live Clean” keeps rails offset during the session, letting you track AMD without clutter while price is developing.
Credits & disclaimer
Built for educational purposes. Not financial advice. Trade responsibly.
Supply Zone & Demand M15Supply Zone & Demand M15
This indicator automatically detects and plots supply and demand zones based on 15-minute pivots and impulse strength.
🔎 Features
Multi-timeframe visibility: Zones are detected on M15 pivots but can be viewed on any lower timeframe (M1, M5, etc.).
Zone validation: Zones appear only after a strong impulsive move, measured against ATR.
Retest counting: Each time price retests a zone, a counter is displayed.
Retests can be merged by time window (No merge, 30 minutes, or 1 hour).
Zone merging: Nearby overlapping zones are automatically combined with a tolerance setting.
Configurable display: Choose between immediate display of zones or only after N retests.
Customizable style: Full control over colors, extension to the left, and max number of zones kept.
⚙️ Settings
Pivot strength: Minimum bars for swing highs/lows.
Impulse filter: Require ATR-based momentum before validating a zone.
Zone width: Defined as a multiple of ATR.
Retest merge: Select None, 30 minutes, or 1 hour.
Invalidation: Option to remove zones once broken.
Display mode: Show zones immediately or only after the required number of retests.
✅ Use Cases
Identify high-probability reversal areas.
Track how many times a zone has been retested.
Spot confluence when historical zones align with current price action.
⚠️ Disclaimer: This indicator is a technical tool, not financial advice. Always combine with proper risk management.
Wyckoff PhaseMap Overlay [FxalgoxPro]📊 Wyckoff PhaseMap Overlay
Professional Wyckoff Market Cycle Indicator for TradingView
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 OVERVIEW
The Wyckoff PhaseMap Overlay is a sophisticated indicator that automatically identifies and visualizes the four phases of the Wyckoff Market Cycle on your price chart, combining price action analysis with volume confirmation to detect:
Phase 1: Accumulation (Cause)
Phase 2: Mark Up (Effect)
Phase 3: Distribution (Cause)
Phase 4: Mark Down (Effect)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔑 KEY FEATURES
📈 Phase Detection
Accumulation : Identifies selling climax (SC), automatic rally (AR), secondary tests (ST), and springs
Mark Up : Detects sustained uptrend with higher highs/higher lows structure
Distribution : Recognizes buying climax (BC), UTAD (upthrust after distribution), and range formation
Mark Down : Confirms breakdown with volume and downtrend structure
🎨 Visual Elements
Phase Background Colors : Optional color-coded backgrounds for each phase
Range Lines : Dynamic support/resistance levels during accumulation and distribution
Event Markers : Clear labels for Spring, UTAD, JTC (Jump the Creek), and breakdowns
Trend MA Overlay : Moving average for trend confirmation
Phase Labels : Large, descriptive labels when phases change
📊 Dashboard
Real-time phase status
Volume climax indicator
Event counters (Spring, UTAD, JTC)
Customizable position and size
🔔 Alerts
Phase change notifications
Spring detection
UTAD detection
Jump the Creek confirmation
Breakdown signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CONFIGURATION
Wyckoff Phases (Main Settings)
Parameter | Default | Description
---------------------------- | ------- | -------------
Trend MA Length | 50 | Moving average for trend detection
Volume Climax Threshold | 1.5 | Multiplier for average volume to detect climax events
Range Detection Length | 14 | Lookback period for range identification
Phase 1: Accumulation
Toggle accumulation phase display
Show/hide Spring events
Show/hide AR (Automatic Rally) and ST (Secondary Test)
Customize phase and spring colors
Phase 2: Mark Up
Toggle mark up phase display
Show/hide Jump The Creek (JTC) events
Customize phase and JTC colors
Phase 3: Distribution
Toggle distribution phase display
Show/hide UTAD events
Show/hide BC (Buying Climax)
Customize phase and UTAD colors
Phase 4: Mark Down
Toggle mark down phase display
Customize phase and breakdown colors
Visual Settings
Show Phase Labels : Display large phase transition labels
Show Event Markers : Display Spring, UTAD, JTC markers
Show Phase Background : Color-code background by current phase
Dashboard
Show Dashboard : Toggle statistics panel
Position : Top Right / Bottom Right / Bottom Left
Size : Tiny / Small / Normal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 HOW IT WORKS
Phase Detection Logic
1️⃣ Accumulation (Cause)
Triggers:
- Selling climax detected (high volume + down move)
- Price enters range-bound consolidation
- Low volume compression
- Spring: False breakdown below support with low volume
2️⃣ Mark Up (Effect)
Triggers:
- Jump The Creek (JTC): Breakout from accumulation range
- Volume confirms breakout (>1.3x average)
- Higher highs and higher lows structure
- Price above trend MA
3️⃣ Distribution (Cause)
Triggers:
- Buying climax detected (high volume + up move)
- Price enters range-bound consolidation after uptrend
- UTAD: False breakout above resistance with volume
- Range compression
4️⃣ Mark Down (Effect)
Triggers:
- Breakdown from distribution range
- Volume confirms breakdown (>1.3x average)
- Lower lows and lower highs structure
- Price below trend MA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 EVENT DEFINITIONS
Event | Phase | Description | Visual
-------- | ------------- | ------------------------------------------------ | -------------------------
SC | Accumulation | Selling Climax - panic selling with high volume | Volume spike + price drop
AR | Accumulation | Automatic Rally - bounce from oversold | Recovery move
ST | Accumulation | Secondary Test - retest of lows | Low volume test
Spring | Accumulation | False breakdown below support | 🟢 Label below
JTC | Mark Up | Jump The Creek - confirmed breakout | 🔵 Label (transition)
BC | Distribution | Buying Climax - euphoric buying with high volume | Volume spike + price rise
UTAD | Distribution | Upthrust After Distribution - false breakout | 🟠 Label above
SOW | Mark Down | Sign of Weakness - confirmed breakdown | 🔴 Label (transition)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 USE CASES
For Traders
Identify accumulation zones for potential long entries
Recognize distribution zones for potential short entries or exits
Confirm trend changes with phase transitions
Avoid false breakouts (Springs and UTADs)
Time entries using Jump The Creek signals
For Analysts
Market structure analysis across multiple timeframes
Volume-price divergence identification
Institutional behavior tracking (accumulation/distribution)
Cycle completion analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 RECOMMENDED SETTINGS
For Swing Trading (Daily/4H)
Trend MA Length: 50
Volume Climax Threshold: 1.5
Range Detection Length: 14
For Intraday Trading (1H/15m)
Trend MA Length: 20
Volume Climax Threshold: 2.0
Range Detection Length: 10
For Long-term Investors (Weekly)
Trend MA Length: 100
Volume Climax Threshold: 1.3
Range Detection Length: 20
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 WYCKOFF METHOD RESOURCES
The indicator is based on Richard Wyckoff's market cycle theory:
Accumulation → Smart money accumulates while retail panics
Mark Up → Price rises as smart money distributes to late buyers
Distribution → Smart money exits while retail buys
Mark Down → Price falls as retail holds losing positions
Learn More:
Wyckoff Analytics
Market cycle analysis
Volume Spread Analysis (VSA)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTES
Volume Required : Indicator requires volume data (won't work on some Forex brokers without volume)
Timeframe : Best results on 1H, 4H, Daily, Weekly
Confirmation : Always combine with other analysis methods
Context : Phase detection improves with clean, trending markets
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🐛 TROUBLESHOOTING
Q: Why aren't any phases showing?
Ensure volume data is available for your symbol
Try adjusting Volume Climax Threshold (lower = more sensitive)
Check if Show Phase Background is enabled
Q: Too many false signals?
Increase Volume Climax Threshold for stricter detection
Increase Range Detection Length for better range identification
Use higher timeframes (4H/Daily)
Q: Dashboard not showing?
Check Show Dashboard is enabled in settings
Ensure panel isn't off-screen (try different position)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👨💻 CREDITS
Developer : Fxalgox
Method : Richard Wyckoff Market Cycle Theory
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TIPS FOR BEST RESULTS
Combine with Market Context : Use alongside market structure analysis
Multi-timeframe Confirmation : Check higher timeframe phase alignment
Volume is Key : Pay attention to volume climax indicators in dashboard
Be Patient : Wait for phase confirmations before taking action
Use Alerts : Set up alerts for phase changes and key events
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Happy Trading! 📈
Remember: This indicator is a tool for analysis, not financial advice. Always manage risk appropriately.
Universal Breakout Strategy [KedArc Quant]Description:
A flexible breakout framework where you can test different logics (Prev Day, Bollinger, Volume, ATR, EMA Trend, RSI Confirm, Candle Confirm, Time Filter) under one system.
Choose your breakout mode, and the strategy will handle entries, exits, and optional risk management (ATR stops, take-profits, daily loss guard, cooldowns).
An on-chart info table shows live mode values (like Prev High/Low, Bollinger levels, RSI, etc.) plus P&L stats for quick analysis.
Use it to compare which breakout style works best on your instrument and timeframe, whether intraday, swing, or positional trading
🔑 Why it’s useful
* Flexibility: Switch between breakout strategies without loading different indicators.
* Clarity: On-chart info table displays current mode, relevant indicator levels, and live strategy P&L stats.
* Testing efficiency: Quickly A/B test different breakout styles under the same backtest environment.
* Transparency: Every trade is rule-based and displayed with entry/exit markers.
🚀 How it helps traders
* Lets you experiment with breakout strategies quickly without loading multiple scripts.
* Helps identify which breakout method fits your instrument & timeframe.
* Gives clear on-chart visual + statistical feedback for confident decision-making.
⚙️ Input Configuration
* Breakout Mode → choose which strategy to test:
* *Prev Day* → breakouts of yesterday’s High/Low.
* *Bollinger* → Upper/Lower BB pierce.
* *Volume* → Breakout confirmed with volume above average.
* *ATR Stop* → Wide range breakout using ATR filter.
* *Time Filter* → Breakouts inside defined session hours.
* *EMA Trend* → Breakouts only in EMA fast > slow alignment.
* *RSI Confirm* → Breakouts with RSI confirmation (e.g. >55 for longs).
* *Candle Confirm* → Breakouts validated by bullish/bearish candle.
* Lookback / ATR / Bollinger inputs → adjust sensitivity.
* Intrabar mode → option to evaluate breakouts using bar highs/lows instead of closes.
* Table options → show/hide info table, show/hide P&L stats, choose corner placement.
📈 Entry & Exit Logic
* Entry → occurs when breakout condition of chosen mode is met.
* Exit → default exits via opposite signals or optional stop/target if enabled.
* Session filter → optional auto-flat at session end.
* P&L management → optional daily loss guard, cooldown between trades, and ATR-based stop/take profit.
❓ FAQ — Choosing the best setup
Q: Which strategy should I use for which chart?
* *Prev Day Breakouts*: Best on indices, FX, and liquid futures with strong daily levels.
* *Bollinger*: Works well in range-bound environments, or crypto pairs with volatility compression.
* *Volume*: Good on equities where breakout strength is tied to volume spikes.
* *ATR Stop*: Suits volatile instruments (commodities, crypto).
* *EMA Trend*: Useful in trending markets (stocks, indices).
* *RSI Confirm*: Adds momentum filter, better for swing trades.
* *Candle Confirm*: Ideal for scalpers needing visual confirmation.
* *Time Filter*: For intraday traders who want signals only in high-liquidity sessions.
Q: What timeframe should I use?
* Intraday traders → 5m to 15m (Time Filter, Candle Confirm).
* Swing traders → 1H to 4H (EMA Trend, RSI Confirm, ATR Stop).
* Position traders → Daily (Prev Day, Bollinger).
* Breakout
A trade entry condition triggered when price crosses above a resistance level (for longs) or below a support level (for shorts).
* Prev Day High/Low
Formula:
Prev High = High of (Day )
Prev Low = Low of (Day )
* Bollinger Bands
Formula:
Basis = SMA(Close, Length)
Upper Band = Basis + (Multiplier × StdDev(Close, Length))
Lower Band = Basis – (Multiplier × StdDev(Close, Length))
* Volume Confirmation
A breakout is only valid if:
Volume > SMA(Volume, Length)
* ATR (Average True Range)
Measures volatility.
Formula:
ATR = SMA(True Range, Length)
where True Range = max(High–Low, |High–Close |, |Low–Close |)
* EMA (Exponential Moving Average)
Weighted moving average giving more weight to recent prices.
Formula:
EMA = (Price × α) + (EMA × (1–α))
with α = 2 / (Length + 1)
* RSI (Relative Strength Index)
Momentum oscillator scaled 0–100.
Formula:
RSI = 100 – (100 / (1 + RS))
where RS = Avg(Gain, Length) ÷ Avg(Loss, Length)
* Candle Confirmation
Bullish candle: Close > Open AND Close > Close
Bearish candle: Close < Open AND Close < Close
Win Rate (%)
Formula:
Win Rate = (Winning Trades ÷ Total Trades) × 100
* Average Trade P&L
Formula:
Avg Trade = Net Profit ÷ Total Trades
📊 Performance Notes
The Universal Breakout Strategy is designed as a framework rather than a single-asset optimized system. Results will vary depending on the chart, timeframe, and asset chosen.
On the current defaults (15-minute, INR-denominated example), the backtest produced 132 trades over the selected period. This provides a statistically sufficient sample size.
Win rate (~35%) is relatively low, but this is balanced by a positive reward-to-risk ratio (~1.8). In practice, a lower win rate with larger wins versus smaller losses is sustainable.
The average P&L per trade is close to breakeven under default settings. This is expected, as the strategy is not tuned for a single symbol but offered as a universal breakout framework.
Commissions (0.1%) and slippage (1 tick) are included in the simulation, ensuring realistic conditions.
Risk management is conservative, with order sizing set at 1 unit per trade. This avoids over-leveraging and keeps exposure well under the 5-10% equity risk guideline.
👉 Traders are encouraged to:
Experiment with inputs such as ATR period, breakout length, or Bollinger parameters.
Test across different timeframes and instruments (equities, futures, forex, crypto) to find optimal setups.
Combine with filters (trend direction, volatility regimes, or volume conditions) for further refinement.
⚠️ Disclaimer This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
Trap LineTrap Line W — Weekly Trend Barrier (Closed-source)
Overview
Trap Line W is a trend-following overlay that plots a single weekly baseline to define the market’s higher-timeframe regime. Price above the line indicates a bullish regime; price below the line indicates a bearish regime. The goal is to promote regime discipline—staying aligned with the dominant direction and avoiding late, emotionally driven entries. Core parameters are fixed to ensure consistent behavior across symbols.
What it does (principles, not secrets)
• Builds a smoothed weekly baseline designed to approximate the higher-timeframe trend path.
• Uses higher-timeframe aggregation so regime assessments align with closed weekly candles.
• Acts as a simple, binary bias filter: long-only above, short/avoid longs below (framework, not advice).
Inputs
• No user-tweakable inputs. Parameters are fixed to reduce overfitting and improve repeatability.
How to read it
• Above the line ⇒ bullish regime.
• Below the line ⇒ bearish regime.
• A confirmed weekly close through the line suggests a potential regime transition; intrawEEK moves may fade.
Practical use cases
• Bias gating: enable/disable long or short playbooks based on the weekly regime.
• Portfolio overlay: apply to a watchlist; prefer allocations aligned with the weekly regime.
• Risk context: in a bullish regime, tolerate pullbacks selectively; in a bearish regime, be conservative with counter-trend exposure.
• Timeframe bridging: weekly sets bias; lower timeframes handle entries/exits.
Best practices
• Wait for the weekly close before declaring a regime flip.
• Combine with market structure (HH/HL vs. LH/LL), volume behavior, and higher-timeframe S/R.
• Prefer time-based candles and liquid instruments for clearer behavior.
Charting & data notes
• Values derive from the weekly timeframe and finalize on the weekly close; interim values may update during formation.
• Use standard time-based candles. Avoid interpreting signals on Heikin Ashi, Renko, Kagi, Point & Figure, or Range charts.
Common pitfalls
• Front-running the weekly close can cause false regime flips.
• Overtrading counter-trend near the line often has lower expectancy.
• Ignoring liquidity/news risk can lead to whipsaws around the baseline.
Who it’s for
• Swing and position traders needing a clear, rules-based regime filter.
• Systematic traders who prefer a simple, fixed-parameter bias overlay.
Limitations & disclosures
• Closed-source; for educational and analytical use only.
• Not financial advice. Markets involve risk; past performance is not indicative of future results.
Suggested screenshot captions
• “Bullish regime: weekly close above Trap Line W; pullbacks respecting the line.”
• “Bearish regime: weekly close below Trap Line W; rallies capped near the line.”
DX Fibonacci LevelsDX Fibonacci Levels Indicator
This Pine Script code implements a custom Fibonacci levels indicator that displays key Fibonacci retracement and extension levels on a price chart. The indicator helps traders identify potential support, resistance, and breakout areas by plotting significant Fibonacci levels based on the most recent high and low price range.
How to Use the Indicator:
Interpretation of Fibonacci Levels:
The indicator plots the following Fibonacci levels:
23.6% Retracement (Gray Line): This level represents a shallow retracement and is often considered a potential minor support or resistance area. It can signal a short-term price correction.
38.2% Retracement (Blue Line): One of the most widely used retracement levels. A price reversal at this level is seen as a potential indication of a strong move in the original direction.
50.0% Retracement (Gray Line): Although not a Fibonacci ratio itself, this level is a psychological midpoint. A 50% retracement often represents a neutral point where price could either reverse or continue in the original direction.
61.8% Retracement (Yellow Line): A key level for traders, as it is considered the "golden ratio" of Fibonacci. It is a critical area for determining the continuation of the trend or a potential reversal.
78.6% Retracement (Red Line): This level is closer to the 100% retracement and indicates a deeper pullback. It can represent an area of strong support or resistance.
100.0% (Purple Line): This level is equivalent to the recent low. It represents the full retracement or the lowest price point within the selected range.
127.2% Extension (Green Line): A Fibonacci extension level, indicating a potential area where price could extend beyond the previous high. This level often marks the beginning of a new trend or significant price movement.
161.8% Extension (Green Line): Another Fibonacci extension, marking an even further price projection. Traders use this level to forecast a continuation of the price movement in the direction of the prevailing trend.
Using the Indicator in Trading:
Identifying Support and Resistance: When the price approaches one of the key retracement levels (such as 38.2%, 50%, or 61.8%), traders often watch for signs of a reversal, like candlestick patterns or volume spikes, as these could indicate a potential entry or exit point.
Trend Continuation: If the price retraces to one of these levels and then continues in the direction of the trend, it can confirm that the trend is still intact. The extension levels (127.2% and 161.8%) help identify where the price may head next if the trend continues.
Breakout Zones: The extension levels can also act as breakout points. A price that surpasses the 100% level could indicate that the trend is gaining momentum, with potential for further movement beyond the 127.2% and 161.8% levels.
Chart Customization:
Color-Coded Fibonacci Levels: Each Fibonacci level is color-coded for easy identification:
Gray: 23.6% and 50.0% retracement levels
Blue: 38.2% retracement level
Yellow: 61.8% retracement level
Red: 78.6% retracement level
Purple: 100.0% level (the low of the range)
Green: 127.2% and 161.8% extension levels
The use of different colors allows for quick visual analysis, helping traders to distinguish between retracement and extension levels while identifying critical price zones on the chart.
Tips for Effective Use:
Monitor Price Action: Watch for price action signals like candlestick patterns, reversals, or trend-following indicators around these Fibonacci levels.
Combine with Other Indicators: To improve the reliability of the Fibonacci levels, combine them with other technical analysis tools such as moving averages, RSI, or MACD for confirmation of potential reversals or breakouts.
Adjust the Lookback Period: The lookback period can be adjusted to fit the time frame and asset being traded. A shorter lookback period may provide more sensitive levels, while a longer one may offer more reliable, long-term reference points.
This indicator is most useful when combined with your trading strategy to spot potential price points for reversals or continued movements.
ICT Venom Trading Model [TradingFinder] SMC NY Session 2025SetupIntroduction
The ICT Venom Model is one of the most advanced strategies in the ICT framework, designed for intraday trading on major US indices such as US100, US30, and US500. This model is rooted in liquidity theory, time and price dynamics, and institutional order flow.
The Venom Model focuses on detecting Liquidity Sweeps, identifying Fair Value Gaps (FVG), and analyzing Market Structure Shifts (MSS). By combining these ICT core concepts, traders can filter false breakouts, capture sharp reversals, and align their entries with the real institutional liquidity flow during the New York Session.
Key Highlights of ICT Venom Model :
Intraday focus : Optimized for US indices (US100, US30, US500).
Time element : Critical window is 08:00–09:30 AM (Venom Box).
Liquidity sweep logic : Price grabs liquidity at 09:30 AM open.
Confirmation tools : MSS, CISD, FVG, and Order Blocks.
Dual setups : Works in both Bullish Venom and Bearish Venom conditions.
At its core, the ICT Venom Strategy is a framework that explains how institutional players manipulate liquidity pools by engineering false breakouts around the initial range of the market. Between 08:00 and 09:30 AM New York time, a range called the “Venom Box” is formed.
This range acts as a trap for retail traders, and once the 09:30 AM market open occurs, price usually sweeps either the high or the low of this box to collect stop-loss liquidity. After this liquidity grab, the market often reverses sharply, giving birth to a classic Bullish Venom Setup or Bearish Venom Setup
The Venom Model (ICT Venom Trading Strategy) is not just a pattern recognition tool but a precise institutional trading model based on time, liquidity, and market structure. By understanding the Initial Balance Range, watching for Liquidity Sweeps, and entering trades from FVG zones or Order Blocks, traders can anticipate market reversals with high accuracy. This strategy is widely respected among ICT followers because it offers both risk management discipline and clear entry/exit conditions. In short, the Venom Model transforms liquidity manipulation into actionable trading opportunities.
Bullish Setup :
Bearish Setup :
🔵 How to Use
The ICT Venom Model is applied by observing price behavior during the early hours of the New York session. The first step is to define the Initial Range, also called the Venom Box, which is formed between 08:00 and 09:30 AM EST. This range marks the high and low points where institutional traders often create traps for retail participants. Once the official market opens at 09:30 AM, price usually sweeps either the top or bottom of this box to collect liquidity.
After this liquidity grab, the market tends to reverse in alignment with the true directional bias. To confirm the setup, traders look for signals such as a Market Structure Shift (MSS), Change in State of Delivery (CISD), or the appearance of a Fair Value Gap (FVG). These elements validate the reversal and provide precise levels for trade execution.
🟣 Bullish Setup
In a Bullish Venom Setup, the market first sweeps the low of the Venom Box after 09:30 AM, triggering sell-side liquidity collection. This downward move is often sharp and deceptive, designed to stop out retail long positions and attract new sellers. Once liquidity is taken, the market typically shifts direction, forming an MSS or CISD that signals a reversal to the upside.
Traders then wait for price to retrace into a Fair Value Gap or a demand-side Order Block created during the reversal leg. This retracement offers the ideal entry point for long positions. Stop-loss placement should be just below the liquidity sweep low, while profit targets are set at the Venom Box high and, if momentum continues, at higher session or daily highs.
🟣 Bearish Setup
In a Bearish Venom Setup, the process is similar but reversed. After the Initial Range is defined, if price breaks above the Venom Box high following the 09:30 AM open, it signals a false breakout designed to collect buy-side liquidity. This move usually traps eager buyers and clears out stop-losses above the high.
After the liquidity sweep, confirmation comes through an MSS or CISD pointing to a reversal downward. At this stage, traders anticipate a retracement into a Fair Value Gap or a supply-side Order Block formed during the reversal. Short entries are taken within this zone, with stop-loss positioned just above the liquidity sweep high. The logical profit targets include the Venom Box low and, in stronger bearish momentum, deeper session or daily lows.
🔵 Settings
Refine Order Block : Enables finer adjustments to Order Block levels for more accurate price responses.
Mitigation Level OB : Allows users to set specific reaction points within an Order Block, including: Proximal: Closest level to the current price. 50% OB: Midpoint of the Order Block. Distal: Farthest level from the current price.
FVG Filter : The Judas Swing indicator includes a filter for Fair Value Gap (FVG), allowing different filtering based on FVG width: FVG Filter Type: Can be set to "Very Aggressive," "Aggressive," "Defensive," or "Very Defensive." Higher defensiveness narrows the FVG width, focusing on narrower gaps.
Mitigation Level FVG : Like the Order Block, you can set price reaction levels for FVG with options such as Proximal, 50% OB, and Distal.
CISD : The Bar Back Check option enables traders to specify the number of past candles checked for identifying the CISD Level, enhancing CISD Level accuracy on the chart.
🔵 Conclusion
The ICT Venom Model is more than just a reversal setup; it is a complete intraday trading framework that blends liquidity theory, time precision, and market structure analysis. By focusing on the Initial Range between 08:00 and 09:30 AM New York time and observing how price reacts at the 09:30 AM open, traders can identify liquidity sweeps that reveal institutional intentions.
Whether in a Bullish Venom Setup or a Bearish Venom Setup, the model allows for precise entries through Fair Value Gaps (FVGs) and Order Blocks, while maintaining clear risk management with well-defined stop-loss and target levels.
Ultimately, the ICT Venom Model provides traders with a structured way to filter false moves and align their trades with institutional order flow. Its strength lies in transforming liquidity manipulation into actionable opportunities, giving intraday traders an edge in timing, accuracy, and consistency. For those who master its logic, the Venom Model becomes not only a strategy for entry and exit, but also a deeper framework for understanding how liquidity truly drives price in the New York session.
Power Hour Breakout Signals [LuxAlgo]The Power Hour Breakout tool helps traders identify key price levels from the Power Hour and spot breakouts from those levels easily. This tool features Power Hour extensions, Fibonacci levels, and session break marks for the trader's convenience.
🔶 USAGE
The Power Hour is defined as the last hour of the trading session and is set by default from 3:00 p.m. to 4:00 p.m. New York time. During this period, volume and volatility enter the market. Traders using higher timeframes may use this period to enter or exit positions by placing MOC (Market on Close) orders.
This tool highlights the Power Hour and the top and bottom price levels. Each time prices break out from these levels, a signal is displayed on the chart.
We can use the Power Hour to gauge market sentiment:
Bullish sentiment: Price trades above the Power Hour.
Mixed sentiment: Price trades within the Power Hour.
Bearish sentiment: Price trades below the Power Hour.
🔹 Displaying Power Hours and Breakouts
By default, all detected Power Hours are displayed. Traders can manually adjust this number by disabling the "Display All" parameter in the Settings panel.
Breakouts are displayed by default, too, but this feature can be disabled as well.
The chart above shows different configurations of these parameters.
🔹 Power Hour Extensions
Traders can use Power Hour extensions as potential targets for breakout signals.
In the settings panel, traders can select the percentage of the Power Hour price range to use for each extension. For example, 100% uses the full range, 200% uses the range twice, and so on.
As seen on the chart, traders can configure different percentages for the top and bottom extensions.
🔹 Fibonacci Levels
Traders can display default or custom Fibonacci levels on the Power Hour range to identify retracement opportunities and evaluate market movement strength. Each level can be enabled or disabled, as well as customized by level, color, and line style.
For example, as we can see on the chart, prices attempt to break out at the Power Hour top level, then retrace to the 0.618 Fibonacci level, and then rise to the 200% Power Hour top extension.
🔶 SETTINGS
Display Last X Power Hours: Select how many Power Hours to display or enable the Display All feature.
Power Hour (NY Time): Choose a custom Power Hour in New York time.
🔹 Breakouts
Breakouts: Enable or disable breakouts.
Bullish Breakout: Select color for bullish breakouts.
Bearish Breakout: Select color for bearish breakouts.
🔹 Extensions
Top Extension: Enable or disable the top extension and choose the percentage of Power Hour to use.
Bottom extension: Enable or disable the bottom extension and choose the percentage of Power Hour to use.
🔹 Fibonacci Levels
Display Fibonacci: Enable or disable Fibonacci levels.
Reverse: Reverse Fibonacci levels.
Levels, Colors & Style
Display Labels: Enable or disable labels and choose text size.
🔹 Style
Power Hour Colors
Extension Transparency: Choose the extension's transparency. 0 is solid, and 100 is fully transparent.
Session Breaks: Enable or disable session breaks.
Bayesian Trend Navigator [QuantAlgo]🟢 Overview
The Bayesian Trend Navigator uses Bayesian statistics to continuously update trend probabilities by combining long-term expectations (prior beliefs) and short-term observations (likelihood evidence), rather than relying solely on recent price data like many conventional indicators. This mathematical framework produces robust directional signals that naturally balance responsiveness with stability, making it suitable for traders and investors seeking statistically-grounded trend identification across diverse market environments and asset types.
🟢 How It Works
The indicator operates on Bayesian inference principles, a statistical method for updating beliefs when new evidence emerges. The system begins by establishing a prior belief - a long-term trend expectation calculated from historical price behavior. This represents the "baseline hypothesis" about market direction before considering recent developments.
Simultaneously, the algorithm collects recent market evidence through short-term trend analysis, representing the likelihood component. This captures what current price action suggests about directional momentum independent of historical context.
The core Bayesian engine then combines these elements using conjugate normal distributions and precision weighting. It calculates prior precision (inverse variance) and likelihood precision, combining them to determine a posterior precision. The resulting posterior mean represents the mathematically optimal trend estimate given both historical patterns and current reality. This posterior calculation includes intervals derived from the posterior variance, providing probabilistic confidence bounds around the trend estimate.
Finally, volatility-based standard deviation bands create adaptive boundaries around the Bayesian estimate. The trend line adjusts within these constraints, generating color transitions between bullish (green) and bearish (red) states when the posterior calculation crosses these probabilistic thresholds.
🟢 How to Use
Green/Bullish Trend Line: Posterior probability favoring upward momentum, indicating statistically favorable conditions for long positions (buy)
Red/Bearish Trend Line: Posterior probability favoring downward momentum, signaling mathematically supported timing for short positions (sell)
Rising Green Line: Strengthening bullish posterior as new evidence reinforces upward beliefs, showing increasing probabilistic confidence in trend continuation with favorable long entry conditions
Declining Red Line: Intensifying bearish posterior with accumulating downside evidence, indicating growing statistical certainty in downtrend persistence and optimal short positioning opportunities
Flattening Trends: Diminishing posterior confidence regardless of color suggests equilibrium between prior beliefs and contradictory evidence, potentially signaling consolidation or insufficient statistical clarity for high-conviction trades
🟢 Pro Tips for Trading and Investing
→ Preset Configuration Strategy: Deploy presets based on your trading horizon - Scalping preset maximizes evidence weight (0.8) for rapid Bayesian updates on 1-15 minute charts, Default preset balances prior and likelihood for general applications, while Swing Trading preset equalizes weights (0.5/0.5) for stable inference on hourly and daily timeframes.
→ Prior Weight Adjustment: Calibrate prior weight according to market regime - increase values (0.5-0.7) in stable trending markets where historical patterns remain predictive, decrease values (0.2-0.3) during regime changes or news-driven volatility when recent evidence should dominate the posterior calculation.
→ Evidence Period Tuning: Modify the evidence period based on information flow velocity. Use shorter periods (5-8 bars) for assets with continuous price discovery like cryptocurrencies, medium periods (10-15) for liquid stocks, and longer periods (15-20) for slower-moving markets to ensure adequate likelihood sample size.
→ Likelihood Weight Optimization: Adjust likelihood weight inversely to market noise levels. Higher values (0.7-0.8) work well in clean trending conditions where recent data is reliable, while lower values (0.4-0.6) help during choppy periods by maintaining stronger reliance on established prior beliefs.
→ Multi-Timeframe Bayesian Confluence: Apply the indicator across multiple timeframes, using higher timeframes (Daily/Weekly) to establish prior belief direction and lower timeframes (Hourly/15-minute) for likelihood-driven entry timing, ensuring posterior probabilities align across temporal scales for maximum statistical confidence.
→ Standard Deviation Multiplier Management: Adapt the multiplier to match current uncertainty levels. Use tighter multipliers (1.0-1.5) during low-volatility consolidations to capture early trend emergence, and wider multipliers (2.0-2.5) during high-volatility events to avoid premature signals caused by statistical noise rather than genuine posterior shifts.
→ Variance-Based Position Sizing: Monitor the implicit posterior variance through trend line stability - smooth consistent movements indicate low uncertainty warranting larger positions, while erratic fluctuations suggest high statistical uncertainty calling for reduced exposure until clearer probabilistic convergence emerges.
→ Alert-Based Probabilistic Execution: Utilize trend change alerts to capture every statistically significant posterior shift from bullish to bearish states or vice versa without constantly monitoring the charts.
Seasonal Pattern DecoderSeasonal Pattern Decoder
The Seasonal Pattern Decoder is a powerful tool designed for traders and analysts who want to uncover and leverage seasonal tendencies in financial markets. Instead of cluttering your chart with complex visuals, this indicator presents a clean, intuitive table that summarizes historical monthly performance, allowing you to spot recurring patterns at a glance.
How It Works
The indicator fetches historical monthly data for any symbol and calculates the percentage return for each month over a specified number of years. It then organizes this data into a comprehensive table, providing a clear, year-by-year and month-by-month breakdown of performance.
Key Features
Historical Performance Table: Displays monthly returns for up to a user-defined number of years, making it easy to compare performance across different periods.
Color-Coded Heatmap: Each cell is colored based on the performance of the month. Strong positive returns are shaded in green, while strong negative returns are shaded in red, allowing for immediate visual analysis of monthly strength or weakness.
Annual Summary: A "Σ" column shows the total percentage return for each full calendar year.
AVG Row: Calculates and displays the average return for each month across all the years shown in the table.
WR Row: Shows the "Win Rate" for each month, which is the percentage of time that month had a positive return. This is crucial for identifying high-probability seasonal trends.
How to Use
Add the "Seasonal Pattern Decoder" indicator to your chart. Note that it works best on Daily, Weekly, or Monthly timeframes. A warning message will be displayed on intraday charts.
In the indicator settings, adjust the "Lookback Period" to control how many years of historical data you want to analyze.
Use the "Show Years Descending" option to sort the table from the most recent year to the oldest.
The "Heat Range" setting allows you to adjust the sensitivity of the color-coding to fit the volatility of the asset you are analyzing.
This tool is ideal for confirming trading biases, developing seasonal strategies, or simply gaining a deeper understanding of an asset's typical behavior throughout the year.
## Disclaimer
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management.
Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.
2MA Cross with Glow Effects 2MA Cross with Glow Effects
Overview
This indicator enhances the classic moving average crossover strategy with a dynamic and visually appealing "glow" effect. It plots two customisable moving averages on the chart and illuminates the area around them when a crossover occurs, providing a clear and intuitive signal for potential trend changes.
Features
Dual Moving Averages: Configure two independent moving averages to suit your trading style.
Multiple MA Types: Choose from a wide range of moving average types for each line, including:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
RMA (Relative Moving Average)
HMA (Hull Moving Average)
ALMA (Arnaud Legoux Moving Average)
LSMA (Least Squares Moving Average)
Customisable Appearance: Adjust the length, line width, and color for each moving average.
Unique Glow Effect: A configurable glow appears around the moving averages during a crossover, providing an unmistakable visual cue. You can control the intensity and width of this effect.
How It Works
The core of the indicator is the calculation of two moving averages based on the user's selected type and length. The script continuously monitors the relationship between these two MAs.
The "glow" is a sophisticated visual effect achieved by using Pine Script's `fill()` function to create a smooth, colored gradient around the MA lines. The glow is conditionally rendered:
When the first moving average (MA1) crosses above the second (MA2), MA1 will glow above its line.
When MA1 crosses below MA2, it will glow below its line.
The same logic is applied to MA2, creating a dual-glow effect that clearly shows which MA is dominant.
To ensure a consistent visual appearance across different chart timeframes, the indicator incorporates a `tfMultiplier` that automatically adjusts the glow's width.
How to Use
This indicator can be used in the same way as a standard moving average crossover strategy
Bullish Signal: Look for the shorter-period moving average to cross above the longer-period moving average. The glow effect will make this event highly visible.
Bearish Signal: Look for the shorter-period moving average to cross below the longer-period moving average.
Traders can use this for trend identification, entry/exit signals, and as a component of a more comprehensive trading system. For example, a common setup is using a 20-period EMA and a 50-period EMA to capture medium-term trends.
Disclaimer
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management.
Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.
Consecutive Candles CounterThe Consecutive Candles Counter is a simple yet powerful indicator designed to help traders identify and analyze consecutive red or green candle patterns on any timeframe. This tool automatically counts unbroken streaks of bullish or bearish candles within your specified date range, making it easier to spot momentum trends and potential reversal points.
Key Features
Dual Mode Tracking: Toggle between counting consecutive red (bearish) or green (bullish) candles with a single click
Custom Date Range: Set specific start and end dates to analyze historical patterns or focus on recent price action
Visual Streak Display: Clean line graph showing the progression of consecutive candles over time
Real-Time Information Table: Displays current streak count, candle type, and date range status at a glance
Customizable Interface:
Show/hide the information table
Adjust table size from Tiny to Huge
Color-coded visuals (red for bearish, green for bullish)
Works on All Timeframes: Optimized for daily charts but functions on any timeframe
How It Works
The indicator monitors each candle's close price relative to its open price:
Red Candle: Close < Open (bearish)
Green Candle: Close > Open (bullish)
When consecutive candles of the selected type appear, the counter increases. The streak resets to zero when:
An opposite color candle appears
The price action moves outside your specified date range
Use Cases
Momentum Trading: Identify extended runs of bullish or bearish candles that may signal strong trends
Reversal Detection: Spot when consecutive streaks end, potentially indicating trend exhaustion
Pattern Analysis: Study historical consecutive candle patterns to understand market behavior
Risk Management: Recognize when a trend might be overextended
Backtesting: Test strategies based on consecutive candle counts within specific date ranges
Market Structure DashboardThis indicator displays a **multi-timeframe dashboard** that helps traders track market structure across several horizons: Monthly, Weekly, Daily, H4, H1, M15, and M5.
It identifies the current trend (Bullish, Bearish, or Neutral) based on the progression of **swing highs and lows** (HH/HL, LH/LL).
For each timeframe, the dashboard shows:
* The **current structure** (Bullish, Bearish, Neutral) with a clear color code (green, red, gray).
* **Pivot information**:
* either the latest swing high/low values,
* or the exact date and time of their occurrence (user-selectable in the settings).
An integrated **alert system** notifies you whenever the market structure changes (e.g., "Daily: Neutral → Bullish").
### Key Features:
* Clear overview of multi-timeframe market structures.
* Customizable pivot info display (values or timestamps).
* Built-in alerts on trend changes.
* Compact and readable dashboard, displayed in the top-right corner of the chart.
This tool is ideal for traders who want to quickly assess the **overall market structure** across multiple timeframes and be instantly alerted to potential reversals.
Custom Period High LowSummary
I'm moving over from TradeStation and default Pre-Market Session there is 0800-0930. Default PMS on TradingView is 0400-0930. I find that the 0800-0930 High and Low are more accurate levels. This script addresses exactly that - it allows you to grab High and Low of any custom time slot.
This script started as Custom Pre-Market H/L, that's why the shading. Then I realized it can be used for any custom time period, so I renamed it to PERIOD H/L.
Limitations
Different tickers are provided by different exchanges, in different time zones. The end result is that the SAME session time (0800-0930) may shift for different tickers. Examples:
- SPY : 0800-0930 // no shift: NYSE, in NYC
- ES1!: 0900-1030 // shifted 1 hr ahead: CME, in Chicago
- NQ1!: 0900-1030 // shifted 1 hr ahead: CME, in Chicago
To see for yourself, set Time Zone config parameter to empty string for non-NYC tickers like ES1! or NQ1 and watch times for shaded and non-shaded areas.
Why TV chooses to go by the ticker's TZ, and not the TZ that's configured in the lower right corner of my TV screen - I have no idea. But asking for user's TZ is how you fix it.
If you know how I can get that value so I don't have to ask the user - let me know. I'm new to TV.
Hacks
You can use it more than once for, say, Opening Range Breakout. Configure your custom PMS for 0930-0945, change lines, remove area fill - and ta-da - you have High and Low for first 15 min! See release chart for the example.
EMA 50/200/100 [NevoxCore]⯁ OVERVIEW
EMA 50/200/100 is a clean EMA trio for trend mapping.
It highlights the classic 50/200 bias, keeps a constant EMA-100 anchor in white, plots cross dots, and can mark the first pullback back to a target EMA within an ATR tolerance.
Solid bias bar coloring (Nevox pink/orange or classic green/red) and compact visuals make it fast and reliable with no repainting.
⯁ HOW IT WORKS
Calculates Fast EMA 50, Slow EMA 200, and an always-on EMA 100 (white).
Bias = Fast vs. Slow: Fast > Slow → long regime; Fast < Slow → short regime.
Cross dots appear at confirmed 50/200 crosses (once per bar close).
First Pullback: after a cross, the script arms a window and marks the first return to the chosen EMA (100 or Fast) within ATR × tolerance.
Bar coloring is solid by regime (pink/orange by default, classic green/red when enabled).
No lookahead; signals confirm on bar close.
⯁ KEY FEATURES
• EMA 50/200 with EMA-100 anchor (always visible, white)
• Cross Up/Down dots (style-configurable)
• First Pullback marker (toggle) with ATR tolerance & window
• Solid bias bar coloring (Nevox or classic)
• Optional bias fill between Fast/Slow
• Minimal 1-cell HUD (OFF by default)
• Ready-made alerts with clean prefixes
⯁ SETTINGS (quick)
Visual: Classic colors toggle; Bias Fill (ON); Fill Transparency (85); Bar Color (solid, ON; auto-disabled when Classic is ON).
Core: Source = Close; EMA Fast = 50; EMA Slow = 200.
Pullback: Show marker (ON); Target EMA = EMA 100; Tolerance × ATR = 0.5; Max Bars After Cross = 40; ATR Length = 14.
HUD: Mini HUD OFF; Position selector.
Status Line: OFF by default (optional EMA values).
⯁ ALERTS (built-in)
• Cross Up (Fast above Slow) — confirmed at bar close
• Cross Down (Fast below Slow) — confirmed at bar close
• First Pullback LONG — first return to target after long cross
• First Pullback SHORT — first return to target after short cross
Prefix: EMA and message includes {{ticker}} {{interval}} @ {{close}}.
Suggested: set TradingView alerts to Once Per Bar Close.
⯁ HOW TO USE
• Read trend quickly: 50 above 200 with a rising 100 = healthy long bias.
• Use the First Pullback to time entries after a cross (default target = EMA 100).
• Tune Tolerance × ATR by symbol/TF; 0.3–0.7 is a good start.
• Keep charts clean: bias fill + barcolor ON; switch to Classic for green/red if preferred.
⯁ WHY IT’S DIFFERENT
It preserves the classic 50/200 logic but adds a consistent EMA-100 anchor, a single, one-shot pullback detector, and clean bias bars — all in a lightweight overlay with no repaint tricks.
⯁ DISCLAIMER
Backtest and paper-trade before using live. Not financial advice. Performance depends on market, timeframe, and parameters.
Adaptive Machine Learning Trading System [PhenLabs]📊Adaptive ML Trading System
Version: PineScript™v6
📌Description
The Adaptive ML Trading System is a sophisticated machine learning indicator that combines ensemble modeling with advanced technical analysis. This system uses XGBoost, Random Forest, and Neural Network algorithms to generate high-confidence trading signals while incorporating robust risk management features. Traders benefit from objective, data-driven decision-making that adapts to changing market conditions.
🚀Points of Innovation
• Machine Learning Ensemble - Three integrated models (XGBoost, Random Forest, Neural Network)
• Confidence-Based Trading - Only executes trades when ML confidence exceeds threshold
• Dynamic Risk Management - ATR-based stop loss and max drawdown protection
• Adaptive Position Sizing - Volatility-adjusted position sizing with confidence weighting
• Real-Time Performance Metrics - Live tracking of win rate, Sharpe ratio, and performance
• Multi-Timeframe Feature Analysis - Adaptive lookback periods for different market regimes
🔧Core Components
• ML Ensemble Engine - Weighted combination of XGBoost, Random Forest, and Neural Network outputs
• Feature Normalization System - Advanced preprocessing with custom tanh/sigmoid activation
• Risk Management Module - Dynamic position sizing and drawdown protection
• Performance Dashboard - Real-time metrics and risk status monitoring
• Alert System - Comprehensive alert conditions for entries, exits, and risk events
🔥Key Features
• High-confidence ML signals with customizable confidence thresholds
• Multiple trading modes (Conservative, Balanced, Aggressive) for different risk profiles
• Integrated stop loss and risk management with ATR-based calculations
• Real-time performance metrics including win rate and Sharpe ratio
• Comprehensive alert system with entry, exit, and risk management notifications
• Visual confidence bands and threshold indicators for easy signal interpretation
🎨Visualization
• ML Signal Line - Primary signal output ranging from -1 to +1
• Confidence Bands - Visual representation of model confidence levels
• Threshold Lines - Customizable buy/sell threshold levels
• Position Histogram - Current market position visualization
• Performance Tables - Real-time metrics display in customizable positions
📖Usage Guidelines
Model Configuration
• Confidence Threshold: Default 0.55, Range 0.5-0.95 - Minimum confidence for signals
• Model Sensitivity: Default 0.9, Range 0.1-2.0 - Adjusts signal sensitivity
• Ensemble Mode: Conservative/Balanced/Aggressive - Trading style preference
• Signal Threshold: Default 0.55, Range 0.3-0.9 - ML signal threshold for entries
Risk Management
• Position Size %: Default 10%, Range 1-50% - Portfolio percentage per trade
• Max Drawdown %: Default 15%, Range 5-30% - Maximum allowed drawdown
• Stop Loss ATR: Default 2.0, Range 0.5-5.0 - Stop loss in ATR multiples
• Dynamic Sizing: Default true - Volatility-based position adjustment
Display Settings
• Show Signals: Default true - Display entry/exit signals
• Show Threshold Signals: Default true - Display ±0.6 threshold crosses
• Show Confidence Bands: Default true - Display ML confidence levels
• Performance Dashboard: Default true - Show metrics table
✅Best Use Cases
• Swing trading with 1-5 day holding periods
• Trend-following strategies in established trends
• Volatility breakout trading during high-confidence periods
• Risk-adjusted position sizing for portfolio management
• Multi-timeframe confirmation for existing strategies
⚠️Limitations
• Requires sufficient historical data for accurate ML predictions
• May experience low confidence periods in choppy markets
• Performance varies across different asset classes and timeframes
• Not suitable for very short-term scalping strategies
• Requires understanding of basic risk management principles
💡What Makes This Unique
• True machine learning ensemble with multiple model types
• Confidence-based trading rather than simple signal generation
• Integrated risk management with dynamic position sizing
• Real-time performance tracking and metrics
• Adaptive parameters that adjust to market conditions
🔬How It Works
Feature Calculation: Computes 20+ technical features from price/volume data
Feature Normalization: Applies custom normalization for ML compatibility
Ensemble Prediction: Combines XGBoost, Random Forest, and Neural Network outputs
Signal Generation: Produces confidence-weighted trading signals
Risk Management: Applies position sizing and stop loss rules
Execution: Generates alerts and visual signals based on thresholds
💡Note:
This indicator works best on daily and 4-hour timeframes for most assets. Ensure you understand the risk management settings before live trading. The system includes automatic risk-off modes that halt trading during excessive drawdown periods.
Market Sentiment Trend Gauge [LevelUp]Market Sentiment Trend Gauge simplifies technical analysis by mathematically combining momentum, trend direction, volatility position, and comparison against a market benchmark, into a single trend score from -100 to +100. Displayed in a separate pane below your chart, it resolves conflicting signals from RSI, moving averages, Bollinger Bands, and market correlations, providing clear insights into trend direction, strength, and relative performance.
THE PROBLEM MARKET SENTIMENT TREND GAUGE (MSTG) SOLVES
Traditional indicators often produce conflicting signals, such as RSI showing overbought while prices rise or moving averages indicating an uptrend despite market underperformance. MSTG creates a weighted composite score to answer: "What's the overall bias for this asset?"
KEY COMPONENTS AND WEIGHTINGS
The trend score combines
▪ Momentum (25%): Normalized 14-period RSI, capped at ±100.
▪ Trend Direction (35%): 10/21-period EMA relationships,
▪ Volatility Position (20%): Price position, 20-period Bollinger Bands, capped at ±100.
▪ Market Comparison (20%): Daily performance vs. SPY benchmark, capped at ±100.
Final score = Weighted sum, smoothed with 5-period EMA.
INTERPRETING THE MSTG CHART
Trend Score Ranges and Colors
▪ Bright Green (>+30): Strong bullish; ideal for long entries.
▪ Light Green (+10 to +30): Weak bullish; cautiously favorable.
▪ Gray (-10 to +10): Neutral; avoid directional trades.
▪ Light Red (-10 to -30): Weak bearish; exercise caution.
▪ Bright Red (<-30): Strong bearish; high-risk for longs, consider shorts.
Reference Lines
▪ Zero Line (Gray): Separates bullish/bearish; crossovers signal trend changes.
▪ ±30 Lines (Dotted, Green/Red): Thresholds for strong trends.
▪ ±60 Lines (Dashed, Green/Red): Extreme strength zones (not overbought/oversold); manage risk (tighten stops, partial profits) but trends may persist.
Background Colors
▪ Green Tint (>+20): Bullish environment; favorable for longs.
▪ Red Tint (<-20): Bearish environment; caution for longs.
▪ Light Gray Tint (-20 to +20): Neutral/range-bound; wait for signals.
Extreme Readings vs. Traditional Signals
MSTG ±60 indicates maximum alignment of all factors, not reversals (unlike RSI >70/<30). Use for risk management, not automatic exits. Strong trends can sustain extremes; breakdowns occur below +30 or above -30.
INFORMATION TABLE INTERPRETATION
Trend Score Symbols
▲▲ >+30 strong bullish
▲ +10 to +30
● -10 to +10 neutral
▼ -30 to -10
▼▼ <-30 strong bearish
Colors: Green (positive), White (neutral), Red (negative).
Momentum Score
+40 to +100 strong bullish
0 to +40 moderate bullish
-40 to 0 moderate bearish
-100 to -40 strong bearish
Market vs. Stock
▪ Green: Stock outperforming market
▪ Red: Stock underperforming market
Example Interpretations:
-0.45% / +1.23% (Green): Market down, stock up = Strong relative strength
+2.10% / +1.50% (Red): Both rising, but stock lagging = Relative weakness
-1.20% / -0.80% (Green): Both falling, but stock declining less = Defensive strength
UNDERSTANDING EXTREME READINGS VS TRADITIONAL OVERBOUGHT/OVERSOLD
⚠️ Critical distinctions
Traditional Overbought/Oversold Signals:
▪ Single indicator (like RSI >70 or <30) showing momentum excess
▪ Often suggests immediate reversal or pullback expected
▪ Based on "price moved too far, too fast" concept
MSTG Extreme Readings (±60):
▪ Composite alignment of 4 different factors (momentum, trend, volatility, relative strength)
▪ Indicates maximum strength in current direction
▪ NOT a reversal signal - means "all systems extremely bullish/bearish"
Key Differences:
▪ RSI >70: "Price got ahead of itself, expect pullback"
▪ MSTG >+60: "Everything is extremely bullish right now"
▪ Strong trends can maintain extreme MSTG readings during major moves
▪ Breakdowns happen when MSTG falls below +30, not at +60
Proper Usage of Extreme Readings:
▪ Risk Management: Tighten stops, take partial profits
▪ Position Sizing: Reduce new position sizes at extremes
▪ Trend Continuation: Watch for sustained extreme readings in strong markets
▪ Exit Signals: Look for breakdown below +30, not reversal from +60
TRADING WITH MSTG
Quick Assessment
1. Check trend symbol for direction.
2. Confirm momentum strength.
3. Note relative performance color.
Examples:
▲▲ 55.2 (Green), Momentum +28.4, Outperforming: Strong buy setup.
▼ -18.6 (Red), Momentum -43.2, Underperforming: Defensive positioning.
Entry Conditions
▪ Long: stock outperforming market
- Score >+30 (bright green)
- Sustained green background
- ▲▲ symbol,
▪ Short: stock underperforming market
- Score <-30 (bright red)
- Sustained red background
- ▼▼ symbol
Avoid Trading When:
▪ Gray zone (-10 to +10).
▪ Rapid color changes or frequent zero-line crosses (choppy market).
▪ Gray background (range-bound).
Risk Management:
▪ Stop Loss: Exit on zero-line crossover against position.
▪ Take Profit: Partial at ±60 for risk control.
▪ Position Sizing: Larger when signals align; smaller in extremes or mixed conditions.
KEY ADVANTAGES
▪ Unified View: Weighted composite reduces noise and conflicts.
▪ Visual Clarity: 5-color system with gradients for rapid recognition.
▪ Market Context: Relative strength vs. SPY identifies leaders/laggards.
▪ Flexibility: Works across timeframes (1-min to weekly); customizable table.
▪ Noise Reduction: EMA smoothing minimizes false signals.
EXAMPLES
Strong Bull: Trend Score 71.9, Momentum Score 76.9
Neutral: Trend Score 0.1, Momentum Score -9.2
Strong Bear: Trend Score -51.7, Momentum Score -51.5
PERFORMANCE AND LIMITATIONS
Strengths: Trend identification, noise reduction, relative performance versus market.
Limitations: Lags at turning points, less effective in extreme volatility or non-trending markets.
Recommendations: View on multiple timeframes, combine with price action and fundamentals.
Relative Performance Indicator - TrendSpider StyleRelative Performance Indicator - TrendSpider Style
📈 Overview
This Relative Performance (RP) indicator measures how your stock is performing compared to a benchmark index, displayed as a percentile ranking from 0-100. Based on TrendSpider's methodology, it answers the critical question: "Is this stock a leader or a laggard?"
Unlike simple ratio charts, this indicator uses percentile ranking to normalize relative performance, making it easy to identify when a stock is showing exceptional strength (>80) or concerning weakness (<20) compared to its historical relationship with the benchmark.
✨ Key Features
Three Calculation Modes:
Quarterly: 3-month relative performance for swing trading
Yearly: Weighted 4-quarter performance for position trading
TechRank: Composite of 6 technical indicators for multi-factor analysis
Clean Visual Design:
Green fills above 80 (strong outperformance)
Red fills below 20 (significant underperformance)
Dotted median line at 50 for quick reference
Current value label for instant reading
Flexible Benchmarks:
Compare against major indices (SPY, QQQ, IWM)
Sector ETFs for within-sector analysis
Custom symbols for specialized comparisons
Built-in Alerts:
Strong performance zone entry (>80)
Weak performance zone entry (<20)
Median crossovers (50 level)
📊 How To Use
Buy Signals:
RP crosses above 80: Stock entering leadership status
RP holding above 60: Maintaining relative strength
RP rising while price consolidating: Accumulation phase
Sell/Avoid Signals:
RP drops below 50: Losing relative strength
RP below 20: Significant underperformance
RP falling while price rising: Bearish divergence
Sector Rotation:
Compare multiple assets to find strongest sectors
Rotate into high RP assets (>70)
Exit low RP positions (<30)
🎯 Reading The Values
80-100: Exceptional outperformance - Strong buy/hold
60-80: Moderate outperformance - Hold positions
40-60: Market perform - No edge
20-40: Underperformance - Caution/reduce
0-20: Severe underperformance - Avoid/exit
⚙️ Calculation Method
Calculates percentage performance of both your stock and the benchmark
Finds the performance differential
Ranks this differential against historical values using percentile analysis
Normalizes to 0-100 scale for easy interpretation
This percentile approach adapts to different market conditions and volatility regimes, providing consistent signals whether in trending or choppy markets.
💡 Pro Tips
For Growth Stocks: Use quarterly mode with QQQ as benchmark
For Value Stocks: Use yearly mode with SPY as benchmark
For Small Caps: Compare against IWM, not SPY
For Sector Analysis: Use sector ETFs (XLK, XLF, XLE, etc.)
Combine with Price Action: High RP + price breakout = powerful signal
⚠️ Important Notes
RP is relative, not absolute - stocks can fall with high RP if the market falls harder
Choose appropriate benchmarks for meaningful comparisons
Best used in conjunction with price action and volume analysis
Historical lookback period affects sensitivity (adjustable in settings)
🔧 Customization
Fully customizable visual settings, thresholds, calculation periods, and smoothing options. Adjust the normalization lookback period (default 252 days) to fine-tune sensitivity to your trading timeframe.
📌 Credit
Inspired by TrendSpider's Relative Performance implementation, adapted for TradingView with enhanced customization options and Pine Script v6 optimization.
Tags to include: relativeperformance, relativestrength, percentile, ranking, sectorrotation, benchmark, outperformance, trendspider, marketbreadth, strengthindicator
Category: Momentum Indicators / Trend Analysis
Feel free to modify this description to match your style or add any specific points you want to emphasize!
ActivTrades Europe Market Pulse – Ion JaureguiActivTrades Europe Market Pulse Indicator – Detailed Description
The ActivTrades Europe Market Pulse Indicator is a market analysis tool designed to assess overall risk sentiment in European financial markets. Unlike trading signals, it provides a clear view of market conditions, helping traders and analysts understand whether the market environment favors risk-taking or caution.
How it Works:
The indicator combines three key metrics to gauge European market sentiment:
1. Equity Index and Sector Performance:
o Compares the relative position of major European equity indices and sector ETFs to their 50-day moving averages.
o A performance above the moving average signals market strength, while below indicates relative weakness, reflecting investors’ appetite for risk.
2. German 10-Year Government Bond Yield:
o Monitors the level of the German 10-year bond yield relative to its 10-day moving average.
o Yields above the moving average indicate greater confidence and risk tolerance, while yields below suggest caution or risk aversion.
3. Point-Based Scoring System:
o Each instrument is assigned points depending on whether it is above or below its moving average.
o Points are combined to generate an overall Risk-On/Risk-Off score, which oscillates between -5 (Extreme Risk-Off) and +5 (Extreme Risk-On), providing a quantitative measure of European market sentiment.
Visual Output:
• The results are displayed as a colored histogram, allowing quick interpretation of market conditions.
• Labeled zones include:
o Extreme Risk-On: Indicates bullish conditions with high risk appetite.
o Extreme Risk-Off: Reflects heightened market caution or fear.
o Neutral Zone: Suggests mixed or balanced sentiment.
Purpose and Use:
• Provides investors, analysts, and traders with insight into the prevailing European market mood.
• Supports informed decision-making and risk management strategies without offering explicit buy or sell signals.
________________________________________
Disclaimer:
The information provided does not constitute investment research. It has not been prepared in accordance with legal requirements designed to promote the independence of investment research and should be considered marketing communication.
All information is prepared by ActivTrades ("AT") and does not contain a record of AT’s prices or constitute an offer or solicitation for a transaction in any financial instrument. No representation is made regarding its accuracy or completeness.
This material does not consider the specific investment objectives or financial situation of any individual. Past performance and forecasts are not reliable indicators of future results. AT provides execution-only services. Any action taken based on this information is at the recipient’s own risk. Political and central bank risks are unpredictable. Platform tools do not guarantee success.
Indicators Risk Advice: The indicator and publications do not constitute financial, investment, trading, or other advice. They are designed to provide trend guidance and filter market noise for international users and are not intended for use by users in Spain.
BOS & ChoCh Market StructureBOS/ChoCh Market Structure Indicator
This indicator identifies key market structure shifts using Break of Structure (BOS) and Change of Character (ChoCh) signals based on pivot point analysis.
Concept
Break of Structure (BOS) occurs when price breaks through a significant pivot level in the direction of the current trend, signaling trend continuation. A bullish BOS happens when price breaks above a pivot high while in an uptrend, while a bearish BOS occurs when price breaks below a pivot low during a downtrend.
Change of Character (ChoCh) signals a potential trend reversal. It occurs when price breaks against the prevailing trend - breaking above a pivot high while in a downtrend, or breaking below a pivot low while in an uptrend. This indicates the market structure is shifting.
How It Works
The indicator automatically detects swing highs and lows using configurable pivot strength. When price breaks these levels, it plots:
Color-coded labels (cyan for bullish breaks, red for bearish breaks)
Small horizontal lines marking the exact breakout level
Extended lines from pivot points showing key support/resistance levels
Settings
Pivot Strength - Number of candles on each side required to confirm a swing high/low (default: 5). Higher values identify more significant pivots but produce fewer signals.
Breakout Confirmation - Choose whether breakouts require a candle close beyond the level ("Close") or just a wick touch ("Wick").
Show BOS / Show ChoCh - Toggle visibility of Break of Structure and Change of Character signals independently.
Colors - Customize the colors for bullish (cyan) and bearish (red) signals.
Perfect for swing traders and market structure analysis.
Sector RSI (Auto-Select)This indicator measures the relative strength momentum of any stock against its most closely correlated sector ETF, using the Relative Strength Index (RSI).
Auto sector selection: The script computes correlations between your symbol’s short-term returns and all major SPDR sector ETFs (XLB, XLE, XLF, XLI, XLK, XLP, XLU, XLV, XLY, XTN). The sector with the highest correlation is automatically chosen as the benchmark.
Sector vs Symbol RSI: It calculates RSI (default 14-period) for both the chosen sector and the current chart’s symbol.
Display modes:
Line mode: Plots both RSIs with colored fill (red if the sector RSI is stronger, green if the symbol RSI is stronger).
Histogram mode: Shows the difference between Sector RSI and Symbol RSI as a column chart.
RSI bands: Standard 70/50/30 reference lines are available in line mode.
Status line: The selected sector’s ticker is shown on the TradingView status line so you always know which sector is being used.
Use Cases:
Identify whether a stock’s momentum is driven by its sector or if it’s showing independent relative strength.
Detect sector rotations: when the stock begins to outperform or underperform its sector on momentum basis.
Combine with absolute RSI levels (overbought/oversold) to filter signals.
Notes:
This tool infers sector membership via rolling correlation, not from static classification metadata. This means in some cases (e.g. diversified companies or news shocks) the “best” sector may not be the official one, but the one most correlated in the current market regime.
Use min positive correlation input to filter out weak matches and enforce a fallback (defaults to Technology XLK).