SMC BOS - Structure Breaks & Median Continuation ProjectionsThis tool shows what usually happens after a Break of Structure (BOS).
It scans past BOS events on your chart, finds the ones most similar to the latest break (using ATR to filter by volatility), and then plots the median continuation path.
Optional percentile bands (P10–P90) display the possible range of outcomes around the median.
Key features:
• Automatic detection of bullish and bearish BOS events
• Library of past BOS with adjustable size and spacing
• ATR-based similarity and recency weighting
• Median continuation projections with optional percentile bands
• Customizable colors, signals, and stats table
• Works on any market and timeframe
Use cases:
• See how price typically behaves after a BOS
• Support SMC analysis with data-driven projections
• Improve trade planning by visualizing likely continuations
• Apply across crypto, forex, stocks, and futures
Originality:
Instead of only marking BOS, this script learns from history and projects forward the median path of the most similar past cases, adjusted for volatility. It turns BOS signals into practical continuation scenarios.
Instructions:
Add the indicator to your chart. When a BOS is detected, the projection is drawn automatically.
Use the settings to adjust the library, ATR weighting, projection style, percentile bands, and the display of signals or stats.
For questions or customization, contact Julien Eche (Julien_Eche) on TradingView.
Trendanalyse
EMA50 + SR Boxes + VP Right + ATR + SL% + Entries + SentimentThis indicator combines several pro-grade building blocks to read the market at a glance:
EMA50 as a trend filter.
Smart Support/Resistance zones (rectangles) detected where price has touched multiple times.
“U / Inverted U” markers (confirmed pivots).
Optional Buy/Sell signals: only when a U appears inside a support zone with price above the EMA50 (buy), or an inverted U inside a resistance zone with price below the EMA50 (sell).
Simplified right-side Volume Profile (with a special Forex fallback if volume isn’t usable).
ATR & SL%: displays current ATR and an SL% based on ATR(100) Daily / Close × 100, attached to the latest candle.
Advanced Trading System - [WOLONG X DBG]Advanced Multi-Timeframe Trading System
Overview
This technical analysis indicator combines multiple established methodologies to provide traders with market insights across various timeframes. The system integrates SuperTrend analysis, moving average clouds, MACD-based candle coloring, RSI analysis, and multi-timeframe trend detection to suggest potential entry and exit opportunities for both swing and day trading approaches.
Methodology
The indicator employs a multi-layered analytical approach based on established technical analysis principles:
Core Signal Generation
SuperTrend Engine: Utilizes adaptive SuperTrend calculations with customizable sensitivity (1-20) combined with SMA confirmation filters to identify potential trend changes and continuations
Braid Filter System: Implements moving average filtering using multiple MA types (McGinley Dynamic, EMA, DEMA, TEMA, Hull, Jurik, FRAMA) with percentage-based strength filtering to help reduce false signals
Multi-Timeframe Analysis: Analyzes trend conditions across 10 different timeframes (1-minute to Daily) using EMA-based trend detection for broader market context
Advanced Features
MACD Candle Coloring: Applies dynamic 4-level candle coloring system based on MACD histogram momentum and signal line relationships for visual trend strength assessment
RSI Analysis: Identifies potential reversal areas using RSI oversold/overbought conditions with SuperTrend confirmation
Take Profit Analysis: Features dual-mode TP detection using statistical slope analysis and Parabolic SAR integration for exit timing analysis
Key Components
Signal Types
Primary Signals: Green ▲ for potential long entries, Red ▼ for potential short entries with trend and SMA alignment
Reversal Signals: Small circular indicators for RSI-based counter-trend possibilities
Take Profit Markers: X-cross symbols indicating statistical TP analysis zones
Pullback Signals: Purple arrows for potential trend continuation entries using Parabolic SAR
Visual Elements
8-Layer MA Cloud: Customizable moving average cloud system with 3 color themes for trend visualization
Real-Time Dashboard: Multi-timeframe trend analysis table showing bullish/bearish status across all timeframes
Dynamic Candle Colors: 4-intensity MACD-based coloring system (ranging from light to strong trend colors)
Entry/SL/TP Labels: Automatic calculation and display of suggested entry points, stop losses, and multiple take profit levels
Usage Instructions
Basic Configuration
Sensitivity Setting: Start with default value 6
Increase (7-15) for more frequent signals in volatile markets
Decrease (3-5) for higher quality signals in trending markets
MA Filter Type: McGinley Dynamic recommended for smoother signals
Filter Strength: Set to 80% for balanced filtering, adjust based on market conditions
Signal Interpretation
Long Entry: Green ▲ suggests when price crosses above SuperTrend with bullish SMA alignment
Short Entry: Red ▼ suggests when price crosses below SuperTrend with bearish SMA alignment
Reversal Opportunities: Small circles indicate RSI-based counter-trend analysis
Take Profit Zones: X-crosses mark statistical TP areas based on slope analysis
Dashboard Analysis
Green Cells: Bullish trend detected on that timeframe
Red Cells: Bearish trend detected on that timeframe
Multi-Timeframe Confluence: Look for alignment across multiple timeframes for stronger signal confirmation
Risk Management Features
Automatic Calculations
ATR-Based Stop Loss: Dynamic stop loss calculation using ATR multiplier (default 1.9x)
Multiple Take Profit Levels: Three TP targets with 1:1, 1:2, and 1:3 risk-reward ratios
Position Sizing Guidance: Entry labels display suggested price levels for order placement
Confirmation Requirements
Trend Alignment: Requires SuperTrend and SMA confirmation before signal generation
Filter Validation: Braid filter must show sufficient strength before signals activate
Multi-Timeframe Context: Dashboard provides broader market context for decision making
Optimal Settings
Timeframe Recommendations
Scalping: 1M-5M charts with sensitivity 8-12
Day Trading: 15M-1H charts with sensitivity 6-8
Swing Trading: 4H-Daily charts with sensitivity 4-6
Market Conditions
Trending Markets: Reduce sensitivity, increase filter strength
Ranging Markets: Increase sensitivity, enable reversal signals
High Volatility: Adjust ATR risk factor to 2.0-2.5
Advanced Features
Customization Options
MA Cloud Periods: 8 customizable periods for cloud layers (default: 2,6,11,18,21,24,28,34)
Color Themes: Three professional color schemes plus transparent option
Dashboard Position: 9 positioning options with 4 size settings
Signal Filtering: Individual toggle controls for each signal type
Technical Specifications
Moving Average Types: 21 different MA calculations including advanced types (Jurik, FRAMA, VIDA, CMA)
Pullback Detection: Parabolic SAR with customizable start, increment, and maximum values
Statistical Analysis: Linear regression slope calculation for trend-based TP analysis
Important Limitations
Lagging Nature: Some signals may appear after potential entry points due to confirmation requirements
Ranging Markets: May produce false signals during extended sideways price action
High Volatility: Requires parameter adjustment during news events or unusual market conditions
Computational Load: Multiple timeframe analysis may impact performance on slower devices
No Guarantee: All signals are suggestions based on technical analysis and may be incorrect
Educational Disclaimers
This indicator is designed for educational and analytical purposes only. It represents a technical analysis tool based on mathematical calculations of historical price data and should not be considered as financial advice or trading recommendations.
Risk Warning: Trading involves substantial risk of loss and is not suitable for all investors. Past performance of any trading system or methodology is not necessarily indicative of future results. The high degree of leverage can work against you as well as for you.
Important Notes:
Always conduct your own analysis before making trading decisions
Use appropriate position sizing and risk management strategies
Never risk more than you can afford to lose
Consider your investment objectives, experience level, and risk tolerance
Seek advice from qualified financial professionals when needed
Performance Disclaimer: Backtesting results do not guarantee future performance. Market conditions change constantly, and what worked in the past may not work in the future. Always paper trade new strategies before risking real capital.
EMA & VWAP Precision Overlay📢WELCOME TO FUTURE YOU!
📈 This isn’t your grandma’s moving average script.
This is pure alpha visualization. We're talking 9, 21, 50, and 200 EMAs. Plus VWAP Session AND Anchored VWAP — all dynamically labeled so you know exactly where price is cooking.
🚀 Features:
Toggle lines like a boss
Label everything (or nothing, if you’re into minimalist flexing)
Anchored VWAP for sniper entries (you pick the start)
Labels shift forward so your candles don’t cry
Built for traders who actually care about levels and not just vibes. Whether you’re scalping dog coins or trend-riding BTC, this thing keeps your chart clean, informative, and slightly intimidating.
I use it. It works. You should probably use it too.
If it gives you psychic powers — you're welcome.
If it doesn't — still looks cool.
Super SignalWhen all lines are below the 20 line its a super signal to buy. When all trends are above the 80 line it is a super signal to sell.
Triple RSI | MisinkoMasterThe Triple RSI (TRSI) is an advanced trend-following oscillator designed to capture trend reversals with speed and smoothness, combining concepts from traditional RSI, multi-timeframe momentum analysis, and layered moving average smoothing.
By blending multiple RSI lengths and applying a unique smoothing sequence, the TRSI creates a fast, momentum-driven RSI oscillator that reduces noise without sacrificing responsiveness.
🔎 Methodology
The indicator is built in three main steps:
Multi-Length RSI Calculation
Three RSIs are calculated using different lengths derived from the user’s input n:
RSI(√n) → very fast, highly responsive.
RSI(n/2) → moderately fast.
RSI(n) → slower, more stable baseline.
Each RSI is normalized by subtracting 50, centering values around zero.
Triple RSI Formula
The three RSIs are combined into the base formula:
TRSI=RSI(√n)+RSI(n/2)−RSI(n)
TRSI=RSI(√n)+RSI(n/2)−RSI(n)
This subtracts the slower RSI from the faster ones, boosting responsiveness and making the TRSI more momentum-oriented than a standard RSI.
Layered Smoothing
The raw TRSI is smoothed in three steps:
RMA(n/2)
RMA(√n)
HMA(√n)
This sequence balances stability and speed:
RMA provides consistency and reduces false noise.
HMA adds responsiveness and precision.
The result is a smooth yet reactive oscillator, optimized for reversal detection.
📈 Trend Classification
The TRSI offers three ways to interpret trend direction:
Oscillator Values
Above 0 → Bullish (uptrend).
Below 0 → Bearish (downtrend).
Oscillator Colors
Green TRSI line → Positive momentum.
Red TRSI line → Negative momentum.
Background Colors
Green background flash → Reversal into bullish trend.
Red background flash → Reversal into bearish trend.
This makes it easy to scan past price history and quickly identify turning points.
🎨 Visualization
TRSI line plotted with dynamic coloring (green/red).
Filled area between TRSI and zero-line reflects momentum bias.
Background flashes highlight trend reversal points, adding context and clarity for visual traders.
⚡ Features
Adjustable length parameter (n).
Dynamic use of √n and n/2 for multi-speed RSI blending.
Built-in smoothing with 2× RMA + 1× HMA.
Multiple trend detection methods (value, color, background).
Works across all assets and timeframes (crypto, forex, stocks, indices).
✅ Use Cases
Reversal Detection → Catch early shifts in trend direction.
Trend Confirmation → Stay aligned with momentum.
Momentum Filter → Avoid counter-trend trades in trending markets.
Historical Analysis → Quickly scan past reversals via background coloring.
⚠️ Limitations
As with all oscillators, TRSI may give false signals in sideways/choppy markets.
Optimal sensitivity depends on asset volatility → adjust n for best results.
It is not a standalone system and should be combined with other tools (trend filters, volume, higher timeframe confluence).
Buyer vs Seller Control BUYER vs SELLER CONTROL INDICATOR
Identify market dominance and potential trend shifts with wick analysis
What This Indicator Measures:
This indicator analyzes who controls the market by measuring the battle between buyers and sellers on each candle:
Buyer Control: How far the closing price is above the candle's low (bottom wick strength)
Seller Control: How far the closing price is below the candle's high (top wick strength)
What's Plotted:
Lime Line: 20-period moving average of buyer control
Fuchsia Line: 20-period moving average of seller control
Dynamic Fill: Area between lines - color shows who's winning
Histogram: Shows the difference between buyer and seller control
Control Label: Text showing current market dominance
Info Table: Real-time values and control strength percentage
How to Read the Signals:
🟢 LIME FILL = BUYERS IN CONTROL
When the lime line is above fuchsia, buyers are dominating. The brighter the fill, the stronger their control.
🔴 FUCHSIA FILL = SELLERS IN CONTROL
When the fuchsia line is above lime, sellers are dominating. The brighter the fill, the stronger their control.
Trading Applications:
Trend Confirmation: Strong buyer control confirms uptrends, strong seller control confirms downtrends
Reversal Signals: Watch for control shifts - when lines cross, momentum may be changing
Entry Timing: Enter long when buyer control strengthens, short when seller control strengthens
Market Structure: Persistent control by one side suggests strong directional bias
Key Features:
Works on any timeframe
Customizable moving average period (default: 20)
Optional info table display
Dynamic transparency shows control strength
Clean visual design for both dark and light themes
Pro Tip: Use this with your favorite trend or momentum indicators for confluence. Strong buyer/seller control often precedes significant price moves!
// Based on wick analysis and moving averages
// Green = Buyers dominating market
// Red = Sellers dominating market
// Fill intensity = Control strength
Bollinger Adaptive Trend Navigator [QuantAlgo]🟢 Overview
The Bollinger Adaptive Trend Navigator synthesizes volatility channel analysis with variable smoothing mechanics to generate trend identification signals. It uses price positioning within Bollinger Band structures to modify moving average responsiveness, while incorporating ATR calculations to establish trend line boundaries that constrain movement during volatile periods. The adaptive nature makes this indicator particularly valuable for traders and investors working across various asset classes including stocks, forex, commodities, and cryptocurrencies, with effectiveness spanning multiple timeframes from intraday scalping to longer-term position analysis.
🟢 How It Works
The core mechanism calculates price position within Bollinger Bands and uses this positioning to create an adaptive smoothing factor:
bbPosition = bbUpper != bbLower ? (source - bbLower) / (bbUpper - bbLower) : 0.5
adaptiveFactor = (bbPosition - 0.5) * 2 * adaptiveMultiplier * bandWidthRatio
alpha = math.max(0.01, math.min(0.5, 2.0 / (bbPeriod + 1) * (1 + math.abs(adaptiveFactor))))
This adaptive coefficient drives an exponential moving average that responds more aggressively when price approaches Bollinger Band extremes:
var float adaptiveTrend = source
adaptiveTrend := alpha * source + (1 - alpha) * nz(adaptiveTrend , source)
finalTrend = 0.7 * adaptiveTrend + 0.3 * smoothedCenter
ATR-based volatility boundaries constrain the final trend line to prevent excessive movement during volatile periods:
volatility = ta.atr(volatilityPeriod)
upperBound = bollingerTrendValue + (volatility * volatilityMultiplier)
lowerBound = bollingerTrendValue - (volatility * volatilityMultiplier)
The trend line direction determines bullish or bearish states through simple slope comparison, with the final output displaying color-coded signals based on the synthesis of Bollinger positioning, adaptive smoothing, and volatility constraints (green = long/buy, red = short/sell).
🟢 Signal Interpretation
Rising Trend Line (Green): Indicates upward direction based on Bollinger positioning and adaptive smoothing = Potential long/buy opportunity
Falling Trend Line (Red): Indicates downward direction based on Bollinger positioning and adaptive smoothing = Potential short/sell opportunity
Built-in Alert System: Automated notifications trigger when bullish or bearish states change, allowing you to act on significant development without constantly monitoring the charts
Candle Coloring: Optional feature applies trend colors to price bars for visual consistency
Configuration Presets: Three parameter sets available - Default (standard settings), Scalping (faster response), and Swing Trading (slower response)
Trinity Multi-Timeframe MA TrendOriginal script can be found here: {Multi-Timeframe Trend Analysis } www.tradingview.com
1. all credit the original author www.tradingview.com
2. why change this script:
- added full transparency function to each EMA
- changed to up and down arrows
- change the dashboard to be able to resize and reposition
How to Use This Indicator
This indicator, "Trinity Multi-Timeframe MA Trend," is designed for TradingView and helps visualize Exponential Moving Average (EMA) trends across multiple timeframes. It plots EMAs on your chart, fills areas between them with directional colors (up or down), shows crossover/crossunder labels, and displays a dashboard table summarizing EMA directions (bullish ↑ or bearish ↓) for selected timeframes. It's useful for multi-timeframe analysis in trading strategies, like confirming trends before entries.
Configure Settings (via the Gear Icon on the Indicator Title):
Timeframes Group: Set up to 5 custom timeframes (e.g., "5" for 5 minutes, "60" for 1 hour). These determine the multi-timeframe analysis in the dashboard. Defaults: 5m, 15m, 1h, 4h, 5h.
EMA Group: Adjust the lengths of the 5 EMAs (defaults: 5, 10, 20, 50, 200). These are the moving averages plotted on the chart.
Colors (Inline "c"): Choose uptrend color (default: lime/green) and downtrend color (default: purple). These apply to plots, fills, labels, and dashboard cells.
Transparencies Group: Set transparency levels (0-100) for each EMA's plot and fill (0 = opaque, 100 = fully transparent). Defaults decrease from EMA1 (80) to EMA5 (0) for a gradient effect.
Dashboard Settings Group (newly added):
Dashboard Position: Select where the table appears (Top Right, Top Left, Bottom Right, Bottom Left).
Dashboard Size: Choose text size (Tiny, Small, Normal, Large, Huge) to scale the table for better visibility on crowded charts.
Understanding the Visuals:
EMA Plots: Five colored lines on the chart (EMA1 shortest, EMA5 longest). Color changes based on direction: uptrend (your selected up color) if rising, downtrend (down color) if falling.
Fills Between EMAs: Shaded areas between consecutive EMAs, colored and transparent based on the faster EMA's direction and your transparency settings.
Crossover Labels: Arrow labels (↑ for crossover/uptrend start, ↓ for crossunder/downtrend start) appear on the chart at EMA direction changes, with tooltips like "EMA1".
Dashboard Table (top-right by default):
Rows: EMA1 to EMA5 (with lengths shown).
Columns: Selected timeframes (converted to readable format, e.g., "5m", "1h").
Cells: ↑ (bullish/up) or ↓ (bearish/down) arrows, colored green/lime or purple based on trend, with fading transparency for visual hierarchy.
Use this to quickly check alignment across timeframes (e.g., all ↑ in multiple TFs might signal a strong uptrend).
Trading Tips:
Trend Confirmation: Look for alignment where most EMAs in higher timeframes are ↑ (bullish) or ↓ (bearish).
Entries/Exits: Use crossovers on the chart EMAs as signals, confirmed by the dashboard (e.g., enter long if lower TF EMA crosses up and higher TFs are aligned).
Customization: On lower timeframe charts, set dashboard timeframes to higher ones for top-down analysis. Adjust transparencies to avoid chart clutter.
Limitations: This is a trend-following tool; combine with volume, support/resistance, or other indicators. Backtest on historical data before live use.
Performance: Works best on trending markets; may whipsaw in sideways conditions.
Momentum Moving Averages | MisinkoMasterThe Momentum Moving Averages (MMA) indicator blends multiple moving averages into a single momentum-scoring framework, helping traders identify whether market conditions are favoring upside momentum or downside momentum.
By comparing faster, more adaptive moving averages (DEMA, TEMA, ALMA, HMA) against a baseline EMA, the MMA produces a cumulative score that reflects the prevailing strength and direction of the trend.
🔎 Methodology
Moving Averages Used
EMA (Exponential Moving Average) → Baseline reference.
DEMA (Double Exponential Moving Average) → Reacts faster than EMA.
TEMA (Triple Exponential Moving Average) → Even faster, reduces lag further.
ALMA (Arnaud Legoux Moving Average) → Smooth but adaptive, with adjustable σ and offset.
HMA (Hull Moving Average) → Very responsive, reduces lag, ideal for momentum shifts.
Scoring System
Each comparison is made against the EMA baseline:
If another MA is above EMA → +1 point.
If another MA is below EMA → -1 point.
The total score reflects overall momentum:
Positive score → Bullish bias.
Negative score → Bearish bias.
Trend Logic
Bullish Signal → When the score crosses above 0.1.
Bearish Signal → When the score crosses below -0.1.
Neutral or sideways trends are identified when the score remains between thresholds.
📈 Visualization
All five moving averages are plotted on the chart.
Colors adapt to the current score:
Cyan (Bullish bias) → Positive momentum.
Magenta (Bearish bias) → Negative momentum.
Overlapping fills between MAs highlight zones of convergence/divergence, making momentum shifts visually clear.
⚡ Features
Adjustable length parameter for all MAs.
Adjustable ALMA parameters (sigma and offset).
Cumulative momentum score system to filter false signals.
Works across all markets (crypto, forex, stocks, indices).
Overlay design for direct chart integration.
✅ Use Cases
Trend Confirmation → Ensure alignment with market momentum.
Momentum Shifts → Spot when faster MAs consistently outperform the baseline EMA.
Entry & Exit Filter → Avoid trades when the score is neutral or indecisive.
Divergence Visualizer → Filled zones make it easier to see when MAs begin separating or converging.
Low History Required → Unlike most For Loops, this script does not require that much history, making it less lagging and more responsive
⚠️ Limitations
Works best in trending conditions; performance decreases in sideways/choppy ranges.
Sensitivity of signals depends on chosen length and ALMA settings.
Should not be used as a standalone buy/sell system—combine with volume, structure, or higher timeframe analysis.
Trend Magic EMA RMI Trend Sniper📌 Indicator Name:
Trend Magic + EMA + MA Smoothing + RMI Trend Sniper
📝 Description:
This is a multi-functional trend and momentum indicator that combines four powerful tools into a single overlay:
Trend Magic – Plots a dynamic support/resistance line based on CCI and ATR.
Helps identify trend direction (green = bullish, red = bearish).
Acts as a trailing stop or dynamic level for trade entries/exits.
Exponential Moving Average (EMA) – Smooths price data to highlight the underlying trend.
Customizable length, source, and offset.
Serves as a trend filter or moving support/resistance.
MA Smoothing + Bollinger Bands (Optional) – Adds a secondary smoothing filter based on your choice of SMA, EMA, WMA, VWMA, or SMMA.
Optional Bollinger Bands visualize volatility expansion/contraction.
Great for spotting consolidations and breakout opportunities.
RMI Trend Sniper – A momentum-based system combining RSI and MFI.
Highlights bullish (green) or bearish (red) conditions.
Plots a Range-Weighted Moving Average (RWMA) channel to gauge price positioning.
Provides visual BUY/SELL labels and optional bar coloring for fast decision-making.
📊 Uses & Trading Applications:
✅ Trend Identification: Spot the dominant market direction quickly with Trend Magic & EMA.
✅ Momentum Confirmation: RMI Sniper helps confirm whether the market has strong bullish or bearish pressure.
✅ Dynamic Support/Resistance: Trend Magic & EMA act as adaptive levels for stop-loss or trailing positions.
✅ Volatility Analysis: Optional Bollinger Bands show squeezes and potential breakout setups.
✅ Entry/Exit Signals: BUY/SELL alerts and color-coded candles make spotting trade opportunities simple.
💡 Best Use Cases:
Swing Trading: Follow Trend Magic + EMA alignment for higher probability trades.
Scalping/Intraday: Use RMI signals with bar coloring for quick momentum entries.
Trend Following Strategies: Ride trends until Trend Magic flips direction.
Breakout Trading: Watch for price closing outside the Bollinger Bands with RMI confirmation.
Tomorrow's Pivot Points [SMH]這個TradingView指標不同於內置的Pivot Point指標,因為它能夠提前顯示明天的Pivot Point。透過預測下一交易日的支撐與阻力位置,交易員可以更早部署策略,為隔日的市場波動做好準備。
This TradingView indicator is different from the built-in Pivot Point tool because it can display tomorrow’s Pivot Points in advance. By forecasting support and resistance levels for the next trading day, traders can position their strategies earlier and be well-prepared for upcoming market movements.
Previous Day OHLCDescription :
This script automatically draws the previous day’s Open, High, Low, and Close levels on each trading day. Traders widely use these reference levels to identify key support and resistance zones, potential breakout areas, and intraday bias.
The levels update daily and remain visible throughout the trading session to quickly identify price interactions with yesterday’s important zones.
Features :
Plots the previous day’s Open, High, Low, and Close.
Levels extend across the full trading day for easy reference.
Useful for intraday and swing traders tracking price reactions at historical levels.
ARO Pro — Adaptive Regime OscillatorARO Pro — Adaptive Regime Oscillator (v6)
ARO Pro turns your chart into a context-aware decision system. It classifies every bar as Trending (up or down) or Ranging in real time, then switches its math to match the regime: trend strength is measured with an ATR-normalized EMA spread, while range behavior is tracked with a center-based RSI oscillator. The result is cleaner entries, fewer false signals, and faster reads on regime shifts—without repainting.
⸻
How it works (under the hood)
1. Regime Detection (Kaufman ER):
ARO computes Kaufman’s Efficiency Ratio (ER) over a user-defined length.
- ER > threshold → Trending (direction from EMA fast vs. EMA slow)
- ER ≤ threshold → Ranging
2. Adaptive Oscillator Core:
- Trend mode: (EMA(fast) − EMA(slow)) / ATR * 100 → momentum normalized by volatility.
- Range mode: RSI(length) − 50 → mean-reversion pressure around zero.
3. Volatility Filter (optional):
Blocks signals if ATR as % of price is below a floor you set. This reduces noise in thin or quiet markets.
4. MTF Trend Filter (optional & non-repainting):
Confirms signals only if a higher timeframe EMA(fast) > EMA(slow) for longs (or < for shorts). Implemented with lookahead_off and gaps_on.
5. Confirmation & Alerts:
Signals are locked only on bar close (barstate.isconfirmed) and offered via three alert types: ARO Long, ARO Short, ARO Regime Shift.
⸻
What you see on the chart
• Background heat:
• Green = Trending Up, Red = Trending Down, Gray = Range.
• ARO line (panel): Adaptive oscillator (trend/value colors).
• Signal markers: ▲ Long / ▼ Short on confirmed bars.
• Guide lines: Upper/Lower thresholds (±K) and zero line.
• Info Panel (table): Regime, ER, ATR %, ARO, HTF status (OK/BLOCK/OFF), and a Confidence light.
• Debug Overlay (optional): Quick view of thresholds and raw conditions for tuning.
⸻
Inputs (quick reference)
• Signals: Fast/Slow EMA, RSI length, ER length & threshold, oscillator smoothing, signal threshold.
• Filters: ATR length, minimum ATR% (volatility floor), toggle for volatility filter.
• Visuals: Background on/off, Info Panel on/off, Debug overlay on/off.
• MTF (safe): Toggle + HTF timeframe (e.g., 240, D, W).
⸻
Interpreting signals
• Long: Trend regime AND fast EMA > slow EMA AND ARO ≥ +threshold (confirmed bar, filters passing).
• Short: Trend regime AND fast EMA < slow EMA AND ARO ≤ −threshold (confirmed bar, filters passing).
• Regime Shift: Alert when ER moves the market from Range → Trend or flips trend direction.
⸻
Practical use cases & examples
1) Intraday momentum alignment (scalps to day trades)
• Timeframes: 5–15m with HTF filter = 4H.
• Flow:
1. Wait for Trend Up background + HTF OK.
2. Enter on ▲ Long when ARO crosses above +threshold.
3. Stops: 1–1.5× ATR(14) below trigger bar or below last micro swing.
4. Exits: Partial at 1× ATR, trail remainder with an ATR stop or when ARO reverts to zero/Regime Shift.
• Why it works: You’re trading with the dominant higher-timeframe structure while avoiding low-volatility fakeouts.
2) Swing trend following (cleaner trend legs)
• Timeframes: 1H–4H with HTF filter = 1D.
• Flow:
1. Only act in Trend background aligned with HTF.
2. Add on subsequent ▲ signals as ARO maintains positive (or negative) territory.
3. Reduce or exit on Regime Shift (Trend → Range or direction flip) or when ARO crosses back through zero.
• Stops/targets: Initial 1.5–2× ATR; move to breakeven once the trade gains 1× ATR; trail with a multiple-ATR or structure lows/highs.
3) Range tactics (fade the extremes)
• Timeframes: 15m–1H or 1D on mean-reverting names.
• Flow:
1. Act only when background = Range.
2. Fade moves when ARO swings from ±extremes back toward zero near well-defined S/R.
3. Exit at the opposite band or zero line; abort if a Regime Shift to Trend occurs.
• Tip: Increase ER threshold (e.g., 0.35–0.40) to label more bars as Range on choppy instruments.
4) Event days & macro filters
• Approach: Raise the volatility floor (Min ATR%) on macro days (FOMC, CPI).
• Effect: You’ll ignore “fake” micro swings in the minutes leading up to releases and catch only post-event confirmed momentum.
⸻
Parameter tuning guide
• ER Threshold:
• Lower (0.20–0.30) = more Trend bars, more signals, higher noise.
• Higher (0.35–0.45) = stricter trend confirmation, fewer but cleaner signals.
• Signal Threshold (±K):
• Raise to reduce whipsaws; lower for earlier but noisier triggers.
• Volatility Floor (ATR%):
• Thin/quiet assets benefit from a higher floor (e.g., 0.3–0.6).
• Highly liquid futures/forex can work with lower floors.
• HTF Filter:
• Keep it ON when you want higher win consistency; turn OFF for tactical counter-trend plays.
⸻
Alerts (recommended setup)
• “ARO Long” / “ARO Short”: Entry-style alerts on confirmed signals.
• “ARO Regime Shift”: Context alert to scale in/out or switch playbooks (trend vs. range).
All alerts are non-repainting and fire only when the bar closes.
⸻
Best practices & combinations
• Price action & S/R: Use ARO to define when to engage, and price structure to define where (breakout levels, pullback zones).
• VWAP/Session tools: In intraday trends, ▲ signals above VWAP tend to carry; avoid shorts below session VWAP in strong downtrends.
• Risk first: Size by ATR; never let a single ARO event override your max risk per trade.
• Portfolio filter: On indices/ETFs, enable HTF filter and a stricter ER threshold to ride regime legs.
⸻
Non-repaint and implementation notes
• The script does not repaint:
• Signals are computed and locked on bar close (barstate.isconfirmed).
• All higher-timeframe data uses request.security(..., lookahead_off, gaps_on).
• No future indexing or negative offsets are used.
• The Info Panel and Debug overlay are purely visual aids and do not change signal logic.
⸻
Limitations & tips
• Chop sensitivity: In hyper-choppy symbols, consider raising ER threshold and the signal threshold, and enable HTF filter.
• Instrument personality: EMAs/RSI lengths and volatility floor often need a quick 2–3 minute tune per asset class (FX vs. crypto vs. equities).
• No guarantees: ARO improves context and timing, but it is not a promise of profitability—always combine with risk management.
⸻
Quick start (TL;DR)
1. Timeframes: 5–15m intraday (HTF = 4H); 1H–4H swing (HTF = 1D).
2. Use defaults, then tune ER threshold (0.25–0.40) and Signal threshold (±20).
3. Enable Volatility Floor (e.g., 0.2–0.5 ATR%) on quiet assets.
4. Trade ▲ / ▼ only in matching Trend background; fade extremes only in Range background.
5. Set alerts for Long, Short, and Regime Shift; manage risk with ATR stops.
⸻
Author’s note: ARO Pro is designed to be clear, adaptive, and operational out of the box. If you publish variants (e.g., different ER logic, alternative trend cores), please credit the original and document any changes so users can compare behavior reliably.
BioSwarm Imprinter™BioSwarm Imprinter™ — Agent-Based Consensus for Traders
What it is
BioSwarm Imprinter™ is a non-repainting, agent-based sentiment oscillator. It fuses many short-to-medium lookback “opinions” into one 0–100 consensus line that is easy to read at a glance (50 = neutral, >55 bullish bias, <45 bearish bias). The engine borrows from swarm intelligence: many simple voters (agents) adapt their influence over time based on how well they’ve been predicting price, so the crowd gets smarter as conditions change.
Use it to:
• Detect emerging trends sooner without overreacting to noise.
• Filter mean-reversion vs continuation opportunities.
• Gate entries with a confidence score that reflects both strength and persistence of the move.
• Combine with your execution tools (VWAP/ORB/levels) as a state filter rather than a trade signal by itself.
⸻
Why it’s different
• Swarm learning: Each agent improves or decays its “fitness” depending on whether its vote matched the next bar’s direction. High-fitness agents matter more; weak agents fade.
• Multi-horizon by design: The crowd is composed of fixed, simple lookbacks spread from lenMin to lenMax. You get a blended, robust view instead of a single fragile parameter.
• Two complementary lenses: Each agent evaluates RSI-style balance (via Wilder’s RMA) and momentum (EMA deviation). You decide the weight of each.
• No repaint, no MTF pitfalls: Everything runs on the chart’s timeframe with bar-close confirmation; no request.security() or forward references.
• Actionable UI: A clean consensus line, optional regime background, confidence heat, and triangle markers when thresholds are crossed.
⸻
What you see on the chart
• Consensus line (0–100): Smoothed to your preference; color/area makes bull/bear zones obvious.
• Regime coloring (optional): Light green in bull zone, light red in bear zone; neutral otherwise.
• Confidence heat: A small gauge/number (0–100) that combines distance from neutral and recent persistence.
• Markers (optional): Triangles when consensus crosses up through your bull threshold (e.g., 55) or down through your bear threshold (e.g., 45).
• Info panel (optional): Consensus value, regime, confidence, number of agents, and basic diagnostics.
⸻
How it works (under the hood)
1. Horizon bins: The range is divided into numBins. Each bin has a fixed, simple integer length (crucial for Pine’s safety rules).
2. Per-bin features (computed every bar):
• RSI-style balance using Wilder’s RMA (not ta.rsi()), then mapped to −1…+1.
• Momentum as (close − EMA(L)) / EMA(L) (dimensionless drift).
3. Agent vote: For its assigned bin, an agent forms a weighted score: score = wRSI*RSI_like + wMOM*Momentum. A small dead-band near zero suppresses chop; votes are +1/−1/0.
4. Fitness update (bar close): If the agent’s previous vote agreed with the next bar’s direction, multiply its fitness by learnGain; otherwise by learnPain. Fitness is clamped so it never explodes or dies.
5. Consensus: Weighted average of all votes using fitness as weights → map to 0–100 and smooth with EMA.
Why it doesn’t repaint:
• No future references, no MTF resampling, fitness updates only on confirmed bars.
• All TA primitives (RMA/EMA/deltas) are computed every bar unconditionally.
⸻
Signals & confidence
• Bullish bias: consensus ≥ bullThr (e.g., 55).
• Bearish bias: consensus ≤ bearThr (e.g., 45).
• Confidence (0–100):
• Distance score: how far consensus is from 50.
• Momentum score: how strong the recent change is versus its recent average.
• Combined into a single gate; start filtering entries at ≥60 for higher quality.
Tip: For range sessions, raise thresholds (60/40) and increase smoothing; for momentum sessions, lower smoothing and keep thresholds at 55/45.
⸻
Inputs you’ll actually tune
• Agents & horizons:
• N_agents (e.g., 64–128)
• lenMin / lenMax (e.g., 6–30 intraday, 10–60 swing)
• numBins (e.g., 12–24)
• Weights & smoothing:
• wRSI vs wMOM (e.g., 0.7/0.3 for FX & indices; 0.6/0.4 for crypto)
• deadBand (0.03–0.08)
• consSmooth (3–8)
• Thresholds & hygiene:
• bullThr/bearThr (55/45 default)
• cooldownBars to avoid signal spam
⸻
Playbooks (ready-to-use)
1) Breakout / Trend continuation
• Timeframe: 15m–1h for day/swing.
• Filter: Take longs only when consensus > 55 and confidence ≥ 60.
• Execution: Use your ORB/VWAP/pullback trigger for entry. Trail with swing lows or 1.5×ATR. Exit on a close back under 50 or when a bearish signal prints.
2) Mean reversion (fade)
• When: Sideways days or low-volatility clusters.
• Setup: Increase deadBand and consSmooth.
• Signal: Bearish fades when consensus rolls over below ≈55 but stays above 50; bullish fades when it rolls up above ≈45 but stays below 50.
• Targets: The neutral zone (~50) as the first take-profit.
3) Multi-TF alignment
• Keep BioSwarm on 1H for bias, execute on 5–15m:
• Only take entries in the direction of the 1H consensus.
• Skip counter-bias scalps unless confidence is very low (explicit mean-reversion plan).
⸻
Integrations that work
• DynamoSent Pro+ (macro bias): Only act when macro bias and swarm consensus agree.
• ORB + Session VWAP Pro: Trade London/NY ORB breakouts that retest while consensus >55 (long) or <45 (short).
• Levels/Orderflow: BioSwarm is your “go / no-go”; execution stays with your usual triggers.
⸻
Quick start
1. Drop the indicator on a 1H chart.
2. Start with: N_agents=64, lenMin=6, lenMax=30, numBins=16, deadBand=0.06, consSmooth=5, thresholds 55/45.
3. Trade only when confidence ≥ 60.
4. Add your favorite execution tool (VWAP/levels/OR) for entries & exits.
⸻
Non-repainting & safety notes
• No request.security(); no hidden lookahead.
• Bar-close confirmation for fitness and signals.
• All TA calls are unconditional (no “sometimes called” warnings).
• No series-length inputs to RSI/EMA — we use RMA/EMA formulas that accept fixed simple ints per bin.
⸻
Known limits & tips
• Too many signals? Raise deadBand, increase consSmooth, widen thresholds to 60/40.
• Too few signals? Lower deadBand, reduce consSmooth, narrow thresholds to 53/47.
• Over-fitting risk: Keep learnGain/learnPain modest (e.g., ×1.04 / ×0.96).
• Compute load: Large N_agents × numBins is heavier; scale to your device.
⸻
Example recipes
EURUSD 1H (swing):
lenMin=8, lenMax=34, numBins=16, wRSI=0.7, wMOM=0.3, deadBand=0.06, consSmooth=6, thr=55/45
Buy breakouts when consensus >55 and confidence ≥60; confirm with 5–15m pullback to VWAP or level.
SPY 15m (US session):
lenMin=6, lenMax=24, numBins=12, consSmooth=4, deadBand=0.05
On trend days, stay with longs as long as consensus >55; add on shallow pullbacks.
BTC 1H (24/7):
Increase momentum weight: wRSI=0.6, wMOM=0.4, extend lenMax to ~50. Use dynamic stops (ATR) and partials on strong verticals.
⸻
Final word
BioSwarm is a state engine: it tells you when the market is primed to continue or mean-revert. Pair it with your entries and risk framework to turn that state into trades. If you’d like, I can supply a companion strategy template that consumes the consensus and back-tests the three playbooks (Breakout/Fade/Flip) with standard risk management.
SatoshiFrame Pivot DetectorThis script detects pivot highs and lows on the chart and plots the last three pivots as fixed horizontal rays that do not shift when the chart moves. It also optionally displays labels for each pivot and can color the levels based on strength thresholds.
[Outperforms Bitcoin Since 2011] Professional MA StrategyThis Strategy OUTPEFORMS Bitcoin since 2011.
Timeframe: Daily
MA used (Fast and Slow): WMA (Weighted Moving Average)
Fast MA Length: 30 days (Reflects the Monthly Trend - Short Term Perspective)
Slow MA Length: 360 days (Reflects the Annual Trend - Long Term Perspective)
Position Size: 100% of equity
Margin for Long = 10% of equity
Margin for Short = 10% of equity
Open Long = Typical Price Crosses Above its Fast MA and Price is above its Slow MA
Open Short = Typical Price Crosses Below its Fast MA and Price is below its Slow MA
Close Long = Typical Price Crosses Below its Fast MA
Close Short = Typical Price Crosses Below its Fast MA
note: Typical Price = (high + low + close) / 3
ICT Daily Bias based on weekly by RKGiven that Weekly bias is determined ,This indicator helps you to identify the Daily Bias.
So best of this indicator to determine Daily bias is to first Implement it on weekly and then Daily
If weekly and Daily both are bullish then look for LONG in lower timeframe.
If weekly and Daily both are bearish then look for SHORTS in lower timeframe.
Z-Score For Loop | MisinkoMasterThe Z-Score For Loop (ZSFL) is a unique trend-following oscillator designed to detect potential reversals and momentum shifts earlier than traditional tools, providing traders with fast, adaptive, and reliable signals.
Unlike common smoothing techniques (moving averages, medians, or modes), the ZSFL introduces a for-loop comparison method that balances speed and noise reduction, resulting in a powerful reversal-detection system.
🔎 Methodology
The indicator is built in two main stages:
Z-Score Calculation
Formula:
Z=(Source−Mean)/Standard Deviation
Z=
Standard Deviation
(Source−Mean)
The user can select the averaging method for the mean: SMA, EMA, WMA, HMA, DEMA, or TEMA.
Recommended: EMA, SMA, or WMA for balanced accuracy.
The choice of biased (sample) or unbiased (population) standard deviation is also available.
➝ On its own, the raw Z-score is fast but noisy, requiring additional filtering.
For Loop Logic (Noise Reduction)
Instead of using traditional smoothing (which adds lag), the indicator applies a for loop comparison.
The current Z-score is compared against previous values over a user-defined range (start → end).
Each comparison adds or subtracts “points”:
+1 point if the current Z-score is higher than a past Z-score.
-1 point if it is lower.
The final value is the cumulative score, reflecting whether the Z-score is generally stronger or weaker than its historical context.
➝ This approach keeps speed intact while removing much of the false noise that raw Z-scores generate.
📈 Trend Logic
Bullish Signal (Cyan) → Triggered when the score crosses above the upper threshold (default +45).
Bearish Signal (Magenta) → Triggered when the score crosses below the lower threshold (default -25).
Neutral → When the score remains between the thresholds.
Thresholds are adjustable, making the tool flexible for different assets and timeframes.
🎨 Visualization
The ZSFL score is plotted as a main oscillator line.
Upper and lower thresholds are plotted as static reference levels.
The price chart can also be color-coded with trend signals (cyan for bullish, magenta for bearish) to provide immediate visual confirmation.
⚡ Features
Adjustable Z-score length (len).
Multiple average types for the mean (SMA, EMA, WMA, HMA, DEMA, TEMA).
Toggle between biased vs. unbiased SD calculations.
Adjustable For Loop range (start, end).
Adjustable upper and lower thresholds for signal generation.
Works as both an oscillator and a price overlay tool.
✅ Use Cases
Reversal Detection → Spot early shifts before price confirms them.
Trend Confirmation → Use thresholds to filter false reversals.
System Filter → Combine with trend indicators to refine entries.
Multi-Timeframe Setup → Works well across different timeframes for swing, day, or intraday trading.
⚠️ Limitations
As with all oscillators, the ZSFL will generate false signals in sideways/choppy markets.
Optimal parameters (length, loop size, thresholds) may differ across assets.
It is not a standalone trading system — use alongside other forms of analysis (trend filters, volume, higher timeframe confluence).
Supertrend DashboardOverview
This dashboard is a multi-timeframe technical indicator dashboard based on Supertrend. It combines:
Trend detection via Supertrend
Momentum via RSI and OBV (volume)
Volatility via a basic candle-based metric (bs)
Trend strength via ADX
Multi-timeframe analysis to see whether the trend is bullish across different timeframes
It then displays this info in a table on the chart with colors for quick visual interpretation.
2️⃣ Inputs
Dashboard settings:
enableDashboard: Toggle the dashboard on/off
locationDashboard: Where the table appears (Top right, Bottom left, etc.)
sizeDashboard: Text size in the table
strategyName: Custom name for the strategy
Indicator settings:
factor (Supertrend factor): Controls how far the Supertrend lines are from price
atrLength: ATR period for Supertrend calculation
rsiLength: Period for RSI calculation
Visual settings:
colorBackground, colorFrame, colorBorder: Control dashboard style
3️⃣ Core Calculations
a) Supertrend
Supertrend is a trend-following indicator that generates bullish or bearish signals.
Logic:
Compute ATR (atr = ta.atr(atrLength))
Compute preliminary bands:
upperBand = src + factor * atr
lowerBand = src - factor * atr
Smooth bands to avoid false flips:
lowerBand := lowerBand > prevLower or close < prevLower ? lowerBand : prevLower
upperBand := upperBand < prevUpper or close > prevUpper ? upperBand : prevUpper
Determine direction (bullish / bearish):
dir = 1 → bullish
dir = -1 → bearish
Supertrend line = lowerBand if bullish, upperBand if bearish
Output:
st → line to plot
bull → boolean (true = bullish)
b) Buy / Sell Trigger
Logic:
bull = ta.crossover(close, supertrend) → close crosses above Supertrend → buy signal
bear = ta.crossunder(close, supertrend) → close crosses below Supertrend → sell signal
trigger → checks which signal was most recent:
trigger = ta.barssince(bull) < ta.barssince(bear) ? 1 : 0
1 → Buy
0 → Sell
c) RSI (Momentum)
rsi = ta.rsi(close, rsiLength)
Logic:
RSI > 50 → bullish
RSI < 50 → bearish
d) OBV / Volume Trend (vosc)
OBV tracks whether volume is pushing price up or down.
Manual calculation (safe for all Pine versions):
obv = ta.cum( math.sign( nz(ta.change(close), 0) ) * volume )
vosc = obv - ta.ema(obv, 20)
Logic:
vosc > 0 → bullish
vosc < 0 → bearish
e) Volatility (bs)
Measures how “volatile” the current candle is:
bs = ta.ema(math.abs((open - close) / math.max(high - low, syminfo.mintick) * 100), 3)
Higher % → stronger candle moves
Displayed on dashboard as a number
f) ADX (Trend Strength)
= ta.dmi(14, 14)
Logic:
adx > 20 → Trending
adx < 20 → Ranging
g) Multi-Timeframe Supertrend
Timeframes: 1m, 3m, 5m, 10m, 15m, 30m, 1H, 2H, 4H, 12H, 1D
Logic:
for tf in timeframes
= request.security(syminfo.tickerid, tf, f_supertrend(ohlc4, factor, atrLength))
array.push(tf_bulls, bull_tf ? 1.0 : 0.0)
bull_tf ? 1.0 : 0.0 → converts boolean to number
Then we calculate user rating:
userRating = (sum of bullish timeframes / total timeframes) * 10
0 → Strong Sell, 10 → Strong Buy
4️⃣ Dashboard Table Layout
Row Column 0 (Label) Column 1 (Value)
0 Strategy strategyName
1 Technical Rating textFromRating(userRating) (color-coded)
2 Current Signal Buy / Sell (based on last Supertrend crossover)
3 Current Trend Bullish / Bearish (based on Supertrend)
4 Trend Strength bs %
5 Volume vosc → Bullish/Bearish
6 Volatility adx → Trending/Ranging
7 Momentum RSI → Bullish/Bearish
8 Timeframe Trends 📶 Merged cell
9-19 1m → Daily Bullish/Bearish for each timeframe (green/red)
5️⃣ Color Logic
Green shades → bullish / trending / buy
Red / orange → bearish / weak / sell
Yellow → neutral / ranging
Example:
dashboard_cell_bg(1, 1, colorFromRating(userRating))
dashboard_cell_bg(1, 2, trigger ? color.green : color.red)
dashboard_cell_bg(1, 3, superBull ? color.green : color.red)
Makes the dashboard visually intuitive
6️⃣ Key Logic Flow
Calculate Supertrend on current timeframe
Detect buy/sell triggers based on crossover
Calculate RSI, OBV, Volatility, ADX
Request Supertrend on multiple timeframes → convert to 1/0
Compute user rating (percentage of bullish timeframes)
Populate dashboard table with colors and values
✅ The result: You get a compact, fast, multi-timeframe trend dashboard that shows:
Current signal (Buy/Sell)
Current trend (Bullish/Bearish)
Momentum, volatility, and volume cues
Trend across multiple timeframes
Overall technical rating
It’s essentially a full trend-strength scanner directly on your chart.
Flux Power Dashboard (Updated and Renamed)Flux Power Dashboard is a compact market-state heads-up display for TradingView. It blends trend, momentum, and volume-flow into a single on-chart panel with color-coded cues and minimal lag. You get:
Clean visual trend via fast/slow MA with slope/debounce filters
MACD state and most recent cross (with “freshness” tint)
OBV confirmation and gating to reduce noise
Session awareness (Asia/London/New York + pre-sessions + overlap)
Optional HTF Regime row and regime gate to align signals to higher-timeframe bias
Context from VIX/VXN (volatility regime)
A single Flux Score (0–100) as a top-level read
It is deliberately “dashboard-first”: fast to read, consistent between symbols/timeframes, and designed to limit overtrading in chop.
What it can do (capabilities)
Signal gating: You can require multiple pillars to agree (Trend, MACD, OBV) before a “strong” bias is shown.
Debounced trend: Uses slope + confirmation bars to avoid flip-flopping.
Session presets: Auto-adjust the minimum confirmation bars by session (e.g., NY vs London vs Asia) to better match liquidity/volatility.
MACD presets: Quick switch between Scalp / Classic / Slow or roll your own custom speeds.
OBV confirmation: Volume flow must agree for trend/entries to “count” (optional).
HTF Regime awareness: Shows the higher-timeframe backdrop and (optionally) gates signals so you don’t fight the dominant trend.
Volatility context: VIX/VXN auto-colored cells based on your thresholds.
Top-center Session Title: Broadcasts the active session (or Overlap) with a matched background color.
Customizable UI: Column fonts, params font, transparency, dashboard corner, marker styles, colors, widths—tune it to your chart.
Practical use: Start with Flux Score + Summary for a snapshot, confirm with Trend & MACD, check OBV agreement (implicit in signal strength), glance at Regime to avoid counter-trend trades, and use Session + VIX/VXN for timing and risk context.
How it avoids common pitfalls
Repaint-aware: “Confirm on Close” can be enabled to read prior bar states, reducing intrabar noise.
Auto MA sanity: If fast ≥ slow length, it auto-swaps under the hood to keep calculations valid.
Debounce & confirm: Trend flips only after X bars satisfy conditions, cutting false flips in chop.
Freshness tint: New Cross/Signal rows tint slightly brighter for a few bars, so you can spot recency at a glance.
Every line of the dashboard (what it shows, how it’s colored)
Flux Score
What: Composite 0–100 built from three pillars: Trend (40%), MACD (30%), OBV (30%).
Read: ≥70 Bullish, ≤30 Bearish, else Neutral.
Use: Quick “state of play” gauge—stronger alignment pushes the score toward extremes.
Regime (optional row)
What: Higher-timeframe (your Regime TF) backdrop using the same MA pair with HTF slope/ATR buffer.
Values: Bull / Bear / Range.
Gate (optional): If Regime Gate is ON, Trend/Signals only go directional when HTF agrees.
Summary
What: One-line narrative combining the three pillars: MACD (up/down/flat), OBV (up/down/flat), Trend (up/down/flat).
Use: Human-readable cross-check; should rhyme with Flux Score.
Trend
What: Debounced MA relationship on the current chart.
Strict: needs fast > slow and slow rising (mirror for down) + slope debounce + confirmation bars.
Lenient: allows fast > slow or slow rising (mirror for down) with the same debounce/confirm.
Color: Green = UP, Red = DOWN, Gray = FLAT.
Use: Your structural bias on the trading timeframe.
MACD
What: Current MACD line vs signal, using your selected preset (or custom).
Values: Bull (line above), Bear (below), Flat (equal/indeterminate).
Color: Green/Red/Gray.
Cross
What: Most recent MACD cross and how many bars ago it occurred (e.g., “MACD XUP | 3 bars”).
Freshness: If the cross happened within Fresh Signal Tint bars, the cell brightens slightly.
Use: Timing helper for inflection points.
Signal
What: Latest directional shift (from short-bias to long-bias or vice versa) and age in bars.
Strength:
Strong = Trend + MACD + OBV all align
Weak = partial alignment (e.g., Trend + MACD, or Trend + OBV)
Color: Green for long bias, Red for short bias; fresh signals tint brighter.
Use: Action cue—treat Strong as higher quality; Weak as situational.
MA
What: Your slow MA type and length, plus slope direction (“up”/“down”).
Use: Context even when Trend is FLAT; slope often turns before full trend flips.
Session
What: Current market session by Eastern Time: New York / London / Asia, Pre- windows, Overlap, or Off-hours.
Logic: If ≥2 main sessions are active, shows Overlap (and grays the top title background).
Use: Timing and expectations for liquidity/volatility; also drives session-based confirmation presets if enabled.
VIX
What: Real-time CBOE:VIX on your chosen TF.
Auto-color (if on):
Calm (< Calm) → Green
Watch (< Watch) → Yellow
Elevated (< Elevated) → Orange
Very High (≥ Elevated) → Red
Use: Equity market–wide risk mood; higher = bigger moves, lower = quieter.
VXN
What: CBOE:VXN (Nasdaq volatility index) on your chosen TF.
Auto-color thresholds like VIX.
Use: Tech-heavy risk mood; helpful for growth/QQQ/NDX names.
Footer (params row, bottom-right)
What: Key live settings so you always know the context:
P= Trend Confirmation Bars
O= OBV Confirmation Bars
Strict/Lenient (trend mode)
MACD preset (or “Custom”)
swap if MA lengths were auto-swapped for validity
Regime gate if enabled
Candles for clarity
Use: Quick integrity check when comparing charts/screenshots or changing presets.
Recommended workflow
Start at Flux Score & Summary → snapshot of alignment.
Check Trend (color) and MACD (Bull/Bear).
Look at Signal (Strong vs Weak, and age).
Glance at Regime (and use gate if you’re trend-following).
Use Session + VIX/VXN to adjust expectations (breakout vs mean-revert, risk sizing, patience).
Keep Confirm on Close ON when you want stability; turn it OFF for faster (but noisier) reads.
Notes & limitations
Not advice: This is an informational tool; always combine with your own risk rules.
Repaint vs responsiveness: With “Confirm on Close” OFF you’ll see faster state changes but may get more churn intrabar.
Presets matter: Scalp MACD reacts fastest; Slow reduces whipsaw. Choose for your timeframe.
Session windows depend on the strings you set; adjust if your broker’s feed or DST handling needs tweaks.
Trend Compass (Manual)## Trend Compass (Manual) - A Discretionary Trader's Dashboard
### Summary
Trend Compass is a simple yet powerful dashboard designed for discretionary traders who want a constant, visual reminder of their market analysis directly on their chart. Instead of relying on automated indicators, this tool gives you **full manual control** to define the market state across different timeframes or conditions.
It helps you stay aligned with your higher-level analysis (e.g., HTF bias, current market structure) and avoid making impulsive decisions that go against your plan.
### Key Features
- **Fully Manual Control:** You decide the trend. No lagging indicators, no confusing signals. Just your own analysis, displayed clearly.
- **Multiple Market States:** Define each row as an `Uptrend`, `Downtrend`, `Pullback`, or `Neutral` market.
- **Customizable Rows:** Display up to 8 rows. You can label each one however you like (e.g., "D1", "H4", "Market Structure", "Liquidity Bias").
- **Flexible Panel:** Change all colors, text sizes, and place the panel in any of the 9 positions on your chart.
- **Clean & Minimalist:** Designed to provide essential information at a glance without cluttering your chart.
### How to Use
1. **Add to Chart:** Add the indicator to your chart.
2. **Open Settings:** Go into the indicator settings.
3. **Configure Rows:**
- In the "Rows (Manual Control)" section, set the "Number of rows" you want to display.
- For each row, give it a custom **Label** (e.g., "m15").
- Select its current state from the dropdown menu (`Uptrend`, `Downtrend`, etc.).
- To remove a row, simply set its state to `Hidden`.
4. **Customize Style:**
- In the "Panel & Visual Style" section, adjust colors, text sizes, and the panel's position to match your chart's theme.
This tool is perfect for price action traders, ICT/SMC traders, or anyone who values a clean chart and a disciplined approach to their analysis.
52WH/last52WHbefore3Months/ATHThis indicator calculates and displays three values:
First, it calculates the current 52-week high and displays it as a line and in a table at the top right with the name, date, and price.
Corresponding color markings are also displayed on the price scale.
Next, the 52-week high that is at least three months ago is determined.
The corresponding candle is also labeled with a date. This past high is also displayed as a line, on the price scale, and in the table.
Finally, the current all-time high is determined and also displayed as a line, in the price scale, and in the table.
All display values can be turned on or off in the view, and the corresponding colors of the displays can also be freely selected.
(This script was developed by J. Heina, jochen.heina(at)gmail, in collaboration with the ChatGPT tool).
=====