Monte Carlo Simulation BandsMonte Carlo Simulation v2.4.2
Plots a one-bar-ahead price distribution band built from many simulated paths. The green band shows empirical percentiles of simulated final prices—these are distribution bounds, not a confidence interval of the mean.
What It Does
Simulates many one-bar price paths using a directional random walk with volatility scaling (uniform shocks, not Gaussian GBM).
Plots Mean Forecast, Median Forecast, and configurable percentile bounds (default 5th/95th).
Optional rolling HTF-days mean line (yellow) for trend context.
Optional labels and forward projection lines.
Alerts when the confirmed close breaks above or below the percentile band.
Non-Repainting & HTF Behavior (Fail-Closed)
All calculations are gated to confirmed bars only via explicit no_repaint_ok gate (barstate.isconfirmed).
If you select an HTF Resolution, the script uses a strict request.security(..., lookahead_off, gaps_off) pipeline.
If HTF data is unavailable, outputs are na—no silent fallback to chart timeframe.
A separate "HTF Alignment (lagged)" plot shows the prior HTF close (htf_price ) as visual proof of no look-ahead.
Volatility Source & Scaling
If "Use Historical Volatility" is enabled, volatility is estimated from log returns on the selected resolution (HTF if set, otherwise chart).
Annualization adapts to session type:
Equities: 6.5 hours/day, 252 trading days/year
Crypto: 24 hours/day, 365 days/year
Substeps increase path smoothness within the same one-bar horizon—they do not extend the forecast to multiple bars.
Key Inputs
• Prob Up / Prob Down — Must satisfy Prob Up + Prob Down ≤ 1.0. If violated, simulation is skipped and table shows "✗ PROB>1".
• # Simulations / # Substeps — Higher = smoother/more stable, but slower. Default 100×100 is a good balance.
• Lower/Upper Percentile — Define the band width (e.g., 5 and 95 for a 90% distribution band).
• Run On Last Bar Only — Performance mode (recommended). Skips historical computation; updates on each new confirmed bar.
• Resolution (HTF) — Leave blank for chart timeframe, or set to Weekly/Monthly for HTF-aligned simulation.
• Crypto 24/7 Session? — Enable for crypto markets to use correct annualization (365d, 24h).
How to Use (Quickstart)
Start with defaults and keep Run On Last Bar Only = true for speed.
Set Prob Up and Prob Down so their sum ≤ 1.0 (e.g., 0.5 + 0.5 = 1.0 for neutral).
Enable "Use Historical Volatility" and set a Volatility Lookback (e.g., 20 bars) for data-driven vol.
Set Resolution (HTF) if you want the model to run on higher timeframe data (e.g., 1W). Expect updates only when a new HTF interval starts.
Choose percentiles (e.g., 5 and 95) to define your distribution band width.
Enable alerts for "Price Above Upper Percentile" or "Price Below Lower Percentile" to get notified of breakouts.
Limitations & Disclosures
Forecast horizon is one bar only. Substeps do not create a multi-bar forecast.
Model uses uniform shocks with direction chosen from Prob Up/Down. This is not Geometric Brownian Motion (GBM) and is not calibrated to any option-implied distribution.
Bounds are percentiles of final simulated prices, not a statistical confidence interval of the mean.
HTF mode updates at the start of a new HTF interval (first chart bar where the HTF timestamp changes), so the band appears "step-like" in realtime.
Historical volatility requires enough bars for the selected lookback; until then, values may be na.
Performance depends on Sims × Substeps; extreme settings (e.g., 500×500) can be slow.
This indicator does not predict direction—it shows a probabilistic range based on your inputs.
Forecasting
Donchian Channels (Multi Time Frame) x 3)📊 MTF Donchian Channels Pro — Triple Timeframe Structure
MTF Donchian Channels Pro is a professional-grade multi-timeframe market structure indicator designed to help traders visualize trend, momentum, and execution zones on a single chart.
This tool allows you to plot up to three independent Donchian Channels, each with its own configurable timeframe and lookback length, giving you instant insight into multi-timeframe alignment and breakout conditions.
By stacking higher, medium, and lower timeframe channels, traders can eliminate noise, improve timing, and trade in the direction of dominant market structure.
🔧 Key Features
✅ Up to 3 independent Donchian Channels
✅ Individual timeframe selection for each channel
✅ Adjustable lookback length per channel
✅ Optional show/hide per channel
✅ Midline (basis) for structure reference
✅ Clean visual fills for fast interpretation
✅ Works on all markets and timeframes
🎯 How to Use
This indicator is designed to support multi-timeframe trading systems.
Example configuration:
• Channel 1 → Lower timeframe (Execution)
• Channel 2 → Medium timeframe (Momentum)
• Channel 3 → Higher timeframe (Structure)
Long Bias Example
Price above higher timeframe channel
Pullback into mid timeframe range
Breakout on lower timeframe channel
Short Bias Example
Price below higher timeframe channel
Retrace into structure
Breakdown on execution timeframe
When all channels align, probability increases.
📈 Best Use Cases
✔ Futures Scalping
✔ Options Day Trading
✔ Forex & Crypto
✔ Swing Trading
✔ Prop Firm Evaluations
✔ Trend-Following Systems
⚠️ Risk Disclaimer
This indicator is a market structure visualization tool and does not provide financial advice. Always use proper risk management and confirm with your own strategy.
SOFT Speed & Linearity Strategy (MTF) LIVE & BACKTESTSOFT Speed × Linearity Strategy (MTF – LIVE & BACKTEST)
This strategy detects clean impulsive moves by combining real-time price speed with directional quality (linearity).
It is designed for intraday markets such as Gold (XAUUSD), Nasdaq, and Crypto (ETH, BTC), where acceleration quality matters more than raw indicators.
🔹 Core Concepts
1️⃣ Speed ($ per second)
Measures how fast price is moving
Expressed in $/second, not points or ticks
Two execution modes:
LIVE → real-time intra-candle speed using elapsed seconds
BACKTEST → historical approximation using (Close − Open) / candle duration
2️⃣ Linearity Score (1 → 5)
Evaluates movement quality inside the candle:
Net progress vs adverse excursion
Identifies one-way impulses vs noisy back-and-forth moves
Interpretation
1–2 → choppy / rotational
3 → acceptable
4–5 → clean impulse (higher continuation probability)
🔹 Visual Panel
Histogram bars = Speed × Linearity
Color reflects directional quality
Optional info label displays:
Execution mode (LIVE / BACKTEST)
Analysis timeframe
Linearity score
Direction
Speed ($/s)
No drawings are placed on candles.
🔹 Entry Logic
Configurable conditions:
Minimum linearity score
Minimum speed
Direction aligned with candle movement
Long / Short / Both modes
Optional cooldown between signals
⚠️ Speed thresholds are separated for LIVE and BACKTEST to reflect their different nature.
🔹 Exit Modes (Selectable)
A — Symmetric
Exit when entry conditions are no longer valid.
B — Hysteresis (default)
Exit only after controlled degradation:
Linearity falls below a lower threshold
Or speed drops below a lower threshold
C — Momentum
Exit when speed no longer supports the trade direction (speed ≤ 0).
Optional add-ons:
Exit on opposite signal
Exit on speed channel re-entry
🔹 Multi-Timeframe (MTF)
Default analysis timeframe: 15 minutes
Optional lock to chart timeframe
Safety rule for public use:
If chart timeframe < 15m, analysis remains on 15m
Prevents misleading ultra-fast recalculations
🔹 LIVE vs BACKTEST (Important)
LIVE mode uses true intra-candle acceleration
BACKTEST mode uses an approximation to allow reproducible historical testing
Results between LIVE and BACKTEST are not identical by design
This is intentional and clearly separated.
🔹 Alerts
Available alerts:
BUY
SELL
EXIT
Speed channel breakout
ALL events
Compatible with TradingView webhooks.
🔹 Intended Use
This is not a trend indicator.
This is not a prediction tool.
It is a momentum quality detector, useful to:
Validate breakouts
Filter false accelerations
Trade continuation, not anticipation
⚠️ Disclaimer
This script is for educational and research purposes only.
It does not constitute financial advice.
Always test, adapt parameters to your market, and manage risk.
EURCHF Pro: 1H Trend + Prob + Sessions + Timer + SwingsEURCHF – Table Explanation (Calm & Precision)
EURCHF is a slow and controlled pair.
The table focuses on patience and precision.
🔹 Market Trend (1H)
If the trend is not clear → no trade
EURCHF dislikes choppy markets
👉 The table helps you stay out of bad conditions.
🔹 Session
Best time:
London session only
👉 LOW session = stay out.
🔹 Candle Time Left
Less critical than other pairs.
Still useful for final confirmation
👉 No need to rush.
🔹 Buy / Sell Probability
Best results at 60%+
Fewer trades, higher quality
👉 One clean trade is better than many weak ones.
🔹 RSI / Volume
RSI moves slowly
Weak volume = low continuation
🟢 Result:
A precision-focused table for patient traders.
Trend-ProE un trend basado en medias móviles de hull, 1 acelerada un 20% y otra normal de periodo mas largo
GBPJPY Pro: 1H Trend + Prob + Sessions + Timer + Swings📊 GBPJPY – Table Explanation (High Volatility Control)
GBPJPY is fast and volatile.
The table is designed to protect you before profit.
🔹 Market Trend (1H)
The most important field for this pair.
Trading against the trend is very risky
👉 Always follow the 1H trend.
🔹 Session
Best trading times:
London
London–New York Overlap
👉 Avoid trading outside these sessions.
🔹 Candle Time Left
Extremely important for GBPJPY.
Entering before candle close can be dangerous
👉 Always wait for confirmation.
🔹 Buy / Sell Probability
50%+ can be acceptable due to strong moves
“READY” status is more important than the number
👉 Quality over quantity.
🔹 RSI / Volume
RSI moves fast
Strong volume often precedes sharp moves
⚠️ Result:
A defensive table that helps avoid late or emotional entries.
USDJPY Pro: 1H Trend + Prob + Sessions + Timer + Swings
📊 USDJPY – Table Explanation (Balanced & Clean)
USDJPY is a well-balanced pair with smooth trends.
The table helps you enter calmly and precisely.
🔹 Market Trend (1H)
Shows the main direction from the 1-Hour timeframe.
BULL → Look for BUY only
BEAR → Look for SELL only
👉 USDJPY respects trend direction very well.
🔹 Session
Displays the current trading session.
London & New York = best volatility
LOW = slow market
👉 Helps you avoid trading during dead hours.
🔹 Candle Time Left
Shows how much time remains before the candle closes.
👉 Very useful for waiting for candle confirmation on USDJPY.
🔹 Buy / Sell Probability
Shows the strength of BUY or SELL setups in %.
55%+ is usually sufficient for this pair
👉 Helps avoid weak or early entries.
🔹 RSI / Volume
Confirms momentum and activity.
Strong volume = better follow-through
✅ Result:
A clean table designed for disciplined, trend-based trading.
OIL (WTI) Pro: 1H Trend + Prob + Sessions + Candle TimerIndicator Features
📈 Multi-Timeframe Trend Detection (1H)
Identifies the main market trend from the 1-Hour timeframe
Displays the trend clearly as Bullish / Bearish / Sideways
Avoids trading against the higher-timeframe direction
🎯 Smart BUY & SELL Signals (On Candles)
Clear BUY and SELL signals directly on the candles
Signals are placed below lows (BUY) and above highs (SELL)
Uses ATR offset so signals are always visible and never hidden inside candles
📊 Separate Buy & Sell Probability
Calculates BUY Probability and SELL Probability independently
Probabilities are shown as percentages
Helps traders decide when to enter and when to wait
🧠 Pullback-Based Logic (No Chasing Price)
Signals are generated only after healthy pullbacks
Prevents entering trades when price is overextended
Displays a “Wait for Pullback” warning during strong trend extensions
60D Daily Anchored Quadrants + 12M FibJAO 60D Daily Anchored Quadrants + 12M Fib
Use for projecting 5YR 1YR Highs/Lows based on previous range deviations.
Use 60 Day look back to gain insight on narrative whether price is in a premium/discount and or use PDA that line up with levels for true support/resistance areas
Net Body Accumulation Visualizer"This indicator calculates the sum of green candles and red candles over a specific lookback period and displays the resulting 'Net Body.'
How to Use:
Trend Strength: When the candle is below the 0-line, it indicates strong selling pressure; when it is above the 0-line, it shows strong buying pressure.
MA Trading: It enables trading strategies based on Moving Average (SMA) lines.
Trend Identification: It makes it easy to identify whether the overall trend is bullish or bearish."
Mission Control Dashboard (AI, Crypto, Liquidity) FASTCONCEPT Price is a lagging indicator. Liquidity is a leading indicator. "Mission Control Dashboard (AI, Crypto, Liquidity) FAST" is a sophisticated macroeconomic dashboard designed to audit the "plumbing" of the financial system in real-time. Unlike standard indicators that rely solely on price action, this tool pulls data from the Federal Reserve (FRED), Treasury Statements, Corporate Financials (10-K/10-Q), and On-Chain Stablecoin metrics to visualize the structural flows driving the market.
THE "UNIFIED FIELD" SOLVER One of the hardest challenges in cross-asset scripting is "Time Dilation"—synchronizing 24/7 Crypto markets (Bitcoin) with Mon-Fri Traditional markets (Stocks/Bonds).
Standard scripts fail on weekends, showing mismatched data.
This engine uses a Weekly Anchor system. It calculates all momentum and liquidity metrics based on "Week-to-Date" or "Month-Ago" anchors. This ensures that a "Liquidity Drain" looks identical whether you are viewing a Bitcoin chart on Saturday or an Apple chart on Monday.
THE CHRONOS LOGIC The dashboard is sorted by Time Sensitivity (Speed of impact), from fast-twitch tactical signals to slow-moving structural fundamentals.
1. TACTICAL (Reacts in 24–48h)
Stablecoin Flight: Measures the immediate flow of capital from Volatile Assets to Stablecoins (USDT/USDC). A spike (>0.5%) indicates fear/sidelining.
Liquidity Alpha: Calculates the efficiency of capital. It subtracts "Friction" (Dollar Strength + Yields) from "Flow" (Liquidity Beta). High Alpha means money is flowing easily into risk assets.
Alt Euphoria: Tracks the overheating of the Altcoin market (TOTAL3). Green indicates sustainable growth; Red (>45%) warns of a "blow-off top."
Retail FOMO: A sentiment gauge comparing Coinbase Stock ( NASDAQ:COIN ) performance vs. Bitcoin ( CRYPTOCAP:BTC ). When Retail outperforms the Asset, local tops often follow.
2. LIQUIDITY & MACRO (Reacts in 1–4 Weeks)
Debt Wall (10Y): The Rate-of-Change of the US 10-Year Treasury Yield. Spiking yields act as gravity on risk assets.
Liquidity Beta: The raw "Quantity of Money." Tracks the 4-week change in Net Liquidity (Fed Balance Sheet - TGA + Stablecoins).
TGA Balance: The Critical Monitor. Tracks the Treasury General Account. When the TGA rises (Red), the government is draining liquidity from the banking system. When it falls (Green), it releases cash.
Note: This script includes an auto-scaler to handle TGA data in both Billions and Millions.
3. STRUCTURAL (Reacts in 3–12 Months)
AI Capex (YoY & QoQ): The "Floor" of the 2025/2026 cycle. Tracks the Capital Expenditure of the Hyperscalers (MSFT, GOOGL, AMZN, META). As long as this remains high (>30%), the infrastructure boom supports the tech narrative.
PMI Manufacturing: Tracks the ISM Manufacturing cycle. Contraction (<50) often forces Fed intervention.
Micron Inventory: A lead indicator for the hardware cycle.
HOW TO USE
Status Colors: The traffic light system helps you assess risk at a glance.
🟢 GREEN (Healthy): Flow is positive, friction is low, fundamentals are strong.
🔴 RED (Danger): Liquidity is draining (TGA spike), yields are shock-rising, or FOMO is excessive.
Zero Configuration: The script auto-detects asset classes and scales units (Billions/Trillions) automatically.
DATA SOURCES
Federal Reserve Economic Data (FRED)
Daily Treasury Statement (DTS)
CryptoCap (TradingView)
Nasdaq/Corporate Financials
Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Macro data feeds are subject to reporting delays.
Untested Wickless LevelsUntested Wickless Levels
Overview
Untested Wickless Levels is a specialized price-action tool designed to identify and track "Wickless Candles"—bars where the price opens or closes at the absolute high or low of the candle with zero (or negligible) wick.
In technical analysis, a wickless candle often represents strong, institutional conviction. When a level is created without a wick and remains "untested" (price has not yet returned to pierce that specific coordinate), it often acts as a significant magnet for future price action or a zone of hidden support/resistance.
How It Works
The indicator scans every candle for a "Shaved" top or bottom.
Resistance (No Upper Wick): Created when the high of the candle is equal to the Open or Close. This suggests aggressive selling or a "ceiling" that hasn't been contested yet.
Support (No Lower Wick): Created when the low of the candle is equal to the Open or Close. This suggests aggressive buying or a "floor."
Once a level is identified, the script draws a horizontal line that automatically extends until price action eventually "tests" or breaks the level. Once the level is breached, the line is removed to keep your chart clean and focused only on active, high-probability zones.
Key Features
Automatic Level Extension: Lines track across your chart indefinitely until they are mitigated by price.
Wick Tolerance Setting: Crypto and Forex markets often have "micro-wicks" due to spread. The Wick Tolerance input allows you to include levels that have a 1 or 2 tick margin of error.
Non-Repainting: Signals are confirmed on candle close, ensuring the levels you see are permanent until broken.
Clean Visuals: Fully customizable colors, line styles (Solid, Dashed, Dotted), and widths.
How to Use
Target/Magnet: Use untested wickless levels as potential targets for take-profits, as price frequently returns to "fill" these efficient moves.
S/R Zones: Treat long-standing untested lines as strong areas for potential reversals or entries.
Breakout Confirmation: If price approaches a wickless resistance and fails to break it, it confirms the strength of the original move.
DATA BOX - Market Overview (18 Key Assets)Market sentiment dashboard - know what's hot, what's not, instantly!
Real-time dashboard showing 18 key assets across Indices, Crypto, Metals, Bonds & Forex
📊 ONE GLANCE MARKET SENTIMENT
BTC, ETH, SOL, SPX, Nasdaq, DJ30, Russell2000, Gold, Silver, Nikkei, UK100, EU50, GER40, HK50, NIFTY, SSE Composite, US10Y, DXY
Current Prices - Live updating
Daily 50 SMA - Price above = 🟢 BULL | Below = 🔴 BEAR
4H SMA - Short-term trend direction - Price above = 🟢 BULL | Below = 🔴 BEAR
RSI Daily/4H - Momentum extremes highlighted
----------------------------------------------------------------------------------------------------------------------
🎨 VISUAL POWER RANKING
text
🟢 GREEN ROW = Both D50 + 4H Bullish (STRONG BUY)
🟠 ORANGE ROW = Mixed signals (CAUTION)
🔴 RED ROW = Both Bearish (STRONG SELL)
----------------------------------------------------------------------------------------------------------------------
⚙️ FULLY CUSTOMIZABLE
3 Sizes: Small/Medium/Large
6 Color Pickers: Bull/Bear/Mixed + Headers/RSI/Price BG
Toggle RSI columns independently
----------------------------------------------------------------------------------------------------------------------
🚀 PERFECT FOR:
Day traders needing a multi-asset overview
Swing traders checking daily trend alignment
Portfolio managers monitoring global risk.
Mission Control Dashboard (AI, Crypto, Liquidity)Description: Mission Control Dashboard (AI, Liquidity) is a comprehensive macro-liquidity and cycle-analysis dashboard designed to track the "Flow of Funds" across traditional and crypto markets. Instead of looking at price action alone, this script monitors the fundamental "plumbing" of the global economy.
Key Metrics Tracked:
The Debt Wall: Monitors the US 10Y Yield and TLT price. It signals a "Critical" state if yields spike above 5% or TLT drops below $80, indicating high stress in the bond market.
Global Liquidity (MTF Stable): A proprietary calculation summing the balance sheets of the FED, ECB, BoJ, and PBoC, plus Stablecoin market cap. It calculates the Rate of Change (ROC) to see if the world is "printing" or "draining" money.
TGA Hidden Fuel: Tracks the Treasury General Account. A falling TGA is often bullish for risk assets as it injects liquidity into the banking system.
Universal Alt Season: Monitors TOTAL3 (Crypto market cap excluding BTC & ETH) for parabolic moves (>30% ROC).
AI Infra Capex: Real-time tracking of Capital Expenditures from MSFT, GOOG, AMZN, and META to gauge the health of the AI cycle.
How to use:
Green Status across the board: High probability for "Risk-On" environments (Alt season, Tech rallies).
Strategic Beta vs. Tactical Alpha: If Beta is draining but Alpha is accelerating, it suggests a "False Breakout" or a divergence in liquidity.
Uranium Trend: Used as a proxy for the energy transition and long-term industrial cycle strength.
Single/Multi Year Historical ProjectionAnother Year projection script but this time with multi year plots added in for years ending with 'X'
So for example years ending in '6'. will grab all years available (2016, 2006, 1996 etc) and plot and give an average bonus plot as well.
Evil MACD Trading System (Pine Script v6)Indicator Overview
The Evil MACD Trading System is an enhanced version of the classic MACD indicator, optimized for TradingView with Pine Script v6. It integrates trend filtering, volume confirmation, and precision signal positioning to reduce false signals and improve trading decision accuracy—distinguishing itself from the traditional 12/26/9 MACD by focusing on trend-aligned entries and exits.
Core Logic & Features
1. Enhanced MACD Calculation
Departing from the standard MACD parameters, this system uses customizable fast (default:14), slow (default:28), and signal (default:8) periods to adapt to different market volatility and asset types (stocks, futures, cryptos). The core DIF, DEA, and histogram are retained while optimized for better sensitivity to medium-term trends.
2. Trend Filtering Mechanism
A 60-period EMA (adjustable) acts as the primary trend filter, ensuring buy signals only trigger in uptrends (price above EMA) and sell signals in downtrends (price below EMA). This avoids counter-trend trades and minimizes exposure to sideways market noise.
3. Volume Confirmation (Toggleable)
The optional volume filter validates signals by requiring trading volume to exceed 120% of the 20-period average volume. This ensures entries/exits are supported by capital flow, reducing false breakouts/breakdowns.
4. Precision Signal Positioning
Signals are overlaid directly on the price chart (not the subwindow) for intuitive price correlation. Buy signals (green upward triangles + "Buy" label) attach to the bottom of candlesticks, while sell signals (red downward triangles + "Sell" label) align with candlestick highs—adjustable offset parameters let users fine-tune signal proximity to price.
Usage Guidelines
- Buy Signal: Triggered when DIF crosses above DEA, price stays above the 60-period EMA, and volume (if enabled) meets the 120% threshold.
- Sell Signal: Triggered when DIF crosses below DEA, price stays below the 60-period EMA, and volume (if enabled) meets the 120% threshold.
- Customization: Adjust MACD periods, trend filter length, volume sensitivity, and signal offset to match your trading style (scalping, swing trading) and target assets.
Compatibility & Notes
Built for Pine Script v6 (latest TradingView version) with no syntax errors. The indicator supports all timeframes and asset classes. For best results, combine with additional technical tools (support/resistance, RSI) for multi-factor confirmation. Disable the volume filter in low-liquidity markets to avoid missing valid signals.
SMT + BOS + RR This indicator implements a Smart Money Theory (SMT) + Break of Structure (BOS) strategy with a fixed risk/reward ratio, synchronized between two assets. The main idea is to detect discrepancies in the movements of two symbols to identify potential accumulation and reversal zones driven by institutional activity.
Key Features:
SMT Signals:
Automatically identifies divergences between two assets (e.g., BTC and ETH), highlighting potential smart money activity.
Detects trend direction through sweeps of recent highs and lows.
BOS (Break of Structure):
Filters signals based on structure break: higher highs/lower lows.
Additional ATR-based candle size check to avoid false signals.
Entry & Position Management:
Supports long, short, or both directions.
Entry type selection: on candle close (bos_close) or retest (bos_retest).
Automatic calculation of Stop Loss at the last extreme and Take Profit based on the specified risk/reward ratio (RR).
Visualization:
Arrows displayed on the chart for buy and sell signals.
SL and TP lines for clear risk management.
SMT signals marked at the top and bottom of the chart.
Settings:
Symbol A / Symbol B — choose assets for SMT analysis.
Side — trading direction: long, short, or both.
Swing Size — pivot size for detecting local highs and lows.
Risk/Reward — RR ratio for automatic TP calculation.
Min BOS Body ATR — minimum candle body size for BOS confirmation.
Best Suited For:
Traders following Smart Money concepts and looking for market structure-based signals with controlled risk.
9 MME + 20,50,200 MMA (welliott_trading)Script que no mesmo gráfico utiliza um indicador para plotar 4 médias
Moon Declination & More [BlueprintResearch]🌒 MOON DECLINATION & MORE
A comprehensive lunar declination visualization showing Moon, Sun, and node declinations, with phase coloring, zodiac sign tracking, and future projections.
Part of the Blueprint Research open-source ephemeris project.
█ WHAT'S INCLUDED
• Moon Declination — The Moon's angular distance from the celestial equator, oscillating rapidly (~27 days)
• Sun Declination — Optional overlay showing the Sun's seasonal declination (±23.4°)
• Node Declinations — North (☊) and South (☋) node lines forming the Moon's orbital envelope
• Future Projections — Project all lines up to 500 bars into the future
• Zodiac Crossing Markers — Indicates when the North Node reaches a particular zodiac degree. Keep in mind, nodes move through the zodiac in reverse.
█ CONCEPTS
Declination measures how far north or south a celestial body appears from the celestial equator. The Moon's declination oscillates rapidly, while its maximum range shifts slowly over the 18.6-year nodal cycle.
Node Declination Envelope:
The North (☊) and South (☋) node lines mark the envelope of the Moon's orbit—the theoretical maximum northern and southern declinations the Moon can reach.
Lunar Standstills:
The 18.6-year nodal cycle determines when the Moon reaches its most extreme declinations. During a major standstill, the Moon can exceed ±28° declination. During a minor standstill, the Moon's range is limited to approximately ±18°.
Out-of-Bounds (OOB):
When the Moon moves beyond ±23.44° declination, it exceeds the Sun's maximum reach and is considered "Out of Bounds."
█ COLORING OPTIONS
Phase Coloring (Moon)
Color the Moon's declination line by lunar phase:
• New Moon (0-90°): Slate silver
• First Quarter (90-180°): Mint
• Full Moon (180-270°): Bright gold
• Last Quarter (270-360°): Soft violet
Zodiac Sign Coloring (Nodes)
Color the node lines by their zodiac sign. When enabled, a color legend appears at the top, showing all 12 signs for reference.
█ ZODIAC FEATURES
Zodiac Sign Coloring
Color the North and South Node lines according to their zodiac sign positions.
Zodiac Crossing
Marks when the North Node crosses a specific zodiac degree. Select any sign and degree (0-29) to track. The North Node moves retrograde through the zodiac over an 18.6-year cycle.
█ RESEARCH FEATURES
Standstill Thresholds
Horizontal reference lines at key declination levels:
• ±28.6° Major Standstill (peak of the 18.6-year cycle)
• ±18.3° Minor Standstill (trough of the cycle)
• ±23.4° Out-of-Bounds threshold
OOB Highlighting
Optional background shading when the Moon exceeds the OOB threshold.
Node Equatorial Crossings
Crosshair markers indicate when the node's declination crosses 0° (equatorial passage).
Reference Line Labels
Labels at projection endpoints with an adjustable offset for readability.
█ FEATURES
• Moon declination with optional lunar phase coloring
• Sun declination overlay
• North and South node declinations (☊ and ☋)
• Future projections up to 500 bars
• Zodiac sign coloring with a color legend
• Zodiac degree-crossing markers
• Node equatorial-crossing markers
• Out-of-Bounds background highlighting
• Reference line labels with offset control
• Customizable line widths and colors
• Informative tooltips for all settings
• Works on all timeframes
█ HOW TO USE
1 — Add the indicator to your chart
2 — Configure which elements to display (Moon, Sun, Nodes)
3 — Enable future projections to view upcoming declination values
4 — Enable Zodiac coloring to track node sign positions
5 — Set a Zodiac Crossing degree to mark when the North Node crosses that point
6 — Enable Standstill Thresholds to show reference lines
7 — Toggle phase coloring to visualize the lunar cycle
█ THEORY
Lunar Theory: ELP2000-82 by Chapront-Touzé & Chapront
Solar Theory: VSOP87 for Sun position and phase calculation
Reference: Meeus, "Astronomical Algorithms" (2nd Ed., 1998)
█ LIMITATIONS
• Truncated ELP2000-82 theory (~10 arcseconds precision)
• Future projections assume consistent bar timing
• Phase coloring uses 4 phases (not the 8 traditional phases)
• Mean nodes only (no perturbation corrections)
█ OPEN SOURCE
Blueprint Research Ephemeris Libraries:
• lib_elp2000_moon — Lunar position and mean node calculations
• lib_vsop_core — Solar position and coordinate utilities
• lib_ephemeris — Unified planetary API
Third-Party Libraries:
• hsvColor by @kaigouthro — HSV color utilities (MPL 2.0)
© 2025-2026 BlueprintResearch (Javonnii) • CC BY-NC-SA 4.0
[uxo] Delta Heatmap - Open Sourcedtheres genuinely no reason that a delta heatmap should be closed source
Short seller Market Stats Box (NY Time)This box will give you the basic info for your stats if you are a short seller .
The tricky one is the morning push it will give you the higher high between 9:30 and 10:00 . OPP% is the difference between market open and market close.
Weekly High/Low Day StatisticsThis indicator analyzes historical price data to determine which day of the week (Monday through Friday) most frequently hosts the weekly high and low prices. It provides overall counts, percentages, and the total number of weeks analyzed. Ideal for traders studying seasonal or day-of-week patterns in markets like futures (e.g., ES1!, NQ1!) or stocks (e.g., SPY).
Key Features:
Overall Statistics: Aggregates data across all available history, including the current partial week if applicable.
High/Low Tracking: Counts how many times each day was the weekly high or low, with percentages calculated over the total weeks.
Tie Handling: Uses the first occurrence in case of price ties (e.g., if multiple days hit the same high, the earliest day is credited).
Futures-Friendly: Utilizes time_tradingday for accurate day-of-week detection on continuous contracts like ES1!, accounting for session timings in UTC.
Table Display: Results are presented in a clean, semi-transparent table in the top-right corner, with columns for counts, percentages, and a total weeks summary.
Dynamic Updates: Processes all available historical bars on daily (1D) charts, supporting deep history (e.g., back to 2001 for ES1!). Note: On intraday timeframes, historical depth may be limited by TradingView's bar constraints.
How It Works:
The script iterates through daily bars, identifying the start of each new week via ta.change(time("W")). It tracks the highest and lowest prices within each week and assigns them to the corresponding trading day. At the end of each complete week, it tallies the results. The current incomplete week is included for real-time relevance.
Percentages are calculated as: (Count / Total Weeks) * 100, rounded to one decimal place.
Usage Tips:
Recommended Timeframe: Daily (1D) for maximum historical analysis. Works on intraday charts but with shallower data.
Symbols: Best for markets trading Monday-Friday, like indices, futures, or equities. Sunday/Saturday data is ignored as it's typically non-trading.
Customization: If ties should favor the last day instead, modify the comparison operators from >/< to >=/<= in the update logic.
Performance: Efficient for large datasets; no max_bars_back needed as it avoids deep historical references.
This tool can help uncover patterns, such as whether Fridays tend to be highs in bullish markets or Mondays lows during volatility. Use it alongside other indicators for comprehensive strategy building. Feedback welcome—feel free to suggest improvements!
Options X-Level Lock Tracker (Weekly Fri PM)What this indicator is
Options X Lock Tracker is a weekly trade‑management dashboard for defined‑risk premium selling where the “trade thesis” is primarily about finishing on the correct side of a single level (X) by expiration. In this framework, X is the short strike (the “line”) you sell, and the goal is to remain on the correct side of X through settlement.
This script helps you:
Compute candidate PUT X and/or CALL X levels using a volatility‑based model,
Lock those X levels on specific weekdays (Mon/Tue/Wed),
Track touches/breaches during the week, and
Evaluate win/loss at weekly settlement.
Core features
1) X‑Level computation (PUT and/or CALL)
Can compute PUT X, CALL X, or both.
Can use a target delta approach or a 1‑sigma move approach.
Volatility input can be HV (log returns) or ATR, with configurable lookback lengths and caps/floors.
2) Expiry / settlement controls
Settlement is aligned to next Friday with a configurable timezone + settle hour/minute (e.g., Fri 16:00 New York).
3) Strike rounding + optional “snap”
Rounds strikes to your chosen strike increment (e.g., 5‑point spacing for index products).
Optional “snap” can align X to nearby prior daily/weekly key levels (H/L/C/Mid) rather than purely model output.
4) Locking workflow (Mon / Tue / Wed)
You can enable locking on Monday, Tuesday, and/or Wednesday.
Locks occur on the daily close (confirmed bar), and once locked, the level is held for the week.
5) Visual plotting
Plots the locked X levels as horizontal lines extended to the right:
PUT lines are solid, CALL lines are dashed, and
Lines are color‑coded by lock day (Mon/Tue/Wed).
6) Touch/Breach tracking
Tracks whether price touched/breached the locked X during the week (after the lock moment).
7) Friday settlement result (win/loss)
On Friday’s confirmed close, evaluates results:
Short PUT considered a win if settle > put strike
Short CALL considered a win if settle < call strike
8) Table dashboard (weekly “control panel”)
The table is meant to be your weekly at‑a‑glance tracker. For each lock day and each side it can show:
Locked strike (X),
“Now” distance from price,
Touch status,
Settle status (once Friday passes),
W% = a real‑time probability estimate (normal approximation).
Important: W% is a real‑time probability estimate, not a historical win‑rate backtest.
9) RSI context + RSI alerts
Optional RSI context in the table and RSI‑based bias framing.
Includes alert conditions for RSI crossing above/below 50 (useful for regime shifts).
Recommended chart setup / best practices
This tracker is intentionally built around daily locking, and is designed for 1D charts where the lock event is the daily close.
Make sure your settlement timezone/time matches the product you’re trading (and your intended settlement convention).
If you trade instruments with different strike spacing, update Strike increment accordingly.
Limitations / notes
Probability outputs (W%) are model estimates and can diverge from real option pricing (skew, kurtosis, jumps, event risk, liquidity, etc.).
This is a decision support / tracking tool. It is not an automated execution system, and it does not include slippage/fees in outcomes.
Disclaimer
This indicator is for educational and informational purposes only and does not constitute financial advice. Options involve substantial risk and are not suitable for all traders. Always use defined risk controls and trade within your plan.






















