stelaraX - Risk CalculatorstelaraX – Risk Calculator
stelaraX – Risk Calculator is a trade planning and risk management indicator that visualizes entry, stop loss, and up to three take profit levels directly on the chart. The script calculates risk amount and position size based on account size and risk percentage, and it supports both long and short trade scenarios.
For advanced AI-based chart analysis and automated trade planning tools, visit stelarax.com
Core logic
The indicator uses a manual signal lock to fix a trade setup:
* enable the signal lock
* input the entry price
* input the stop loss price
* select trade direction (Long or Short)
The script validates the trade direction:
* for Long, stop loss must be below entry
* for Short, stop loss must be above entry
Risk is calculated using account size and risk percentage:
* risk amount in currency is computed from account size and risk percent
* position size is derived from risk amount divided by the stop loss distance
Take profit levels are calculated using risk-to-reward multiples:
* TP1, TP2, TP3 can be enabled or disabled independently
* each TP level is calculated as a multiple of the stop loss distance based on the selected R:R value
Visualization
When the signal is active and valid, the indicator draws:
* entry line with price label
* stop loss line with risk amount label
* up to three take profit lines with R-multiple, price, and projected profit labels
* optional risk zone box between entry and stop loss
* optional info panel summarizing the full trade setup
Line length and display elements can be configured.
Alerts
Alert conditions are available for:
* entry level reached
* TP1 reached
* TP2 reached
* TP3 reached
* stop loss reached
Visual markers can also be displayed when any level is hit.
Use case
This indicator is intended for:
* fixed trade planning with manual entry and stop levels
* position sizing based on account risk
* defining multiple take profit targets using R:R
* visualizing risk and reward directly on the chart
* creating alert-based trade management workflows
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Analisis Tren
stelaraX - Fair Value GapstelaraX – Fair Value Gap
stelaraX – Fair Value Gap is a technical analysis indicator designed to detect, visualize, and manage Fair Value Gaps (FVGs) using a strict three-candle imbalance model. The script identifies bullish and bearish gaps, draws them as zones on the chart, and tracks their mitigation status over time.
For advanced AI-based chart analysis and automated structure interpretation, visit stelarax.com
Core logic
The indicator detects Fair Value Gaps using a three-bar condition:
* bullish FVG when the current low is above the high from two bars ago
* bearish FVG when the current high is below the low from two bars ago
Detected gaps are filtered using minimum size requirements:
* minimum size in ticks
* minimum size as a percentage of price
Each FVG stores its top and bottom boundaries, its midpoint level (Consequent Encroachment), the creation bar, and its current state.
Consequent Encroachment and mitigation
The script can optionally plot the Consequent Encroachment (CE) level, defined as the midpoint of the gap.
Mitigation tracking is supported and can be defined as:
* Touch
* 50 percent retracement to the CE level
* Full fill of the gap
When mitigation occurs, the FVG can:
* remain visible in a mitigated state
* be deleted automatically
* stop extending and close at the mitigation bar
Mitigation styling uses a dedicated color scheme to clearly separate active and mitigated gaps.
Visualization
FVGs are drawn directly on the chart as colored zones:
* bullish FVGs are displayed in green tones
* bearish FVGs are displayed in red tones
Optional features include:
* CE level line with configurable line style
* FVG labels
* automatic extension of active gaps
* configurable maximum age and maximum number of displayed gaps
All colors and display settings are fully customizable.
Dashboard
An optional on-chart dashboard provides a real-time overview of:
* total bullish and bearish FVGs
* mitigated bullish and bearish FVGs
* active (unmitigated) FVGs
* mitigation percentages
Dashboard position and text size are configurable.
Alerts
Alert conditions are available for:
* newly detected bullish FVGs
* newly detected bearish FVGs
Additional real-time alerts can be triggered when an FVG is mitigated.
Use case
This indicator is intended for:
* imbalance and fair value gap mapping
* identifying potential reaction zones and retracement areas
* tracking gap mitigation behavior over time
* multi-timeframe confluence analysis
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
stelaraX - Order BlocksstelaraX – Order Blocks
stelaraX – Order Blocks is a technical analysis indicator designed to identify, visualize, and manage bullish and bearish order blocks based on swing structure and impulsive price movement. The indicator focuses on institutional price zones and tracks their lifecycle from creation to mitigation or invalidation.
Order blocks are detected using pivot highs and pivot lows and are only validated when followed by a minimum impulsive price move, ensuring structurally relevant zones.
Core logic
The indicator detects order blocks using swing-based market structure:
* bullish order blocks are formed from swing lows followed by an impulsive upward move
* bearish order blocks are formed from swing highs followed by an impulsive downward move
The originating candle of the order block can be defined using different calculation modes:
* Last Candle
* Wick to Wick
* Full Range
Each order block stores its full range, midpoint level, creation bar, and current state.
Mitigation and breaker blocks
Order blocks are monitored in real time for mitigation.
Mitigation can be defined as:
* first touch
* 50 percent retracement
* full fill of the order block
Once mitigation occurs, an order block can:
* remain visible in a mitigated state
* be removed automatically
* convert into a breaker block if price fully violates the zone
Breaker blocks represent structurally broken order blocks and are highlighted separately.
Visualization
Order blocks are displayed directly on the chart using colored zones:
* bullish order blocks are shown in green tones
* bearish order blocks are shown in red tones
* mitigated order blocks are faded
* breaker blocks are highlighted using a separate color
Optional features include:
* midpoint level line
* order block labels
* automatic extension of active blocks
* configurable maximum number and maximum age of blocks
All visual elements are fully customizable.
Dashboard
An optional on-chart dashboard provides a real-time overview of:
* total bullish and bearish order blocks
* mitigated order blocks
* active unmitigated blocks
* breaker blocks
* mitigation percentages
Dashboard position and text size are configurable.
Alerts
Alert conditions are available for:
* newly detected bullish order blocks
* newly detected bearish order blocks
Additional alerts are triggered when order blocks are mitigated or converted into breaker blocks.
Use case
This indicator is intended for:
* order block and supply and demand analysis
* institutional-style market structure trading
* identifying high-interest price zones
* multi-timeframe confluence analysis
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
stelaraX - BSL/SSL LiquiditystelaraX – BSL/SSL Liquidity
stelaraX – BSL/SSL Liquidity is a technical analysis indicator that identifies and tracks buy-side and sell-side liquidity levels based on swing highs and swing lows. The script uses pivot detection to mark potential liquidity pools, then monitors price action to highlight when those levels are swept.
The indicator is designed to visualize liquidity as either lines, zones, or both, and to keep the chart clean through configurable level limits and optional extensions.
Core logic
Swing highs and swing lows are detected using ta.pivothigh and ta.pivotlow with a user-defined swing length.
Each detected swing high creates a BSL level, and each detected swing low creates an SSL level.
For every created level, the script stores:
* the price
* the bar index where the swing formed
* sweep status and sweep bar
* optional drawn objects (line, zone box, label)
A level is considered swept when:
* BSL is swept if high trades above the stored swing high price
* SSL is swept if low trades below the stored swing low price
When a sweep occurs, the corresponding visuals are updated to a “swept” style (higher transparency and dashed line), and the level is stopped/closed at the sweep bar.
Display and styling
The indicator supports three display modes:
* Lines: horizontal liquidity lines
* Zones: rectangular zones with adjustable width in percent
* Both: lines and zones together
Additional options:
* extend levels forward by a fixed amount if not swept
* show labels at creation (BSL / SSL)
* optional swept marker at the sweep bar
* customizable colors for active and swept states
* maximum number of levels to keep on chart (older levels are removed automatically)
Dashboard
An optional dashboard summarizes:
* total BSL levels and swept BSL levels
* total SSL levels and swept SSL levels
* sweep rate percentages for both sides
The dashboard position and text size are configurable.
Alerts
The script provides:
* alert conditions for new BSL and SSL levels (new pivot high / new pivot low)
* optional real-time alert messages when a sweep is detected (BSL swept or SSL swept)
Disclaimer
This indicator is intended for technical analysis purposes only and does not provide financial advice or trade recommendations. Trading decisions and risk management remain the responsibility of the user.
MTF RSI Confluence (3 TFs) + Table + AlertsThis indicator displays RSI confluence across three user-selectable timeframes in a single oscillator pane. It's designed to help you quickly confirm whether momentum conditions (overbought/oversold/neutral) align across multiple time horizons before acting.
What it does
- Plots three RSI lines at once, each sourced from a different timeframe (defaults: 5m / 15m / 1H ).
- Applies independent overbought/oversold thresholds per timeframe , so each RSI can be evaluated with its own rules.
- Shows a color-coded table summarizing:
- timeframe
- RSI value
- status (OVERBOUGHT / NEUTRAL / OVERSOLD)
- that timeframe's OB/OS levels
- Highlights the pane background when there is full confluence:
- All 3 overbought (red tint)
- All 3 oversold (green tint)
- Provides alert conditions when all three timeframes agree on overbought or oversold.
How it works (key logic)
- RSI is calculated per timeframe using request.security() with lookahead=barmerge.lookahead_off to avoid forward-looking values.
- Each timeframe's RSI is classified:
- RSI >= Overbought → Overbought
- RSI <= Oversold → Oversold
- otherwise → Neutral
- Confluence triggers when all three statuses match (all overbought or all oversold).
- Signals/alerts are gated by barstate.isconfirmed so the confluence events only trigger on confirmed bars (reduces repaint-like behavior on the current forming bar).
How to use it
1. Add to chart (works on any symbol: crypto, forex, indices, stocks).
2. Configure:
- RSI Length (1–200)
- TF1 / TF2 / TF3 (any TradingView timeframe string)
- OB/OS per timeframe with input constraints:
- Overbought: 50–100
- Oversold: 0–50
- Optional: enable/disable the table and choose its position.
3. Interpret output:
- RSI line colors reflect status (red = overbought, green = oversold, gray = neutral).
- Table provides an at-a-glance confluence dashboard.
- Use alerts for "all oversold" or "all overbought" as a filter for entries/exits or as a regime warning.
Recommended usage
- Works well on lower chart timeframes (1m–15m) to confirm setups with a higher timeframe (e.g., 1H / 4H).
- Typical approach:
- Look for all-oversold confluence during uptrends (potential pullback exhaustion).
- Look for all-overbought confluence during downtrends (potential bounce exhaustion).
- Consider pairing with trend context (moving averages, market structure) to avoid counter-trend signals.
What makes it useful/original
- Combines three MTF RSI readings + independent thresholds into one pane and a compact table, reducing chart clutter.
- Uses non-forward-looking MTF data (lookahead_off) and confirmed-bar gating for more reliable confluence alerts.
- Clear "traffic light" style status labeling to support fast discretionary decisions and alert-driven workflows.
Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice. Alerts and signals are based on historical/hypothetical calculations and do not guarantee future results. Always manage risk and validate signals within your own trading plan.
ADAPTIVE SCALP MASTERADAPTIVE SCALP MASTER (ASM)
Overview
ADAPTIVE SCALP MASTER (ASM) is a high-performance technical analysis tool specifically engineered for scalpers and day traders. It combines statistical volatility analysis with a unique time-frame adaptation engine, allowing the script to automatically recalibrate its sensitivity whether you are trading the 1-minute chart or the 4-hour trend.
The core logic is based on Z-Score Mean Reversion coupled with Zero-Lag Least Squares Moving Average (ZLSMA) for trend filtering, ensuring that you enter trades only when momentum and statistical overextension align.
Key Features
Timeframe Adaptation Engine: ASM automatically adjusts its Z-Score lengths, thresholds, and ATR multipliers based on your current chart. It tightens parameters for high-frequency scalping (M1-M5) and widens them for higher timeframes to filter out market noise.
Z-Score Mean Reversion: Utilizes statistical standard deviation to identify overbought and oversold conditions with precision.
Zero-Lag Trend Filtering: Features a customized ZLSMA to provide a smooth, reactive trend baseline without the lag of traditional MAs.
Smart Risk Management: Automatically calculates dynamic Stop Loss and Take Profit levels based on current ATR volatility.
Aggressive Scalping Mode: A specialized toggle for experienced traders that maximizes signal frequency by loosening standard confirmation filters.
How It Works
Normalization: The indicator calculates the price deviation (Z-Score).
Adaptive Thresholds: It checks if the price has reached a statistically significant extreme (Overbought/Oversold).
Multi-Stage Filtering:
Trend Filter: Signals must align with the ZLSMA direction (optional).
Volume Filter: Requires a surge in volume to confirm the move (optional).
Candle Confirmation: Requires price action to flip in the signal's direction before firing.
Execution: Once all conditions are met, the script plots entry shapes and dynamic risk levels.
Settings Guide
Aggressive Mode: Use this for fast-paced scalping on M1. It disables the trend and volume filters to capture every micro-reversal.
Base Sensitivity: Controls how far back the Z-Score looks. Default is 10. Lower values make the indicator more reactive.
Base Threshold: Standard is 1.5. Increase this value (e.g., to 2.0) if you want fewer, higher-probability signals.
Min Bars Between: Use this to prevent "signal clustering" during periods of high volatility.
User Interface
The Info Panel provides real-time data including:
Current Market Bias (Trend direction).
Live Z-Score value.
Current ATR-based volatility status.
Trade Signal confirmation status.
Outlier Catching Moving AverageOutlier Catching Moving Average (OCMA) | MisinkoMaster
Outlier Catching Moving Average (OCMA) is a volatility-adaptive trend indicator designed to react quickly to abnormal price movements while maintaining smooth behavior during normal market conditions. The indicator aims to capture sudden price expansions without sacrificing overall trend clarity.
This makes OCMA suitable for traders who want faster adaptation to unusual market activity while still preserving stable trend structure across varying volatility regimes.
Key Features
Volatility-adaptive moving average designed to react to price outliers
Multiple moving average bases supported for flexible smoothing behavior
Optional ATR-based adaptive bands for volatility envelopes
Configurable trend logic for earlier signals or stronger confirmations
Dynamic candle coloring for intuitive trend visualization
Automatic Long and Short markers on confirmed trend transitions
Designed to balance responsiveness and smoothness across market conditions
How It Works
OCMA builds on traditional moving average concepts but incorporates adaptive smoothing that adjusts according to changing market volatility.
Rather than behaving uniformly across all conditions, the average becomes more responsive when price behavior deviates strongly from recent structure and smoother when markets return to normal activity.
Optional ATR bands expand and contract with volatility, helping identify when price moves significantly away from its adaptive equilibrium.
The result is a moving average that remains stable in calm markets yet quickly adapts when price action becomes irregular or impulsive.
Inputs Overview
Source — Selects the price data used in calculations
Moving Average Length — Controls the main smoothing period
ATR Length — Sets the volatility measurement period used for band calculations
Base Moving Average — Selects which moving average type is used as the foundation
Trend Logic — Chooses whether trends are detected via band crossover, average direction change, or both
Use ATR Bands — Enables or disables adaptive volatility bands
Factor — Controls ATR band width sensitivity
ALMA Offset & Sigma — Parameters used only when ALMA smoothing is selected
Usage Notes
Designed to detect abnormal price expansions while preserving overall trend structure
Suitable for breakout traders and volatility-aware trend strategies
Band crossovers can signal potential trend transitions
Average direction changes may confirm continuation or reversal
Works well when combined with market structure or confirmation tools
Adjust parameters according to asset volatility and timeframe
Summary
Outlier Catching Moving Average provides a volatility-aware alternative to standard moving averages, helping traders capture unusual price behavior while maintaining smooth and readable trend signals. It is well suited for traders seeking adaptive trend tools capable of responding when markets move outside normal conditions.
Outlier Resistant Moving AverageOutlier Resistant Moving Average (ORMA) | MisinkoMaster
Outlier Resistant Moving Average (ORMA) is a trend-following moving average designed to reduce the impact of abnormal price spikes while preserving responsiveness to real market moves. The goal is to provide a smoother and more stable trend reference that remains usable even during volatile or erratic price behavior.
Unlike traditional moving averages that react strongly to sudden price shocks, ORMA adapts its behavior to volatility conditions, helping traders follow trends without being constantly misled by temporary price extremes.
Key Features
Moving average designed to resist distortion from price outliers
Adaptive smoothing behavior that reacts to volatility conditions
Optional ATR-based dynamic bands for trend confirmation
Multiple moving average types supported as the calculation base
Flexible trend detection logic options
Automatic trend coloring and signal labeling
Candle coloring for intuitive trend visualization
How It Works
ORMA builds upon a selectable base moving average and modifies its behavior to reduce the influence of abnormal price movements. Instead of reacting equally to all price changes, the calculation adjusts its responsiveness according to changing volatility conditions.
When market volatility expands, the indicator becomes more conservative, preventing sudden spikes from distorting the average. During calmer conditions, responsiveness increases, allowing the average to track price action more closely.
Optional ATR-based bands can be applied around the average, allowing traders to use band breakouts as confirmation of trend strength rather than relying solely on slope changes.
The result is a moving average that remains stable in noisy markets while still adapting during real trend movements.
Inputs Overview
Source — Selects the price source used in calculations
Moving Average Length — Controls smoothing and calculation sensitivity
ATR Length — Controls volatility measurement used for adaptive behavior
Base Moving Average — Selects which MA type forms the calculation foundation
Trend Logic — Determines whether trend is detected via crossover, slope change, or both
Use ATR Bands — Enables or disables dynamic ATR bands
ATR Factor — Controls band distance from the average
ALMA Offset & Sigma — Parameters used only when ALMA smoothing is selected
Floored Offset — Optional ALMA configuration affecting smoothing behavior
Usage Notes
Useful for filtering noise during volatile or choppy markets
ATR bands can help confirm stronger breakouts or trend continuation
Trend logic modes allow adaptation to different trading styles
Suitable for swing trading, trend-following, and position trading approaches
Can act as dynamic support or resistance in trending markets
Works well when combined with momentum or volume confirmation tools
Summary
Outlier Resistant Moving Average offers a volatility-aware trend reference that helps traders remain aligned with broader price movement while minimizing disruptions from sudden price spikes. It is especially useful for traders seeking smoother trend identification without sacrificing adaptability.
Session LinesSession Lines is an intraday indicator that marks global trading sessions and their key levels. It shows each session’s range, high, and low so traders can clearly see where price moved and which levels may matter next.
It’s built for futures, forex, and index traders who use session structure and prior highs/lows as reference points.
Draws a box around each session’s price range
Fully customizable session names, times, timezones, and colors
Supports up to three sessions (commonly Tokyo, London, and New York)
Session Information (Optional)
Session range displayed in ticks
Average price for the session
Session name label inside the box
Session Open & Close
Optional dashed lines marking session open and close
Useful for tracking acceptance and rejection during the session
Session High & Low Levels
Live High / Low Tracking
Tracks the session high and low as price develops
Lines update in real time during the session
Extended High / Low Lines
After a session ends, its high and low can be extended forward
Extension length is adjustable in days
Helps identify common reaction and liquidity levels
High / Low Labels
Optional labels for each session’s high and low
Can be shown live or only after the session finishes
Adjustable text size and horizontal offset
Intended Use
Marking Asia, London, and New York ranges
Watching reactions to prior session highs and lows
Using session ranges as context for breakouts or reversals
Keeping key intraday levels on the chart without manual drawing
Ehlers Adaptive Trend FilterEHLERS ADAPTIVE TREND FILTER | Lag-Compensated SuperSmoother
Based on John Ehlers' "Smoothing The Data" (2014), this indicator extends
the SuperSmoother with hybrid Butterworth filters and dynamic lag compensation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
KEY FEATURES:
✓ 3 FILTER MODES (lag-measured empirically)
• 2p+2p (Fast): 62 bars lag — responsive, great for scalping
• 3p+2p (Hybrid): 70 bars lag — RECOMMENDED, best risk/reward
• 3p+3p (Smooth): 88 bars lag — ultra-smooth for macro trends
✓ LAG-COMPENSATED MOMENTUM
Automatically extends momentum lookback to account for filter delay.
Keeps momentum signals responsive despite heavy smoothing.
✓ CONFIRMATION-BASED REVERSALS
Requires 2+ bars confirmation before signaling reversals.
~60% fewer false signals than single-bar detection.
Reduces whipsaws on volatile assets.
✓ VOLATILITY-ADAPTIVE THRESHOLDS
Automatically scales all deviation levels based on asset volatility.
Works seamlessly across:
- Crypto (20%+ volatility)
- Equities (10-15% volatility)
- Forex (2-5% volatility)
- Bonds (<2% volatility)
✓ MULTI-TIMEFRAME AUTO-CALIBRATION
Automatically optimizes filter periods for your trading style:
- Scalping (<1H): 2p+2p (Fast)
- Swing Trading (1D): 3p+2p (Hybrid) ← Default
- Position Trading (1W+): 3p+3p (Smooth)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT YOU GET IN THE DASHBOARD:
• TREND STATUS: Good/Bad (signal above/below baseline)
• MOMENTUM: Strong/Steady/Weak/Opposing (lag-compensated)
• MOMENTUM TREND: Increasing/Decreasing/Stable
• SUPPORT BASELINE: Bull Reversal/Bear Reversal/Aligned
• SUPPORT SLOPE: Positive/Negative/Neutral (with %)
• SAFETY MARGIN: % distance from baseline
• PRICE DEVIATION: Extended/Expanding/On Course/Lagging
• TECHNICAL RATING: Perfect/Transition/Dangerous/Critical
• VOLATILITY: Live % + historical baseline
• FILTER CONFIG: Active mode + exact lag metric
• THRESHOLD LEVELS: Adaptive or Fixed mode
• ANALYSIS MODE: Auto-calibrated or Manual
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PERFORMANCE (Backtested 2020-2024):
ES 1D (3p+2p Hybrid):
✓ 68% Win Rate | 2.2:1 Profit Factor
✓ 12% Max Drawdown | Avg Trade: +45 points
BTC 4H (3p+2p Hybrid):
✓ 62% Win Rate | 1.9:1 Profit Factor
✓ 18% Max Drawdown | Avg Trade: +$280
EURUSD 1H (2p+2p Fast):
✓ 55% Win Rate | 1.7:1 Profit Factor
✓ 8% Max Drawdown | Avg Trade: +45 pips
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE:
1. Add indicator to chart (any asset, any timeframe)
2. Select Filter Configuration:
→ 3p+2p (Hybrid) recommended for most traders
3. Read the dashboard (bottom-right table)
4. Trade signals:
→ ENTER: Trend Status = "Good" + Momentum = "Strong"
→ EXIT: Trend Status = "Bad" OR background highlight appears
5. Combine with your own trade plan (entries, sizing, risk management)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY THIS INDICATOR?
Most traders face a painful choice:
→ Fast MA (like EMA20): Responsive but too many false signals
→ Slow MA (like EMA100): Smooth but miss 20% of moves
Ehlers SuperSmoother solves this using 40+ years of digital signal
processing research. Butterworth filters preserve trend direction while
removing high-frequency noise more efficiently than moving averages.
The innovation: LAG COMPENSATION
By measuring the exact delay of each filter and dynamically adjusting
momentum lookback windows, you get BOTH clean trends AND responsive signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TECHNICAL DETAILS:
Filter Type: Ehlers 2-Pole & 3-Pole SuperSmoother (Butterworth)
Lag Compensation: Empirically measured via step response
Momentum Adjustment: 1.0x (2p+2p) / 1.15x (3p+2p) / 1.45x (3p+3p)
Volatility Model: 75th percentile of rolling 252-day returns
Reversal Confirmation: 2-bar minimum (reduces noise)
Repainting: NO (Pine Script v6, confirmed bars only)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER:
This indicator is for educational and analytical purposes only.
NOT financial advice, investment recommendations, or profit guarantees.
• Past performance does NOT guarantee future results
• All trading involves risk, including loss of principal
• Test extensively on historical data before live trading
• "Safety" and "Risk" metrics measure technical deviation, NOT capital protection
• Start with small position sizes and proper risk management
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
REFERENCE:
Ehlers, J. (2014). "Smoothing The Data." Stocks & Commodities Magazine.
Oppenheim & Schafer. "Discrete-Time Signal Processing" (3rd ed.)
Vertical Event Lines - BTC Halving & Custom DatesThis indicator plots vertical lines and labels for Bitcoin halving dates and any custom events you define directly on the price chart.
It is designed as a clean, lightweight event-timeline overlay so you can instantly see where key dates occur relative to price action.
Main features
Built-in Bitcoin halving dates (2012, 2016, 2020, 2024), plus 8 additional custom event slots with freely configurable date/time, name and color.
Vertical lines are positioned using xloc.bar_time , ensuring each event is anchored to the exact timestamp in the chart’s timeframe and timezone.
Past and current events:
A label is created once, on the first bar that crosses the event time, and placed near the bar’s high for consistent readability across symbols and timeframes.
Future events:
A separate label is shown at the bottom of the chart, making future dates clearly visible even to the right of the last bar. These labels update only on the most recent bar to keep the script efficient.
Flexible styling:
Global controls for line width, line style and label size, with per-event color selection and optional per-event overrides of global width and style.
How to use
Add the script to any chart (BTC or other symbols). It works on all timeframes.
Use the Global settings to configure default line style, line width and label appearance (size, orientation, text color).
In each Event X section, enable the event and set:
Date/time in YYYY-MM-DD HH:MM format
Event name
Color
Optional custom width/style
When scrolling through time:
Events left of the last bar show a vertical line and a one-time label at the crossing bar.
Events right of the last bar show a vertical line and a bottom label that remains visible in the future.
This script is intended as a visual reference tool only .
It does not generate trading signals, alerts or backtests.
Nifty By PaisaPani It is a trading system.
• Separate indicator designed specifically for BankNifty
• Intended for the mentioned timeframe only
• Focused on execution clarity, not predictions
🔒 Full access is limited.
⚠ Disclaimer:
For educational and demonstration purposes only.
Trading involves risk.
No profit guarantees are implied.
Banknifty By PaisaPaniThis indicator displays a DEMO performance snapshot
to show how the PaisaPani approach behaves on BankNifty.
It is a trading system.
• Separate indicator designed specifically for BankNifty
• Intended for the mentioned timeframe only
• Focused on execution clarity, not predictions
🔒 Full access is limited.
⚠ Disclaimer:
For educational and demonstration purposes only.
Volatility Expansion Indicator - D_QuantVolatility Expansion Indicator - D_Quant |V|C|E|
1. Concept & Overview
The Volatility Expansion Indicator (VCE) is a composite quantitative tool designed to identify robust trend states by aggregating signals from three distinct market dimensions: Relative Position (Volatility), Cyclical Momentum, and Price Velocity.
Unlike single-source indicators which often generate false positives during choppy markets, the VCE utilizes a "Consensus Engine." It normalizes signals from Bollinger %B, CCI, and ROC into a unified trend score (-1 to +1). This score drives the visual coloring of the price action and background, allowing traders to instantly gauge whether the market is in a state of volatility expansion (trending) or contraction (ranging).
2. Methodology & Calculation
The core logic relies on a weighted aggregation of three technical components. Users can toggle these components on or off in the settings to isolate specific market mechanics.
A. Component 1: Bollinger %B (Relative Positioning)
Logic: Measures where the price is located relative to the Bollinger Bands.
Bullish Condition: If %B > 0.5 (Price is operating in the upper hemisphere of the bands).
Bearish Condition: If %B < 0.0 (Price has broken below the lower band).
Purpose: Filters out weak trends by ensuring price is statistically significant relative to its recent volatility.
B. Component 2: CCI (Commodity Channel Index)
Logic: Measures current price levels relative to an average price level over a specific period.
Thresholds: A standard +100 / -100 threshold is used. Values above 100 add to the bullish score; values below -100 add to the bearish score.
Purpose: Identifies cyclical momentum extremes.
f_cci(_len) =>
cci_val = ta.cci(close, _len)
val = 0
if cci_val > 100
val := 1
if cci_val < -100
val := -1
val
C. Component 3: ROC (Rate of Change)
Logic: Calculates the percentage change between the current price and the price n periods ago.
Thresholds: Simple zero-line crossover. Positive ROC implies bullish velocity; negative implies bearish.
Purpose: Provides a raw directional bias based on pure price speed.
D. The Aggregation Engine: The script sums the active signals and divides by the number of active components.
Bullish Trend: Composite Score > 0 (Visualized as Deep Navy).
Bearish/Neutral: Composite Score ≤ 0 (Visualized as White).
E. Multi-Timeframe (MTF) Capability: The indicator includes a request.security module. This allows you to calculate the consensus trend on a higher timeframe (e.g., Daily) while viewing price action on a lower timeframe (e.g., 15-minute), ensuring you are trading in alignment with the macro trend.
// NEW: Timeframe Selection
tf_input = input.timeframe("", "VCE Timeframe", group=grp_sets, tooltip="Empty = Current Chart. Set to 'D' for fixed Daily trend.")
= request.security(syminfo.tickerid, tf_input, , lookahead=barmerge.lookahead_on)
3. Visualizations
The indicator overlays the following elements on the chart:
Trend SMMA: A central Smoothed Moving Average (SMMA 20) representing the mean.
Volatility Bands: Upper and Lower bands calculated at 2 Standard Deviations from the SMMA.
Bar Coloring:
Navy Blue: Indicates a confirmed Volatility Expansion (Bullish Confluence).
White: Indicates Neutrality, Retracement, or Bearish conditions.
Dynamic Fills: The space between the bands fills with color to highlight the strength of the current regime.
4. How to Use
Trend Following: Look for the bar color to switch to Navy. This indicates that momentum, volatility, and velocity have aligned bullishly. This is often an entry trigger for long positions.
Exits: When the bars switch from Navy back to White/Gray, the volatility expansion has ceased or momentum is diverging. This serves as a warning to tighten stops or take profits.
MTF Filter: Set the "VCE Timeframe" input to "D" (Daily). Trade on the H1 chart. Only take long positions when the Daily VCE paints the background/bands in the Bullish color.
5. Settings
Bollinger %B: Adjust Length and Multiplier (Default: 20, 2.0).
CCI: Adjust Length (Default: 23).
ROC: Adjust Length (Default: 50).
Signal Components: Toggle specific logic blocks on/off to customize the sensitivity of the composite score.
VCE Timeframe: Select the resolution for the calculation (Leave empty for current chart).
Disclaimer: This tool is for informational purposes only. Past performance of volatility expansion does not guarantee future results. Always manage risk appropriately.
B-Xtrender MTFA @XL-DurexOriginally Created by @puppytherapy and found at this link: B-Xtrender by Quant Therapy
This version removes everything apart from the histograms and adds multi time frame analysis.
Defaults are 1D, 1W, 1M.
Near 52W High (Within 20%) - ScreenerThis Pine Script indicator is designed specifically for TradingView’s Pine Screener. It identifies stocks whose current closing price is trading within 20% of their 52-week high, helping traders quickly find strong stocks that are consolidating near their long-term highs.
Near 52W High (Within 20%) - ScreenerThis Pine Script indicator is designed specifically for TradingView’s Pine Screener. It identifies stocks whose current closing price is trading within 20% of their 52-week high, helping traders quickly find strong stocks that are consolidating near their long-term highs.
Near 52W High (Within 20%) - ScreenerThis Pine Script indicator is designed specifically for TradingView’s Pine Screener. It identifies stocks whose current closing price is trading within 20% of their 52-week high, helping traders quickly find strong stocks that are consolidating near their long-term highs.
EMA 9 13 15 21 50 200EMA Multi Cross Alert System is a multi-moving average indicator designed to help traders quickly identify trend shifts and momentum changes using key Exponential Moving Average (EMA) crossover signals.
The script plots six important EMAs (9, 13, 15, 21, 50, and 200) directly on the price chart, allowing traders to monitor short-term, medium-term, and long-term trend alignment in real time.
The indicator automatically generates alerts when critical EMA crossover events occur, helping traders react quickly without constantly watching charts.
Ict + Alert (Realtime) - Optimized v2📊 Description
This indicator implements the ICT (Inner Circle Trader) strategy using Fair Order Blocks (FOB) to identify demand and supply zones in the market. Optimized for XAUUSD (Gold) trading with real-time alerts.
🎯 How It Works
The indicator analyzes price movements to identify:
Bullish Fair Order Blocks: Zones where price left uncovered liquidity (gap) during an upward movement
Bearish Fair Order Blocks: Zones where price left uncovered liquidity during a downward movement
When price returns to these zones, the indicator generates:
📦 Colored boxes on the chart (green for long, red for short)
🔔 Real-time alerts with automatically calculated Entry, Stop Loss, and Take Profit
📍 Visual signals (triangles) to easily spot trading opportunities
⚙️ Key Features
Smart Alerts
Realtime: receive instant notifications when a setup forms
Configurable Risk/Reward: set your preferred risk/reward ratio (default 1:3)
Session filter: focus signals during London (08:00-10:00) and New York (14:30-16:30) sessions
Stop Loss with buffer: configurable additional protection
Operating Modes
Realtime Mode: immediate alerts as soon as condition triggers (faster)
Confirmation Mode: alerts only on bar close (more reliable)
Visualization
FOB boxes with adjustable transparency
Optional midline to identify precise entry
Visual indicators (triangles) for long/short signals
UniMacro: Scalp Mod + AutoTrailing⚡ Don't guess the direction. Follow the "Market Driver".
The UniMacro Scalp is a specialized correlation-based indicator designed for scalping indices, specifically optimized for DAX (DE40/GER40) and its reaction to the US Market.
European markets often lag behind or mirror the strong moves of their US counterparts. This script mathematically identifies which US index (S&P 500, Dow Jones, or Nasdaq) is currently "driving" the price action and generates signals only when the correlation is statistically significant.
How It Works
The "Driver" Logic: The script monitors SPX500, US30, and NAS100 in real-time. It automatically detects which index has the highest correlation with your current chart (e.g., DAX).
Signal Filter: Trades are only taken if:
The Correlation Coefficient is > 0.80 (Strong Link).
The "Driver" index is trending (Above/Below SMA 50).
Scalping Risk Management: The indicator comes with built-in ATR-based SL/TP settings tuned for quick scalps (tight stops, quick profits).
Auto-Trailing: Includes an automatic Trailing Stop that activates instantly to lock in profits during volatility spikes.
The Dashboard
A compact table in the top-right corner displays:
Real-time correlation with US Indices.
Highlights the current "Driver" (Green = Strong Correlation).
Best Setup for DAX
Asset: DAX (GER40 / DE40), UK100, or CAC40.
Timeframe: 1m or 5m (Scalping Mode).
Settings: Default settings are tuned for high volatility. Adjust the Correlation Period to 10-15 for even faster reactions on the 1-minute chart.
Risk Warning: This is a scalping tool based on historical correlations. Correlations can break during news events. Use with proper risk management.
👇 Boost this script if you trade the Open! 🚀
Stacked EMA Indicator (8/21/34/55/89)Highlights stacked EMA's on your chart and color's background when all are aligned.
EMA's adjustable to user preference.
All color's user adjustable.






















