Proteus EMA SystemInstitutional-Grade EMA System
Overview and Originality
The Institutional-Grade EMA System is an advanced, multi-layered Exponential Moving Average (EMA) overlay indicator designed to provide institutional-level trend analysis, market regime identification, and trade signal generation. Unlike standard multi-EMA scripts that simply plot averages and basic crossovers, this indicator introduces a proprietary integration of features tailored for professional traders: customizable presets that dynamically adjust EMA lengths for specific trading styles (e.g., scalping vs. position trading), multiple selectable trend detection algorithms (including a unique multi-bar slope analysis with percentage-based strength thresholding), EMA alignment and confluence detection for spotting high-conviction trends and reversal zones, volume-based signal filtering, and a comprehensive statistics dashboard for real-time market insights.
What makes this script original and worthy of closed-source protection is the bespoke combination of these elements into a cohesive system. For instance, while basic EMA ribbons or trend coloring exist in other indicators, this script's trend detection goes beyond simple comparisons by incorporating a normalized slope percentage calculation (detailed below) to quantify trend strength on a 0-100% scale, integrated with EMA stacking checks and confluence thresholds. This proprietary logic—refined through extensive backtesting on diverse assets—allows for nuanced market regime classification (e.g., "Strong Uptrend" only when alignment, slope strength, and volume align), which isn't replicated in open-source alternatives. The closed-source format protects the exact orchestration of these algorithms, including custom threshold derivations and dashboard computations, preventing direct replication while allowing users full access to the tool's outputs. If published open-source, the unique mathematical formulations (e.g., slope-to-strength mapping) could be easily copied, diminishing its edge in competitive trading environments.
This indicator draws conceptual inspiration from institutional trend-following systems (e.g., those using multiple time-horizon EMAs like in hedge fund models), but enhances them with modern Pine Script capabilities for visual and analytical depth. It's particularly useful for traders seeking to reduce false signals in volatile markets by requiring multi-factor confluence.
What It Does
Core EMA Plotting and Visualization: Plots up to 7 EMAs (5 primary + 2 optional) with dynamic coloring based on detected trend direction and strength (strong bullish: bright green; weak: faded green; neutral: gray; etc.). Includes EMA ribbons (fills between consecutive EMAs) and clouds (broader fills between non-consecutive EMAs) to visualize trend expansion/contraction.
Trend Detection and Strength: Classifies trends as strong/weak bullish/bearish or neutral using user-selectable methods, with optional volume confirmation to filter low-conviction moves.
Advanced Analytics:
Detects EMA alignment (all EMAs stacked in ascending/descending order for bullish/bearish trends).
Identifies EMA confluence zones (tight clustering of EMAs, signaling potential reversals or consolidations).
Draws dynamic support/resistance lines from the nearest EMAs relative to price.
Signals and Alerts: Generates buy/sell signals on customizable EMA crossovers, only if volume thresholds are met. Includes alerts for crossovers, alignments, confluences, and regime shifts.
User Interface Enhancements: Background coloring for quick trend bias (e.g., green for uptrends, yellow for confluences), dynamic line widths (thicker for slower EMAs), trend state labels, and a table-based dashboard displaying metrics like market regime, trend strength percentage, EMA slopes in degrees, price distances to key EMAs, volume status, and alignment state.
Customization Presets: Pre-configured EMA lengths for Scalping (short, reactive: e.g., 5/8/13), Day Trading (balanced: 9/21/50), Swing Trading (medium-term: 20/50/100), Position Trading (long-term: 50/100/150), or fully custom.
The result is a versatile tool that adapts to any timeframe or asset, helping traders identify high-probability setups by combining trend momentum, volume, and EMA dynamics.
How It Works: Underlying Concepts and Calculations
Without revealing the full implementation, here's a transparent overview of the key concepts and methodologies to help users understand the indicator's logic:
EMA Calculation and Presets: EMAs are computed using standard exponential smoothing (weighting recent prices more heavily). Presets optimize lengths based on trading horizon—shorter for scalping to capture quick reversals, longer for position trading to filter noise. For example, Swing preset uses 20/50/100/150/200 to balance short-term pullbacks with long-term trends, derived from Fibonacci-inspired progressions for natural market rhythm alignment.
Trend Detection Methods: Users select from four algorithms for flexibility:
Multi-Bar Slope (Default): Calculates the average slope over a lookback period (e.g., 3 bars) as (current EMA value - EMA value ) / lookback. Normalizes to a percentage relative to the EMA value: slope_percent = (slope / EMA) * 100. Thresholds classify trends (e.g., >0.05% = strong bullish; 0.01-0.05% = weak; symmetric for bearish). This method draws from linear regression concepts but simplifies for real-time use, providing robust trend quantification over simple bar-to-bar changes.
Previous Bar: Compares current EMA to the prior bar's, with percentage change thresholds (e.g., >0.1% = strong) for quick momentum shifts.
EMA vs EMA: Measures the percentage difference between fast and slow EMAs (e.g., >2% = strong bullish), inspired by MACD-like divergence but applied directly to EMAs.
Price Position: Gauges price's percentage distance from the EMA (e.g., >1% above = strong bullish), similar to envelope channels but integrated into trend coloring.
Trend strength is further scored (0-100%) by averaging absolute slopes of key EMAs, scaled for dashboard display.
Volume Confirmation: Uses a simple moving average of volume over a user-defined length (default 20), requiring current volume to exceed it by a multiplier (default 1.2x) for signal validation. This filters out low-volume fakeouts, akin to institutional volume-weighted strategies.
EMA Alignment: Checks if all visible EMAs are in strict order (fastest highest in uptrends, lowest in downtrends) by iterating through active EMAs and verifying sequential relationships. Signals "ALIGNED" shapes when true, indicating stacked trends like in ribbon strategies but with programmatic validation.
EMA Confluence: Computes the average of active EMAs, then measures the maximum percentage deviation of any EMA from this average. If below a threshold (default 0.5%), marks a "CONFLUENCE ZONE" box, conceptually similar to Bollinger Band squeezes but applied to EMA clusters for reversal anticipation.
Market Regime Classification: Combines alignment, trend score (>30% for "strong"), and price position relative to slowest EMA. For example, bullish alignment + high score = "Strong Uptrend"; close clustering = "Consolidation". This heuristic draws from regime-switching models in quantitative finance.
Signals and Visuals: Crossovers between user-selected EMAs (e.g., fast #1 over slow #2) plot "BUY/SELL" shapes only if volume-confirmed. Ribbons use color fills (green/red) based on EMA order; background shades reflect regime; S/R lines extend from max/min EMAs below/above price over a lookback (default 50 bars).
These calculations ensure the indicator provides actionable, multi-confirmed insights rather than generic plots.
How to Use It
Setup: Add to your chart and select a preset (e.g., "Swing Trading" for 1H-4H charts). Customize trend method (start with "Multi-Bar Slope" for accuracy), enable volume filter for reliability, and toggle visuals like ribbons or dashboard.
Trend Following: In a "Strong Uptrend" (green background, upward slopes >30%, bullish alignment), go long above the fastest EMA. Use S/R lines for stops (below nearest support EMA).
Swing Trading Example: On a daily SPX chart with Swing preset:
Wait for "Weak Uptrend" transition to "Strong" (trend score >50%, positive slopes, volume spike).
Enter long on EMA1 (20) crossing EMA2 (50), confirmed by "BUY" signal.
Target next resistance EMA (e.g., 150), exit on bearish crossover or confluence zone (yellow box signaling potential top).
Risk: Stop below EMA3 (100); aim for 2:1 reward:risk on multi-day holds.
Scalp Trading Example: On a 5-min BTCUSD chart with Scalping preset:
Focus on quick "Weak Bullish" shifts (faded green EMAs, slope >0.01%).
Buy on EMA1 (5) crossing EMA3 (13) with high volume (>1.5x avg).
Scalp 0.2-0.5% gains, exit at slope flattening (dashboard shows <30% strength) or nearest resistance.
Avoid confluences (chop); use 1-min for entries, 15-min for bias.
General Tips:
Combine with price action (e.g., candlestick patterns at confluence zones).
Backtest presets on your asset—adjust thresholds for volatility (e.g., tighter confluence for forex).
Use alerts for hands-off monitoring; multi-timeframe analysis enhances accuracy (higher TF for regime, lower for signals).
For ranging markets ("Neutral" regime), fade extremes near S/R zones.
Examples for Swing Trading
Swing trading focuses on capturing medium-term moves (days to weeks) in trending markets. Use the "Swing Trading" preset, which sets EMAs to 20, 50, 100, 150, 200, 75, 125—balancing sensitivity and smoothness.
Bullish Setup Example: On a daily chart of AAPL, wait for a "Strong Uptrend" regime (green background, bullish alignment label, trend strength >50%). Enter long on a valid bullish crossover (green "BUY" circle) between EMA1 (20) and EMA2 (50), confirmed by high volume. Set stop below nearest support EMA (e.g., EMA3 at 100), target 2-3x risk or next resistance. Hold until bearish crossover or alignment breaks.
Bearish Setup Example: On a 4H chart of EURUSD, spot a "Strong Downtrend" (red background, bearish alignment). Short on a bearish crossover (red "SELL") between EMA1 and EMA3, with volume confirmation. Stop above nearest resistance EMA, exit on confluence zone (yellow) signaling potential reversal.
Tip: Focus on alignments for trend confirmation—avoid trading against them. Use confluence zones as profit-taking areas in ranging markets.
Examples for Scalp Trading
Scalping targets quick, short-term trades (minutes to hours) on lower timeframes. Select the "Scalping" preset for shorter EMAs (5, 8, 13, 21, 34, 55, 89) to catch rapid moves.
Bullish Setup Example: On a 1-min chart of BTCUSD, look for "Weak Uptrend" (faded green background, positive slopes). Enter long on a fast crossover (e.g., EMA1 over EMA2) with high volume and no confluence (avoid chop). Scalp for 0.5-1% gain, exit on slope flattening or bearish cross. Use tight stops below the fastest EMA.
Bearish Setup Example: On a 5-min chart of TSLA, identify "Weak Downtrend" (faded red). Short on a crossover between EMA2 and EMA3, confirmed by volume spike. Target small moves (e.g., 10-20 pips), exit at nearest support EMA or if trend strength drops below 30%.
Tip: Prioritize "Multi-Bar Slope" detection for quick trend shifts. Disable background if it's distracting; focus on crossovers and volume for high-frequency entries. Avoid during confluences, as they signal choppy conditions.
This detailed approach ensures traders can replicate setups while appreciating the indicator's original value. Feedback welcome—let's refine trading edges together!
Indicadores e estratégias
Session Opens by TradeSeekersIt doesn't get much simpler than this indicator for futures traders wanting to track four key session open prices.
Sessions
1. ETH open - extended hours starts
2. Midnight open - new calendar day starts
3. CME open - Chicago exchange opens, data releases
4. RTH open - regular trading hours, volume cometh
Usage
All four of these prices / areas are important for futures traders to pay attention to.
RTH opens far below ETH sometimes will retrace, CME and RTH together can act as a powerful range.
Midnight open sometimes has little importance for the day, but then again it's provided beautiful bounces. Again each level I find to be impactful nearly every session, so I like to keep them close by in an understated manner.
Timezone
If you're not EST, adjust the timezone string accordingly (refer to TradingView docs for string formats).
Proximity Detection
Also, I added proximity detection that aims to keep level collisions from occurring. If a particular session open isn't shown it may be due to being exactly the same price as another open or it's too close to another open.
The proximity sensitivity can be adjusted in settings. The on chart appearance doesn't impact the alerting capability.
Aesthetics
I don't like boring charts so I added a fun "glow" effect, I went with a palette that reminded me of clear sky colors at those times of day (if you're EST).
Alerting
Alerting can be done with just a single alert, first open the indicator config and uncheck any session opens you don't want to be alerted on (why!?), and then use the standard alert menus in TradingView to set the alert on "Any alert() function call".
Why does this beautiful indicator exist?
While there are a handful of indicators that plot open prices with some overlap to this one, I didn't see any that alerted automatically without much fuss.
iFVG Ultimate+ | DodgysDDOVERVIEW
iFVG Ultimate+ | DodgysDD is a professional-grade visualization framework that automates the identification and management of Inversion Fair Value Gaps (IFVGs)
It is designed for analysts and educators studying institutional price behavior, liquidity dynamics, and displacement-based imbalances.
This indicator does not provide trading signals or forecasts.
All logic serves educational and analytical purposes only.
A Fair Value Gap (FVG) appears when strong directional displacement prevents candle bodies from overlapping.When a liquidity sweep occurs and price later closes through that gap, the imbalance is considered inverted. This often marks a shift in order-flow.
iFVG Ultimate+ tracks these transitions using a rule-based sequence:
Liquidity Sweep – Price sweeps a previous swing high or low.
Displacement – Body-to-body gap forms as price accelerates away.
Inversion – Full candle body closes through the gap after raid.
Validation and Tracking – Confirmed inversions are stored and managed until completion or invalidation.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
The framework serves as a research tool to document and analyze IFVG behavior within liquidity and session contexts.
It is commonly used to:
-Record and journal IFVG formations for back-testing and model study.
-Assess how often gaps complete or invalidate after sweeps.
-Evaluate session-based patterns (London, Asia, New York).
-Overlay HTF PD Arrays to observe inter-timeframe delivery.
-Receive custom alerts to your phone
-----------------------------------------------------------------------------------------------
LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ runs a five-stage validation process to ensure sequential, non-repainting behavior.
Liquidity Framework:
• Detects swing highs and lows on aligned timeframes (automatic or manual selection).
• Logs session highs/lows for Asia (20:00–00:00 NY) and London (02:00–05:00 NY).
• Includes data wicks around 08:30 NY for event reference.
FVG Detection and Displacement Filter:
• Identifies body-based imbalances using ATR-scaled sensitivity modes (Sensitive / Normal / Strict).
• Supports “Single” or “Series” modes to merge adjacent gaps.
• Excludes weak displacements using minimum ATR thresholds.
Inversion Validation:
• Confirms only when a complete candle body closes through a qualifying FVG within a user-defined window (6 or 15 bars).
• Duplicate detections are ignored; mitigation states are recorded.
HTF Context Integration:
• Maps higher-time-frame PD Arrays and tracks their delivery status.
• Labels active zones (e.g. “H4 PDA”) and updates on HTF close.
Model Lifecycle and Limits:
• Plots the inversion line and derives educational limit levels: Break-Even and Stop-Loss.
• Tracks until opposing liquidity is swept (model complete) or an invalidation event occurs.
-----------------------------------------------------------------------------------------------
COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------
-IFVG Line — Marks confirmed inversion at close.
-Break-Even / Stop-Loss Lines — Calculated retrospectively for journal grading.
-Session High/Low Markers — London and Asia reference levels.
-Data Wicks — 8:30 NY “DATA.H/L” labels for event volatility.
-SMTs — Compares current symbol to correlated instrument for divergence confirmation.
-Checklist Panel — Tracks liquidity, momentum, HTF delivery, and SMT conditions.
-Setup Grade Display — Computes qualitative score (A+ to C) based on met conditions.
-----------------------------------------------------------------------------------------------
INPUT CATEGORIES
-----------------------------------------------------------------------------------------------
General — Detection mode, ATR strictness, bias filter, long/short window.
Liquidity — Automatic or manual timeframe alignment, session visuals.
FVG — Color themes, label sizes, inversion color change, HTF inclusion.
Entry / Limits — Enable or hide Entry, Break-Even, and Stop-Loss levels.
Alerts — Individual toggles for IFVG formation, session sweeps, multi-TF inversions, and invalidations.
Display — Info Box, relationship table, and grade styling.
All alerts output plain text messages only and do not execute orders.
-----------------------------------------------------------------------------------------------
ALERT FRAMEWORK
-----------------------------------------------------------------------------------------------
When enabled, alerts may notify for:
-Potential inversion detected.
-Confirmed IFVG formation.
-Liquidity sweeps (high/low or session).
-Multi-time-frame inversion.
-Invalidation or close warning.
-Alerts serve as educational markers only, not trade triggers.
The user will have the ability to create custom messages for each of these alert events.
-----------------------------------------------------------------------------------------------
USAGE GUIDELINES
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ is suited for review and documentation of displacement-based price behavior.
Recommended educational workflows:
-Annotate IFVG events and review delivery into PD Arrays.
-Analyze frequency by session or timeframe.
-Assess how often IFVGs complete versus invalidate.
-Teach ICT-style liquidity mechanics in mentorship or training contexts.
-The indicator works across forex, futures, and crypto markets.
-----------------------------------------------------------------------------------------------
OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------
-HTF calculations finalize on bar close (no look-ahead).
-ATR filter strength affects small-gap visibility.
-Session windows use New York time.
-Break-Even and Stop-Loss lines are visual aids only.
-Performance depends on chart density and bar count.
-No strategy module or backtest engine is included.
-----------------------------------------------------------------------------------------------
ORIGINALITY AND PROTECTION
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ | DodgysDD integrates multiple independent systems into a single engine:
-PD Array context alignment with liquidity tracking.
-Dynamic session detection and macro data integration.
-Sequential IFVG validation pipeline with grade assignment.
-Multi-time-frame SMT confirmation module.
-Structured alerts and mitigation tracking.
The logic is entirely original, written in Pine v6, and protected as invite-only to preserve methodology integrity.
-----------------------------------------------------------------------------------------------
ATTRIBUTION
-----------------------------------------------------------------------------------------------
Core concepts such as Fair Value Gaps, Liquidity Sweeps, PD Arrays, and SMT Divergence are publicly taught within ICT-style market education. This implementation was designed and engineered by TakingProphets as iFVG Ultimate+ | DodgysDD, authored for TradingView publication by TakingProphets.
-----------------------------------------------------------------------------------------------
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is for educational and informational use only. It does not provide financial advice or predictive output. Historical patterns do not guarantee future results. All users remain responsible for their own decisions.Use of this script implies agreement with TradingView’s Vendor Requirements and Terms of Use.
-----------------------------------------------------------------------------------------------
ACCESS INSTRUCTIONS
-----------------------------------------------------------------------------------------------
Access is managed through TradingView’s invite-only framework. Users request access via private message to TakingProphets or access link
🏆 GoldTradePro AutoCycle v5.0To trigger my alerts, this script is brilliant, a sensational indicator. Ask me for more if you're interested.
15 minute breakout strat version Breakout strategy for the 4th 15 minute candle of the US session.
Ideal for ES and GC currently.
2 Lots per trade. Stop is low of candle. Entry is close of 15 minute candle above high of candle.
TP1 is 1.5x entry - stop (1.5:1 RR on first lot). Stop is trailed below lows of subsequent candles for 2nd lot.
WRSignalsTimeframe ADX Smoothing DI Length ADX Threshold
1–5 min 1–2 7–10 20–25
15m–1h 2–3 10–14 25–30
4h–1d 3–5 14–20 20–25
Moving Averages Power
-----------------------------------------------------------------------------
This is a README in Pine Script format for TradingView publication.
It contains usage docs in comments and a no-op plot so it uploads without issue.
For the actual indicator, use: moving_averages_simple.pine
-----------------------------------------------------------------------------
plot(na) no-op to keep the script valid without drawing anything
=============================================================================
Moving Averages (5–4320) — Trend + Normalized Strength
=============================================================================
Lightweight indicator that plots up to 15 SMAs (5 → 4320) and shows a compact
table with each MA’s:
- Slope % (per-bar)
- Trend (Bullish/Bearish/Neutral)
- Normalized “Strength” bars comparable across MA lengths and, optionally,
across timeframes via ATR%
Not financial advice. For research/education only.
----------------------------------------------------------------------------
Scope
----------------------------------------------------------------------------
- Simple Moving Averages (SMA) only
- Periods: 5, 10, 20, 30, 60, 120, 160, 240, 480, 720, 960, 1440, 1750, 2880, 4320
- Overlays lines + end-of-series labels; adds a 4×16 table (bottom-right)
- Strength normalization modes: None, Length, ATR%, Length+ATR%
----------------------------------------------------------------------------
Key Features
----------------------------------------------------------------------------
- 15 SMA lines on one chart
- Line/label/table colors reflect trend:
• Bullish (slope > 0): green
• Bearish (slope < 0): red
• Neutral (otherwise): gray
- Normalized Strength bars comparable across MA lengths and (optionally) across
timeframes via ATR%
- Show/hide any SMA; adjustable font sizes for labels and table
----------------------------------------------------------------------------
Installation (TradingView)
----------------------------------------------------------------------------
1) Open TradingView → any chart → Pine Editor
2) Create a new script and paste the contents of moving_averages_simple.pine
3) Save → Add to chart
4) Open Settings to customize inputs
(This README.pine is just documentation. It does not draw lines or the table.)
----------------------------------------------------------------------------
Usage
----------------------------------------------------------------------------
Table columns:
- MA: the moving average period
- Slope %: per-bar percent change of the MA
slope% = 100 × (MA − MA ) / MA
- Trend: Bullish (green), Bearish (red), Neutral (gray)
- Strength: a bar of ▮ characters, computed from normalized strength and
clamped to a max (default 10 bars)
Strength normalization (S):
- None: S = |slope%|
- Length: S = |slope%| × (length / normRefLen)
- ATR%: S = |slope%| / ATR%, where ATR% = 100 × ATR(atrLen) / close
- Length+ATR%: S = (|slope%| × (length / normRefLen)) / ATR%
Bars: bars = floor(S / strengthStep), clamped to maxStrengthBars
Notes:
- normRefLen (default 240) stabilizes Length scaling across very short/long MAs
- In ATR modes, Strength is blank until ATR is ready (requires atrLen bars)
----------------------------------------------------------------------------
Inputs (Settings)
----------------------------------------------------------------------------
- Display: 15 toggles to show/hide SMA 5 … SMA 4320
- Text Settings: Label font size; Table font size
- Strength Settings:
• Strength normalization: None | Length | ATR% | Length+ATR%
• Strength step (normalized units): sensitivity of bar count
• Max bars: clamp for bar count (default 10)
• Normalization reference length: baseline for Length scaling (default 240)
• ATR Length (for ATR% normalization): ATR lookback for ATR%
----------------------------------------------------------------------------
Recommended presets
----------------------------------------------------------------------------
Intraday (e.g., BTCUSD, 1h):
- Normalization: Length+ATR%
- normRefLen: 240
- Strength step: 0.02–0.05
- Max bars: 10
- ATR Length: 14
Daily (e.g., AAPL, 1D):
- Normalization: Length
- normRefLen: 240–480
- Strength step: 0.01–0.03
- Max bars: 10
----------------------------------------------------------------------------
Calibration tips
----------------------------------------------------------------------------
Bars often maxed (pegged)?
- Increase Strength step (e.g., 0.01 → 0.03 → 0.05)
- Or increase normRefLen (e.g., 240 → 480 → 720)
Bars too few?
- Decrease Strength step (e.g., 0.02 → 0.01 → 0.005)
- Or decrease normRefLen (e.g., 240 → 120)
Cross-timeframe comparability:
- Prefer Length+ATR%; start with Strength step ≈ 0.02–0.05 and tune
----------------------------------------------------------------------------
Limitations
----------------------------------------------------------------------------
- SMA only (no EMA/WMA/etc.)
- Per-bar slope is timeframe-sensitive; use ATR% or Length+ATR% for better
cross-timeframe comparisons
- ATR modes require atrLen bars; Strength shows blank until ready
- Longest SMA (4320) needs sufficient chart history
----------------------------------------------------------------------------
Troubleshooting
----------------------------------------------------------------------------
- Strength always maxed:
• Using Length mode with too-small step → increase step and/or use Length+ATR%
• Review normRefLen (higher ref length dampens long MAs)
- Strength blank cells:
• In ATR modes, wait for atrLen bars or use Length mode
- Table bounds:
• If you customize periods or table size in the main script, keep header at
row 0 and at most 15 data rows (4×16 table)
----------------------------------------------------------------------------
Compatibility
----------------------------------------------------------------------------
- Pine Script v6
- Works on most symbols/timeframes with adequate history
----------------------------------------------------------------------------
Credits & Feedback
----------------------------------------------------------------------------
If you find this useful, consider sharing your preferred defaults (symbol/
timeframe) so better presets can be added. PRs/issues welcome in the repo.
Moving Averages PowerMoving Averages Power — Trend + Normalized Strength
Lightweight indicator that plots up to 15 SMAs (5 → 4320) and shows a compact table with each MA’s:
Slope % (per-bar)
Trend (Bullish/Bearish/Neutral)
Normalized “Strength” bars comparable across MA lengths and, optionally, across timeframes via ATR%
Not financial advice. For research/education only.
What it does
Plots 15 SMA lines on the price chart
Colors match trend: Bullish (green), Bearish (red), Neutral (gray)
Bottom-right table: MA, Slope %, Trend, Strength bars
Strength normalization modes:
None: raw |slope%|
Length: scales by length relative to a reference length
ATR%: scales by volatility (ATR as % of price)
Length+ATR%: combines both for better cross-timeframe comparability
How it works (concepts)
Slope % per bar: 100 × (MA − MA ) / MA
Normalization:
None: S = |slope%|
Length: S = |slope%| × (length / normRefLen)
ATR%: S = |slope%| / ATR%, where ATR% = 100 × ATR(atrLen) / close
Length+ATR%: S = (|slope%| × (length / normRefLen)) / ATR%
Bars: floor(S / strengthStep), clamped to Max bars (default 10)
Notes:
normRefLen (default 240) keeps Length scaling stable across very short and very long MAs
In ATR modes, Strength shows blank until there’s enough history for ATR
How to use
Add the indicator to your chart (Indicators → search this title → Add).
Open Settings:
Show/hide any of the 15 SMAs
Choose Strength normalization mode
Tune Strength step, Max bars, Reference length, and ATR Length
Read the table:
MA: period
Slope %: per-bar percent change of the MA
Trend: green (bullish), red (bearish), gray (neutral)
Strength: more bars = stronger trend under the chosen normalization
Inputs (quick reference)
Display:
15 toggles: Show SMA 5 … Show SMA 4320
Strength Settings:
Strength normalization: None | Length | ATR% | Length+ATR%
Strength step (normalized units): sensitivity of bar count
Max bars: clamp for the bar count (default 10)
Normalization reference length: baseline for Length scaling (default 240)
ATR Length (for ATR%): ATR lookback used for ATR%
Text:
Label font size, Table font size
Line + label colors
Bullish (slope > 0): green
Bearish (slope < 0): red
Neutral (otherwise): gray
The MA lines, end-of-series labels, and table trend cell use the same colors
Recommended presets (examples)
Intraday (e.g., BTCUSD, 1h):
Strength normalization: Length+ATR%
normRefLen: 240
Strength step: 0.02–0.05
Max bars: 10
ATR Length: 14
Daily (e.g., AAPL, 1D):
Strength normalization: Length
normRefLen: 240–480
Strength step: 0.01–0.03
Max bars: 10
Calibration tips
Bars often at max (pegged)?
Increase Strength step (e.g., 0.01 → 0.03 → 0.05)
Or increase normRefLen (e.g., 240 → 480 → 720)
Bars too few?
Decrease Strength step (e.g., 0.02 → 0.01 → 0.005)
Or decrease normRefLen (e.g., 240 → 120)
Cross-timeframe comparability:
Prefer Length+ATR%; start with Strength step ≈ 0.02–0.05 and tune
Limitations
SMA only (no EMA/WMA/etc.)
Per-bar slope is inherently timeframe-sensitive; use ATR% or Length+ATR% for better cross-timeframe comparisons
ATR modes require atrLen bars; Strength shows blank until ready
The longest SMA (4320) needs sufficient chart history
Troubleshooting
Strength always looks maxed:
You might be on Length mode with a very small step; increase Strength step and/or use Length+ATR%; review normRefLen
Strength blank cells:
In ATR modes, wait for enough history (atrLen) or switch to Length mode
Table bounds:
The script manages rows internally; if you customize periods, ensure the total rows fit the 4×16 table
Compatibility
Pine Script v6
Works on most symbols/timeframes with adequate history
If you find this useful, consider leaving feedback with your preferred defaults (symbol/timeframe) so I can provide better presets.
Custom Stock Indicator with Bollinger Bands9, 20, 50, 200 sma, Bollinger bands, MACD bullish crossover signal (blue dot) and candle counting
This TradingView indicator overlays on the price chart to provide trend analysis, volatility bands, momentum signals, and a consecutive candle counter for bullish sequences above the 9-period SMA. Key features include:
Moving Averages:
9-period SMA (green line).
50-period SMA (orange line).
200-period SMA (red line).
20-period SMA (yellow line, used as Bollinger Bands basis).
Bollinger Bands:
Standard 20-period SMA basis with 2 standard deviations.
Gray upper and lower bands with a semi-transparent gray fill (90% transparency) for volatility visualization.
MACD Bullish Crossover Signal:
Uses default MACD (12, 26, 9).
Tiny electric blue circles plotted below the bar (shifted down by 2 bars) when the MACD line crosses above the signal line, indicating potential bullish momentum.
Candle Counter for Bullish Sequence:
Activates only when SMA9 > SMA200 (alignment condition).
Starts/Increments: When the entire candle (including wicks: low > SMA9) fully closes above the SMA9.
Stops/Resets: When the entire candle (high < SMA9) fully closes below SMA9.
Straddling Candles (overlapping SMA9): Continues incrementing the count if the sequence has already started; otherwise, stays at 0.
Displays small white number labels (e.g., "1", "2") above the high of the current bar if count > 0, ensuring immediate visual feedback on historical and real-time bars.
The script is lightweight, focuses on bullish confirmation (e.g., for stocks like AMD), and avoids clutter by using tiny shapes and transparent fills. It evaluates conditions on the current bar for accurate historical counting without delays. No RSI signals are included, as per the latest updates. To use, paste into TradingView's Pine Editor and apply to a chart.
Candlestick Body Ratio with MAHow It Works (Brief Overview):
It computes the ratio of the candle’s body size to its total range (high–low).
• A ratio close to 1 means a strong, decisive candle.
• A ratio near 0 means a weak or indecisive candle (like a doji).
• Visual Output:
• Plots the body ratio as an orange line. (Black Histogram)
• Optionally marks strong-bodied candles with a green triangle above the bar. (Orange Diamond)
Why It’s Useful:
Helps identify momentum candles with conviction. Filters out weak signals in breakout or reversal strategies. Can be combined with divergence or volume tools for confluence.
Think Like A Market Maker: ThePipAssassin
Order Imbalance Radar
🧭 Overview
Order Imbalance Radar is a sophisticated volume–flow and imbalance detection system designed to visualize real-time shifts in buyer–seller dominance, absorption events, and market equilibrium. It combines delta-volume analysis, volatility filtering, and orderflow-style signals to help identify high-probability zones of reversal, continuation, or liquidity imbalance.
The indicator includes a top-right analytical dashboard, visual imbalance bubbles, and multiple overlays (absorption, overbought/oversold hotspots, equilibrium ribbon, liquidity sweeps, and session delta tracking).
⚙️ Core Logic & Signal Framework
1. Delta Volume Z-Score Model
Calculates delta (buy vs. sell volume) per bar based on directional close changes.
Uses a z-score normalization of delta over a user-defined lookback (zLookback) to detect statistically significant imbalances.
Highlights two tiers of imbalance:
Normal Imbalance (|z| ≥ zThresh1)
Big Imbalance (|z| ≥ zThresh2)
Filters results by requiring volume ≥ moving average × minVolMul.
Optionally limits signals to volatility squeeze conditions (via Bollinger Band width).
Visual Output:
✅ Green/red bar tints show intensity of buyer/seller imbalance.
🟢/🔴 Circle bubbles with Δ and Z-score values mark detected imbalances.
2. Absorption Detection
Detects bars where price rejects continuation despite high delta extremes, suggesting absorption of aggressive orders by passive liquidity.
Conditions:
|zΔ| exceeds absorbZ threshold
Candle body ≤ % of total range
Opposite wick ≥ % of range
Markers:
🟢 “ABSORB↑” below bars = buyer absorption (sellers absorbed)
🔴 “ABSORB↓” above bars = seller absorption (buyers absorbed)
3. OB/OS Hotspots
Integrates RSI and Bollinger Band positioning to identify volume-confirmed overbought/oversold zones.
Overbought → RSI ≥ rsiOB and price above upper band or high volume.
Oversold → RSI ≤ rsiOS and price below lower band or high volume.
Markers:
🔶 “OB” for overbought zones
🟩 “OS” for oversold zones
These can indicate short-term exhaustion points, particularly when confluenced with imbalance or absorption.
4. Liquidity Sweeps
Identifies stop-hunts / failed breakouts within recent swing lookback:
Sweep Up: Price makes a higher high but closes below previous swing → likely liquidity grab above highs.
Sweep Down: Price makes a lower low but closes above previous swing → liquidity grab below lows.
Markers:
“SW↑” (yellow) = bullish sweep
“SW↓” (yellow) = bearish sweep
5. Equilibrium Map & Ribbon
Analyzes rolling imbalance ratio (Δ / total volume) over a sliding window to gauge market equilibrium vs. imbalance bias.
Plots a dynamic ribbon above price scaled by ATR.
Ribbon color:
🟢 = buyer-dominant imbalance
🔴 = seller-dominant imbalance
Gray band marks the equilibrium zone (|imbalance| ≤ eqBand).
Fuchsia “FLIP” marker signals a change in imbalance polarity.
This provides a macro order-flow bias visualization.
6. Session Dashboard (Top-Right)
Compact dashboard showing real-time flow metrics within a defined trading session (e.g., 09:30–16:00):
Metric Description
Session Δ Total cumulative delta since session start
Bar Δ Current bar delta (buy vs. sell flow)
Bar Vol Bar volume relative to average
Absorb “BUY” / “SELL” / “—”
Hotspot “OB” / “OS” / “—”
Sweep “UP” / “DN” / “—”
Imb % / Eq Imbalance ratio & equilibrium state
Colors dynamically adapt to flow direction (green/red/fuchsia/gray).
7. CumDelta Line
Optional cumulative delta plot for continuous volume-flow tracking.
Helps confirm bias shifts and divergence vs. price.
🧩 Alerts
Pre-built alert conditions for all key events:
Buyer/Seller Imbalances
BIG Buyer/Seller Imbalances
Absorption (Buy/Sell)
Hotspot Overbought/Oversold
Liquidity Sweeps (Up/Down)
Equilibrium Flips
These allow automated alerts for advanced orderflow setups or backtesting triggers.
For More Premium Indicators please visit whop.com
NSR FVG High Time FramesIndicator Name : NSR FVG High Time Frames
Short Title : NSR FVGHTF
Description :The NSR FVG High Time Frames indicator identifies and visualizes Fair Value Gaps (FVGs) on higher timeframes (4-hour, Daily, and Weekly) directly on your chart. FVGs are price gaps formed between the high and low of non-consecutive candles, often indicating areas of market inefficiency that price may revisit. This indicator is designed for traders who incorporate multi-timeframe analysis into their strategies, providing a clear visual representation of bullish and bearish FVGs with customizable settings.
Unique Feature :Unlike traditional FVG indicators that mark a gap as closed when the current candle’s close crosses the gap’s boundaries, NSR FVG High Time Frames employs a distinctive closure logic. It allows an additional candle to determine whether the price re-enters the gap or continues beyond it. This approach provides a more nuanced assessment of gap closure, potentially reducing false signals by giving the market an extra candle to confirm its direction. This feature makes the indicator particularly suitable for traders seeking to validate FVG interactions with greater precision.
Key Features :
Multi-Timeframe Support : Detects FVGs on 4-hour, Daily, and Weekly timeframes, with options to enable or disable each timeframe.
Customizable Appearance : Users can adjust the visual style (Line, Dotted, Dashed) and colors for bullish and bearish FVGs, as well as enable/disable extension of FVG boxes to the right.
Flexible Lookback : Configurable lookback periods for entry (up to 10,000 candles) and FVG detection (up to 70 FVGs), allowing users to tailor the indicator to their trading style.
Minimum FVG Size : Set a minimum gap size (in ticks) to filter out insignificant FVGs, ensuring only meaningful gaps are displayed.
Closed FVG Removal : Option to automatically remove closed FVGs from the chart for a cleaner view.
Alert Integration : Generates alerts for new FVGs and changes in their status (e.g., verified, partial, closed), enabling traders to set up custom notifications.
How to Use :
Add to Chart : Apply the indicator to any chart. It works best on lower timeframes (e.g., 1H, 4H) to visualize higher-timeframe FVGs.
Configure Settings : Adjust the inputs in the settings panel:
Enable/disable 4-hour, Daily, or Weekly FVGs based on your analysis needs.
Set the lookback periods and minimum FVG size to match your trading strategy.
Customize colors and line styles for better chart readability.
Interpret FVGs :
Bullish FVGs (green boxes): Represent gaps where price may act as support, potentially attracting price back to the gap.
Bearish FVGs (red boxes): Represent gaps where price may act as resistance.
Boxes are drawn between the relevant high and low of the candles forming the FVG, with text labels indicating the timeframe (e.g., "4H", "D", "Weekly").
Monitor Closure : Watch for price interaction with FVGs. The indicator considers an FVG closed only after an additional candle confirms the price has moved beyond the gap or failed to re-enter it, unlike standard FVG indicators.
Set Alerts : Use the alert feature to receive notifications when new FVGs form or their status changes (e.g., "partial" or "closed").
Settings :
Entry Lookback (candles) : Number of candles to look back for FVG detection (default: 10,000).
Number of FVG to Lookback : Maximum number of FVGs to display (default: 70).
Minimum FVG Size : Minimum gap size in ticks (default: 5).
Remove Closed : Toggle to remove closed FVGs from the chart (default: true).
Show/Extend 4Hour/Daily/Weekly : Enable/disable FVGs for each timeframe and choose whether to extend boxes to the right.
Color and Style Options : Customize fill and border colors, and select line styles (Line, Dotted, Dashed) for each timeframe.
Use Cases :
Swing Trading : Identify potential support/resistance zones on higher timeframes for entry or exit points.
Price Action Analysis : Use FVGs to confirm market inefficiencies or reversal zones.
Multi-Timeframe Strategies : Combine with lower-timeframe indicators to align entries with higher-timeframe FVGs.
Notes :
The indicator is optimized for lower timeframes to display higher-timeframe FVGs. Avoid using it on Weekly or Monthly charts for Daily/Weekly FVGs to prevent overlap issues.
The unique closure logic may delay FVG closure signals compared to other indicators, which can help filter out premature closures but requires patience for confirmation.
Performance may vary on very low timeframes with large lookback periods due to the number of FVGs processed.
Disclaimer :This indicator is for informational purposes only and does not constitute financial advice. Always conduct your own analysis and test the indicator thoroughly before using it in live trading.
Arcane Market Structure + Key LevelsThe Arcane Market Structure + Key Levels script is built to help traders decode real-time structure shifts, key support/resistance levels, and market intent. This tool draws from the Arcane Model’s proprietary trading framework—refined over 7+ years of backtesting and live execution.
It detects:
• Highs/lows that define expansion, manipulation, and distribution cycles
• Dynamic support/resistance zones based on 15m fair value gaps
• Session-based levels and structure breaks for intraday context
Whether you’re trading Prop Firm or Live accounts, this script helps simplify decision-making by visualizing the cleanest levels and directional flows on your chart.
Use it to:
✅ Confirm entries near liquidity levels
✅ Spot structural breaks aligned with volume and price action
✅ Build confluence with ICT, FVG, or manipulation-based setups
For traders mastering the Arcane Model or building systematic edge, this is a must-have chart companion.
NFTs vs SOL - Momentum Divergence RadarSee when NFT activity (proxy volumes) leads or lags SOL momentum
About:
A TradingView indicator that normalizes SOL momentum and a composite NFT proxy volume into comparable z-scores, then plots their difference (divergence). You get zero-line cross signals (“lead/lag”) and a rolling correlation table to judge regime quality.
What it does (concept):
SOL side: Rate of Change of SOL (ROC(len_mom)) → standardized over len_z → smoothed (smooth) → sol_z.
NFT side: Weighted sum of proxy volumes (BLUR, LOOKS, TNSR, MAGIC, APE, optional ME & PENGU) → log() to tame skew → standardized over len_z → smoothed → v_z.
Divergence: div = v_z - sol_z.
div > 0 → NFT activity is stronger than SOL momentum (possible lead).
div < 0 → NFT activity weaker than SOL momentum (possible lag).
On-chart elements
Orange histogram: div (NFT volume Z − SOL momentum Z).
Purple line: v_z (NFT composite activity).
Blue line: sol_z (SOL momentum).
Green/Red triangles: Zero-line crosses of div → lead (up) / lag (down).
Top-right table: Rolling Pearson correlation (len_z) + list of active proxies (non-blank & weight ≠ 0).
How to use (quick start):
Add to chart on your timeframe (30m–1D are common).
Fill proxy symbols with exchange prefixes (e.g., KUCOIN:BLURUSDT, GATEIO:LOOKS_USDT, MEXC:TNSR_USDT, OKX:MAGIC-USDT). Leave ME/PENGU blank until you have the exact tickers.
Set weights to reflect relevance/liquidity (start at 1; set 0 to exclude).
Trade the crosses with context:
Lead (↑0): NFTs heating up vs SOL → look for long setups if price structure agrees.
Lag (↓0): NFTs cooling vs SOL → reduce risk/hedge or look for shorts in downtrends.
Consult correlation:
High (+0.5~1): Both move together; rely more on cross timing than magnitude.
Low/negative: Decoupling regime; divergence magnitude gains importance.
Settings (what they mean):
SOL Symbol (sol_tkr) – Default BINANCE:SOLUSDT.
Proxy symbols (*_sym) – Enter exchange:pair strings; blank = ignored.
Weights (w_*) – Linear weights before log; emphasize reliable/liquid proxies.
Momentum Length (len_mom, 14) – ROC lookback for SOL. Bigger = smoother/slower.
Z-Score Length (len_z, 50) – Window for mean/stdev and correlation. Bigger = more stable normalization.
Smoothing (smooth, 5) – SMA applied to both z-scores to cut noise.
Preset ideas:
Swing (1D/4H): len_mom=14, len_z=100, smooth=7; BLUR=1, LOOKS=1, TNSR=1, MAGIC=0.5, APE=0.5.
Active (2H/1H): len_mom=10, len_z=50, smooth=5; same weights; alert on lead.
Reading the signals (playbook)
Fresh Lead (div crosses ↑0): Accumulation/participation rising; enter on pullbacks or structure breaks; confirm with volume/HTF trend.
Persistent Positive div: Momentum follow-through likely; trail stops below swing structure.
Fresh Lag (div crosses ↓0): Early cooling; take profits, tighten stops, or rotate.
Extreme bars (|div| > ~2): Outlier conditions; expect mean-reversion or breakout continuation—use price action to decide.
Re-cross whipsaws: Filter with higher smooth or require bar close confirmation.
Practical notes & tips:
Symbol validity: Always use exchange prefixes. If a token is unavailable on your TV plan/exchange, leave it blank (script treats it as zero volume).
Liquidity bias: Thin alts can distort the composite; set their weights low or 0.
Timeframe consistency: All request.security() calls run at the chart TF—no lower-TF aggregation.
Risk management: Treat crosses as context, not standalone buy/sell. Combine with S/R, trend filters, ATR stops, and volume profile.
Alerts (recommended):
Lead Cross Up: div crosses above 0.
Lag Cross Down: div crosses below 0.
Extreme Divergence: div > +2 or div < −2 (user threshold).
(Add alertcondition() lines if you want hard alerts.)
Troubleshooting
“Invalid symbol” popup: The input contains an unsupported/typo ticker. Use exact EXCHANGE:SYMBOL (e.g., OKX:MAGIC-USDT, not MAGICUSDT). Leave fields blank if unsure.
Flat/NaN early bars: Not enough history for len_z—normal; resolves as data accumulates.
No proxies listed in table: Ensure at least one proxy is non-blank and weight ≠ 0.
Limitations:
Proxy selection matters; if the set doesn’t reflect current NFT flow, signals degrade.
Z-scoring assumes local stationarity; regime shifts compress/expand readings.
Exchange symbol formats vary (- vs _); match TradingView exactly.
Changelog:
v1.2 (2025-10-14): Stability pass, proxy inputs default to blank to avoid symbol errors; refined table; kept v5 compatibility logic.
Solana 4H RSI->MACD — Counter-Trend By TetradTetrad RSI→RSI Cross→MACD (Sequenced) — Counter-Trend (SL-Only)
Category: Market-neutral, counter-trend, sequenced entries
Timeframe default: Works on any TF; designed around 4H On Solana
Markets: Any (spot, perp, futures); parameterize to your asset
What it does
This strategy hunts reversals using a 3-step sequence on RSI and MACD, then optionally restricts entries by market regime and a price gate. It shows stop-loss lines only when hit (clean chart), and paints a Donchian glow for quick read of backdrop conditions.
Entry logic (sequenced)
1. RSI Extreme:
Long path activates when RSI < Oversold (default 27.5).
Short path activates when RSI > Overbought (default 74).
2. RSI Cross confirmation:
Long path: RSI crosses up back above the oversold level.
Short path: RSI crosses down back below the overbought level.
Each step has a max bar lookback so stale signals time out.
3. MACD Cross trigger:
Long: MACD line crosses above Signal.
Short: MACD line crosses below Signal.
→ When step 3 fires and gates are satisfied, a trade is entered.
Optional gates & filters
Regime Filter (Counter-Trend):
Longs allowed in **Range / Short Trend / Short Parabolic** regimes.
Shorts allowed in **Range / Long Trend / Long Parabolic** regimes.
Based on ADX/DI and ATR% intensity.
* Price Gate (Long Ceiling):
Toggle to **disable new longs above a chosen price (default 209.0 For SOL).
Useful for assets like SOL where you want longs only below a cap.
Exits / Risk
* Stop-Loss (% of entry):** default **14%**, toggleable.
* SL visualization:** plots a **thin dashed red line only on the bar it’s hit**.
* (No take-profit or time-based exit in this version—keep it pure to the sequence and regime. Add TP/time exits if desired.)
Visuals
* Donchian Glow (50): background band only (upper/lower lines hidden).
* Regime HUD: compact table (top-right) highlighting the active regime.
* Minimal marks: no entry/exit “arms” clutter; only SL-hit lines render.
Inputs (key)
* Core: RSI Length, Oversold/Overbought, MACD Fast/Slow/Signal.
* Sequence: Max bars from Extreme→RSI Cross and RSI Cross→MACD Cross.
* Regime: ADX Length, Trend/Parabolic thresholds, ATR length & floor.
* Stops: Enable/disable; SL %.
* Price Gate: Enable; Long ceiling price.
Alerts
Sequenced Long (CT): RSIhigh → RSI cross down → MACD bear cross.
## Notes & Tips
Designed for counter-trend fades that become trend rides. The regime filter helps avoid fading true parabolics and aligns entries with safer contexts.
The sequence is stateful (steps must occur in order). If a step times out, the path resets.
Works on lower TFs, but the 4H baseline reduces noise and over-trading.
Consider pairing with volume or structure filters if you want fewer but higher-conviction entries.
Past performance ≠ future results. **Educational use only. Not financial advice.
ILM Checklist [Nix]ILM Checklist and Ratings Indicator!
This is a checklist type guide for those that trade the ILM model and are having trouble rating setups on their own.
You can double click on the checklist to open its settings where you can select all the confluences you see on the chart while a setup is forming.
Then the checklist will give you a mechanical estimate of what rating would Nix give it.
Obviously discretion is important as an A+ mechanical setup if still an F setup if you are executing it during a news event.
I have also added a dark / light mode theme toggle to suit your chart.
Лунный Индикатор с RSI и Импульсными АлертамиЭтот индикатор для TradingView сочетает астрономические данные о фазах Луны с техническим анализом (RSI) для выявления потенциальных импульсных движений на рынках, таких как S&P 500 (SPY) и Bitcoin (BTCUSD). Он основан на исторических корреляциях: повышенная доходность и импульсы вверх вокруг новой Луны, а также рост волатильности и риски падений около полнолуния. Индикатор помогает трейдерам получать алерты о возможных торговых возможностях, фильтруя сигналы через RSI для большей точности.
Ключевые функции:
Расчёт фазы Луны: Использует формулу Julian Day для определения текущей фазы (0% — новая Луна, 50% — полнолуние, 100% — следующая новая). Референс: новая Луна 6 января 2000 г. (JD ≈ 2451550.2597). Длина цикла — 29.530588 дней.
Визуализация:
Линия "Фаза Луны (%)" (синяя) отображает фазу в процентах.
Метки на графике: 🌑 Новая (0-3.3% или >96.7%), 🌓 1-я четверть (21.7-28.3%), 🌕 Полная (46.7-53.3%), 🌗 Последняя четверть (71.7-78.3%).
Линия RSI (оранжевая) для мониторинга перекупленности/перепроданности (период настраивается, по умолчанию 14).
Сигналы и алерты (на основе исторических паттернов):
Новая Луна: Алерты о потенциале импульса вверх, если RSI < 50 (не перекуплено). Исторически: выше доходность для S&P 500 и BTC (bullish реверсы). Фон — зелёный.
Полнолуние: Алерты о рисках волатильности/падения, если RSI > 50 (перекуплено). Исторически: sharp moves для BTC, ниже доходность для S&P. Фон — красный.
Алерты срабатывают на переходах фаз (с помощью ta.change), чтобы избежать повторений.
Настройки:
Период RSI: Изменяйте в input для адаптации под таймфрейм (рекомендуется D1 или H4 для лунных циклов).
Как использовать:
Добавьте индикатор на график SPY или BTCUSD.
Настройте алерты в TradingView для уведомлений.
Тестируйте на исторических данных: проверьте корреляции с реальными движениями цен.
Важно: Это не финансовая рекомендация. Рынки непредсказуемы; комбинируйте с другими инструментами. Точность фазы ±1 день; для идеальной — обновите ref_jd по актуальным данным.
Источник данных: Основан на астрономических формулах и исследованиях корреляций Луны с рынками (например, из JSTOR, SSRN). Разработано для образовательных целей.
Description of the Indicator: Lunar Indicator with RSI and Impulse Alerts
Overview:
This TradingView indicator combines astronomical data on lunar phases with technical analysis (RSI) to identify potential impulse movements in markets like S&P 500 (SPY) and Bitcoin (BTCUSD). It is based on historical correlations: higher returns and upward impulses around the new moon, as well as increased volatility and downside risks near the full moon. The indicator helps traders receive alerts about possible trading opportunities, filtering signals through RSI for greater accuracy.
Key Features:
Lunar Phase Calculation: Uses the Julian Day formula to determine the current phase (0% — new moon, 50% — full moon, 100% — next new moon). Reference: new moon on January 6, 2000 (JD ≈ 2451550.2597). Cycle length — 29.530588 days.
Visualization:
"Moon Phase (%)" line (blue) displays the phase in percentages.
Chart labels: 🌑 New (0-3.3% or >96.7%), 🌓 First Quarter (21.7-28.3%), 🌕 Full (46.7-53.3%), 🌗 Last Quarter (71.7-78.3%).
RSI line (orange) for monitoring overbought/oversold conditions (period adjustable, default 14).
Signals and Alerts (Based on Historical Patterns):
New Moon: Alerts for potential upward impulse if RSI < 50 (not overbought). Historically: higher returns for S&P 500 and BTC (bullish reversals). Background — green.
Full Moon: Alerts for volatility/downside risks if RSI > 50 (overbought). Historically: sharp moves for BTC, lower returns for S&P. Background — red.
Alerts trigger on phase transitions (using ta.change) to avoid repetitions.
Settings:
RSI Period: Adjust in input to adapt to timeframe (recommended D1 or H4 for lunar cycles).
How to Use:
Add the indicator to a SPY or BTCUSD chart.
Set up alerts in TradingView for notifications.
Test on historical data: check correlations with real price movements.
Important: This is not financial advice. Markets are unpredictable; combine with other tools. Phase accuracy ±1 day; for perfection — update ref_jd based on current data.
Data Source: Based on astronomical formulas and studies on lunar correlations with markets (e.g., from JSTOR, SSRN). Developed for educational purposes.
LEGEND IsoPulse Fusion • Universal Volume Trend Buy Sell RadarLEGEND IsoPulse Fusion • Universal Volume Trend Buy Sell Radar
One line summary
LEGEND IsoPulse Fusion reads intent from price and volume together, learns which features matter most on your symbol, blends them into a single signed Fusion line in a stable unit range, and emits clear Buy Sell Close events with a structure gate and a liquidity safety gate so you act only when the tape is favorable.
What this script is and why it exists
Many traders keep separate windows for trend, volume, volatility, and regime filters. The result can feel fragmented. This script merges two complementary engines into one consistent view that is easy to read and simple to act on.
LEGEND Tensor estimates directional quality from five causally computed features that are normalized for stationarity. The features are Flow, Tail Pressure with Volume Mix, Path Curvature, Streak Persistence, and Entropy Order.
IsoPulse transforms raw volume into two decaying reservoirs for buy effort and sell effort using body location and wick geometry, then measures price travel per unit volume for efficiency, and detects volume bursts with a recency memory.
Both engines are mapped into the same unit range and fused by a regime aware mixer. When the tape is orderly the mixer leans toward trend features. When the tape is messy but a true push appears in volume efficiency with bursts the mixer allows IsoPulse to speak louder. The outcome is a single Fusion line that lives in a familiar range with calm behavior in quiet periods and expressive pushes when energy concentrates.
What makes it original and useful
Two reservoir volume split . The script assigns a portion of the bar volume to up effort and down effort using body location and wick geometry together. Effort decays through time using a forgetting factor so memory is present without becoming sticky.
Efficiency of move . Price travel per unit volume is often more informative than raw volume or raw range. The script normalizes both sides and centers the efficiency so it becomes signed fuel when multiplied by flow skew.
Burst detection with recency memory . Percent rank of volume highlights bursts. An exponential memory of how recently bursts clustered converts isolated blips into useful context.
Causal adaptive weighting . The LEGEND features do not receive static weights. The script learns, causally, which features have correlated with future returns on your symbol over a rolling window. Only positive contributions are allowed and weights are normalized for interpretability.
Regime aware fusion . Entropy based order and persistence create a mixer that blends IsoPulse with LEGEND. You see a single line rather than two competing panels, which reduces decision conflict.
How to read the screen in seconds
Fusion area . The pane fills above and below zero with a soft gradient. Deeper fill means stronger conviction. The white Fusion line sits on top for precise crossings.
Entry guides and exit guides . Two entry guides draw symmetrically at the active fused entry level. Two exit guides sit inside at a fraction of the entry. Think of them as an adaptive envelope.
Letters . B prints once when the script flips from flat to long. S prints once when the script flips from flat to short. C prints when a held position ends on the appropriate side. T prints when the structure gate first opens. A prints when the liquidity safety flag first appears.
Price bar paint . Bars tint green while long and red while short on the chart to mirror your virtual position.
HUD . A compact dashboard in the corner shows Fusion, IsoPulse, LEGEND, active entry and exit levels, regime status, current virtual position, and the vacuum z value with its avoid threshold.
What signals actually mean
Buy . A Buy prints when the Fusion line crosses above the active entry level while gates are open and the previous state was flat.
Sell . A Sell prints when the Fusion line crosses below the negative entry level while gates are open and the previous state was flat.
Close . A Close prints when Fusion cools back inside the exit envelope or when an opposite cross would occur or when a gate forces a stop, and the previous state was a hold.
Gates . The Trend gate requires sufficient entropy order or significant persistence. The Avoid gate uses a liquidity vacuum z score. Gates exist to protect you from weak tape and poor liquidity.
Inputs and practical tuning
Every input has a tooltip in the script. This section provides a concise reference that you can keep in mind while you work.
Setup
Core window . Controls statistics across features. Scalping often prefers the thirties or low fifties. Intraday often prefers the fifties to eighties. Swing often prefers the eighties to low hundreds. Smaller responds faster with more noise. Larger is calmer.
Smoothing . Short EMA on noisy features. A small value catches micro shifts. A larger value reduces whipsaw.
Fusion and thresholds
Weight lookback . Sample size for weight learning. Use at least five times the horizon. Larger is slower and more confident. Smaller is nimble and more reactive.
Weight horizon . How far ahead return is measured to assess feature value. Smaller favors quick reversion impulses. Larger favors continuation.
Adaptive thresholds . Entry and exit levels from rolling percentiles of the absolute LEGEND score. This self scales across assets and timeframes.
Entry percentile . Eighty selects the top quintile of pushes. Lower to seventy five for more signals. Raise for cleanliness.
Exit percentile . Mid fifties keeps trades honest without overstaying. Sixty holds longer with wider give back.
Order threshold . Minimum structure to trade. Zero point fifteen is a reasonable start. Lower to trade more. Raise to filter chop.
Avoid if Vac z . Liquidity safety level. One point two five is a good default on liquid markets. Thin markets may prefer a slightly higher setting to avoid permanent avoid mode.
IsoPulse
Iso forgetting per bar . Memory for the two reservoirs. Values near zero point nine eight to zero point nine nine five work across many symbols.
Wick weight in effort split . Balance between body location and wick geometry. Values near zero point three to zero point six capture useful behavior.
Efficiency window . Travel per volume window. Lower for snappy symbols. Higher for stability.
Burst percent rank window . Window for percent rank of volume. Around one hundred to three hundred covers most use cases.
Burst recency half life . How long burst clusters matter. Lower for quick fades. Higher for cluster memory.
IsoPulse gain . Pre compression gain before the atan mapping. Tune until the Fusion line lives inside a calm band most of the time with expressive spikes on true pushes.
Continuation and Reversal guides . Visual rails for IsoPulse that help you sense continuation or exhaustion zones. They do not force events.
Entry sensitivity and exit fraction
Entry sensitivity . Loose multiplies the fused entry level by a smaller factor which prints more trades. Strict multiplies by a larger factor which selects fewer and cleaner trades. Balanced is neutral.
Exit fraction . Exit level relative to the entry level in fused unit space. Values around one half to two thirds fit most symbols.
Visuals and UX
Columns and line . Use both to see context and precise crossings. If you present a very clean chart you can turn columns off and keep the line.
HUD . Keep it on while you learn the script. It teaches you how the gates and thresholds respond to your market.
Letters . B S C T A are informative and compact. For screenshots you can toggle them off.
Debug triggers . Show raw crosses even when gates block entries. This is useful when you tune the gates. Turn them off for normal use.
Quick start recipes
Scalping one to five minutes
Core window in the thirties to low fifties.
Horizon around five to eight.
Entry percentile around seventy five.
Exit fraction around zero point five five.
Order threshold around zero point one zero.
Avoid level around one point three zero.
Tune IsoPulse gain until normal Fusion sits inside a calm band and true squeezes push outside.
Intraday five to thirty minutes
Core window around fifty to eighty.
Horizon around ten to twelve.
Entry percentile around eighty.
Exit fraction around zero point five five to zero point six zero.
Order threshold around zero point one five.
Avoid level around one point two five.
Swing one hour to daily
Core window around eighty to one hundred twenty.
Horizon around twelve to twenty.
Entry percentile around eighty to eighty five.
Exit fraction around zero point six zero to zero point seven zero.
Order threshold around zero point two zero.
Avoid level around one point two zero.
How to connect signals to your risk plan
This is an indicator. You remain in control of orders and risk.
Stops . A simple choice is an ATR multiple measured on your chart timeframe. Intraday often prefers one point two five to one point five ATR. Swing often prefers one point five to two ATR. Adjust to symbol behavior and personal risk tolerance.
Exits . The script already prints a Close when Fusion cools inside the exit envelope. If you prefer targets you can mirror the entry envelope distance and convert that to points or percent in your own plan.
Position size . Fixed fractional or fixed risk per trade remains a sound baseline. One percent or less per trade is a common starting point for testing.
Sessions and news . Even with self scaling, some traders prefer to skip the first minutes after an open or scheduled news. Gate with your own session logic if needed.
Limitations and honest notes
No look ahead . The script is causal. The adaptive learner uses a shifted correlation, crosses are evaluated without peeking into the future, and no lookahead security calls are used. If you enable intrabar calculations a letter may appear then disappear before the close if the condition fails. This is normal for any cross based logic in real time.
No performance promises . Markets change. This is a decision aid, not a prediction machine. It will not win every sequence and it cannot guarantee statistical outcomes.
No dependence on other indicators . The chart should remain clean. You can add personal tools in private use but publications should keep the example chart readable.
Standard candles only for public signals . Non standard chart types can change event timing and produce unrealistic sequences. Use regular candles for demonstrations and publications.
Internal logic walkthrough
LEGEND feature block
Flow . Current return normalized by ATR then smoothed by a short EMA. This gives directional intent scaled to recent volatility.
Tail pressure with volume mix . The relative sizes of upper and lower wicks inside the high to low range produce a tail asymmetry. A volume based mix can emphasize wick information when volume is meaningful.
Path curvature . Second difference of close normalized by ATR and smoothed. This captures changes in impulse shape that can precede pushes or fades.
Streak persistence . Up and down close streaks are counted and netted. The result is normalized for the window length to keep behavior stable across symbols.
Entropy order . Shannon entropy of the probability of an up close. Lower entropy means more order. The value is oriented by Flow to preserve sign.
Causal weights . Each feature becomes a z score. A shifted correlation against future returns over the horizon produces a positive weight per feature. Weights are normalized so they sum to one for clarity. The result is angle mapped into a compact unit.
IsoPulse block
Effort split . The script estimates up effort and down effort per bar using both body location and wick geometry. Effort is integrated through time into two reservoirs using a forgetting factor.
Skew . The reservoir difference over the sum yields a stable skew in a known range. A short EMA smooths it.
Efficiency . Move size divided by average volume produces travel per unit volume. Normalization and centering around zero produce a symmetric measure.
Bursts and recency . Percent rank of volume highlights bursts. An exponential function of bars since last burst adds the notion of cluster memory.
IsoPulse unit . Skew multiplied by centered efficiency then scaled by the burst factor produces the raw IsoPulse that is angle mapped into the unit range.
Fusion and events
Regime factor . Entropy order and streak persistence form a mixer. Low structure favors IsoPulse. Higher structure favors LEGEND. The blend is convex so it remains interpretable.
Blended guides . Entry and exit guides are blended in the same way as the line so they stay consistent when regimes change. The envelope does not jump unexpectedly.
Virtual position . The script maintains state. Buy and Sell require a cross while flat and gates open. Close requires an exit or force condition while holding. Letters print once at the state change.
Disclosures
This script and description are educational. They do not constitute investment advice. Markets involve risk. You are responsible for your own decisions and for compliance with local rules. The logic is causal and does not look ahead. Signals on non standard chart types can be misleading and are not recommended for publication. When you test a strategy wrapper, use realistic commission and slippage, moderate risk per trade, and enough trades to form a meaningful sample, then document those assumptions if you share results.
Closing thoughts
Clarity builds confidence. The Fusion line gives a single view of intent. The letters communicate action without clutter. The HUD confirms context at a glance. The gates protect you from weak tape and poor liquidity. Tune it to your instrument, observe it across regimes, and use it as a consistent lens rather than a prediction oracle. The goal is not to trade every wiggle. The goal is to pick your spots with a calm process and to stand aside when the tape is not inviting.
Market sessions and Volume Delta profile - By Leviathanvisual/cosmetic edit by Deepseek, example the session box has extensive options to fit into any template harmonically
Breakdown or Buyable Dip? Pullback Depth Can HelpAs a common adage says, “the market doesn’t move in a straight line.” But when prices have fallen, it’s not always clear whether buying makes sense. That’s where today’s script may help.
Most traditional indicators judge movement based on price. That’s obviously important, but time can also be helpful. After all, there’s a big difference between probing a low from 2-3 weeks ago versus a low from months or even years in the past.
Pullback Depth clearly illustrates this by answering the question: “Today’s low is the lowest in how many bars?”
The resulting integer is plotted in a simple histogram. Values are always negative because bars with higher absolute values (meaning more negative, or further below zero) are potentially more bearish.
The study also has a maximum lookback period to avoid overwhelming the study with too many bars. Its default setting of 125 bars includes enough history to illustrate the trend.
The stock market’s recent run has seen only shallow pullbacks. Most dips have probed 1-2 weeks in the past, while Friday’s selloff only turned back the clock a month.
Consider two other previous moments.
First, the great bull run of 1995 saw only shallow pullbacks. (None exceeded 50 days.):
In contrast, early 2022 saw the S&P 500 test levels more than 100 candles into the past. It soon fell into an official “bear market:”
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. If you're born to trade, we could be for you. See our Overview for more.
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options or futures); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission and a futures commission merchant licensed with the Commodity Futures Trading Commission). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association, and a number of exchanges.
TradeStation Securities, Inc. and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., both operating, and providing products and services, under the TradeStation brand and trademark. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
ORB Multi-Range (5,10,15 min plain)Simple, accurate ORB lines for 5, 10, and 15-minute opening ranges — no clutter, just clean breakout levels.