Leg Tracker + Full PB Logic + Entry + SL (RT Candle Source v291)Momentum Strategy
Leg Logic + Hod Logic + Full 1/2/3 Candle Pb Logic + Fixed And Dynamic Sl / Tp + Defensive Gates (Min Vol, Extended Move Protection, 1st And 2nd Leg only, ect)
Automation Ready
Run on 1s for live entries
移動平均線
MA Alignment DetectorMA Alignment Detector : If it is bullish MA alignment, the color becomes red, if it is bearlish MA alignment, the color become green.
SterlCore FX [JOATSterlCore FX Matrix is a multi-timeframe forex indicator that integrates market structure analysis, central bank policy proxies, currency strength correlation, session-based liquidity tracking, and volatility diagnostics into a single overlay system.
Note: This script is published as an invite-only INDICATOR. It does not generate backtesting results or automated trade execution. Access requires authorization through the script's access control settings.
## Why This Script Merits Invite-Only Protection
This indicator combines multiple analytical dimensions that individually exist as separate tools across the trading community. The value proposition lies in the specific integration methodology and composite scoring system that synthesizes:
Multi-timeframe EMA lattice with adaptive ATR channels for structure analysis
Central bank policy pressure assessment using normalized currency index calculations
Real-time currency strength matrix across eight major currencies with correlation intelligence
Session-specific VWAP calculations with drift metrics and range analysis
Composite macro confluence scoring that weights and combines all analytical modules
The proprietary elements include the mathematical weighting system for the macro confluence score, the specific normalization methods for currency strength calculations, and the integration logic that prevents conflicting signals across modules. While individual components like EMAs and RSI are standard, their specific combination, the composite scoring methodology, and the multi-module integration represent original development work that justifies source code protection.
---
## How Components Work Together
The indicator's value comes from how its modules interact, not from any single component:
Data Flow:
1. Multi-timeframe EMAs establish directional bias across strategic, tactical, and execution timeframes
2. Currency strength matrix identifies which currencies are strengthening/weakening across the broader market
3. Policy proxies assess central bank pressure differentials between base and quote currencies
4. Session VWAPs track intraday institutional positioning and drift
5. Correlation grid monitors whether related pairs confirm or contradict the current pair's signals
6. Momentum and volatility filters ensure signals only fire during favorable market conditions
Integration Logic:
Each module produces a normalized score (-1 to +1). These scores are weighted and combined into the macroConfluence composite:
Structure score receives highest weight (50%) as the primary trend filter
Carry composite (30%) captures policy-driven flows
Currency strength spread (20%) validates pair-specific momentum
Momentum, liquidity, session drift, and correlation act as modifiers that can dampen or amplify signals
Why This Integration Matters:
A standard EMA crossover might signal "buy" while currency strength shows the base currency weakening, session VWAP shows price below fair value, and correlation pairs are diverging. The composite scoring system catches these conflicts and reduces signal confidence accordingly. This multi-dimensional validation is what separates this indicator from simple mashups that display multiple indicators without integration.
---
## Core Functionality
This indicator addresses the challenge of synthesizing multiple analytical dimensions in forex trading. Currency markets operate across multiple timeframes simultaneously, with central bank policy shifts, cross-pair correlations, and session-specific liquidity patterns all influencing price action. Most indicators focus on a single dimension; this script attempts to integrate several.
What This Script Does:
Multi-timeframe structure analysis using synchronized EMAs across strategic (daily), tactical (4-hour), and execution (hourly) timeframes
Central bank policy pressure assessment through normalized currency index proxies
Real-time currency strength matrix tracking eight major currencies (USD, EUR, GBP, JPY, AUD, CAD, CHF, NZD)
Cross-pair correlation monitoring using configurable reference pairs
Session-based VWAP calculations with drift and range metrics for Asia, Europe, and US trading windows
Market structure detection including break-of-structure (BOS) confirmation, liquidity sweep identification, and RSI-based divergence alerts
Composite macro confluence score combining all modules with configurable weights
---
## Technical Architecture
### Multi-Timeframe Structure Lattice
The indicator calculates exponential moving averages (EMAs) across three timeframes:
Strategic EMA (default: Daily timeframe, 96-period EMA) — Anchors to longer-term monetary drift and macro flows
Tactical EMA (default: 4-hour timeframe, 55-period EMA) — Captures rotational pressure during positioning for economic data or policy events
Execution EMA (default: 1-hour timeframe, 21-period EMA) — Tracks microstructure in real time
An adaptive ATR-based channel surrounds the execution EMA to define a "value corridor" for entry consideration. Break-of-structure (BOS) logic requires price to close beyond prior swing highs/lows by a configurable ATR percentage threshold to reduce false breakouts.
### Policy Gradient & Carry Intelligence
The script uses currency index proxies (defaults: FX_IDC:EURUSD and FX_IDC:USDJPY ) to approximate central bank policy pressure. These proxies are smoothed via EMA and normalized over a lookback period.
The carryComposite calculation blends:
Normalized policy spread between base and quote currency proxies
Policy drift (difference between tactical and macro timeframe policy spreads)
Carry acceleration (rate of change in policy spread)
Carry opportunity signals appear when the composite exceeds a threshold and aligns with structure bias and currency strength dispersion.
### Currency Strength Matrix
Eight currency baskets are tracked using configurable symbol inputs (defaults use $FX_IDC pairs). Each currency's strength is normalized to a -1 to +1 scale relative to its lookback range. The heatmap table displays which currencies are dominating, allowing quick assessment of broad market moves before they appear in individual pair price action.
### Correlation Intelligence Grid
Three reference pairs (defaults: FX_IDC:EURUSD , FX_IDC:GBPUSD , FX_IDC:USDJPY ) are monitored on a higher timeframe. The script calculates correlation coefficients and assigns qualitative descriptors: "Lockstep +", "Aligned +", "Loose", "Aligned -", or "Lockstep -". A correlation consensus value feeds into the macro confluence calculation, dampening signals when reference pairs show conflicting behavior.
### Momentum, Volatility & Liquidity Stack
Dual ROC momentum — Fast and slow rate-of-change calculations prevent whipsaw from single-length oscillators
Volatility pulse — Compares current ATR to a slower baseline; signals require volatility above a floor threshold
Volatility forecast slope — Uses linear regression to project ATR 21 bars ahead, warning of imminent expansion or contraction
Liquidity pulse — Compares current volume to smoothed average; low participation is visually indicated via background tinting
### Session Awareness & Performance Console
Asia, Europe, and US trading sessions are tracked with configurable UTC windows. Each session maintains:
Live VWAP that resets at session open
Drift score quantifying price deviation from VWAP in ATR terms
Range percentage showing session expansion relative to VWAP
Session bias composite feeds into macro confluence to reduce signal aggression when all sessions are mean-reverting.
### Liquidity & Market Structure Suite
Liquidity sweeps — Detects stop hunts above prior highs or below prior lows within a configurable lookback
RSI divergence — Identifies momentum divergences using confirmed pivot points only
Supply/demand zones — Automatically generated from pivot highs/lows and projected forward for a set number of bars
### Macro Alignment Engine
The macroConfluence score combines:
Structure score (weighted average of strategic/tactical/execution EMAs)
Carry composite
Currency strength spread (base minus quote)
Momentum score
Liquidity modifier
Session bias composite
Correlation consensus
Long/short alignment signals require:
Macro confluence exceeding configurable threshold (default: 0.55)
Volatility pulse above floor threshold
Optional: Price above/below tactical EMA (execution filter toggle)
---
## Visual Elements
Candle Coloring: Candles are recolored based on macro confluence: teal for bullish alignment, magenta for bearish alignment, neutral gray for distribution phases.
Background Tint: Volatility intensity modulates chart background; bold colors indicate elevated ATR, washed-out tones suggest choppy conditions.
Labels:
Macro Align Long/Short — Primary entry signals when confluence exceeds threshold
BOS↑/↓ — Break-of-structure confirmation
Sweep↑/↓ — Liquidity sweep detection
RSI Bull/Bear Div — Momentum divergence alerts
Carry Bias± — Policy-strength alignment flags
Session Overlays: Transparent background shading indicates active trading sessions (Asia, Europe, US) with configurable opacity.
Session VWAPs: Each region's VWAP is plotted in a distinct color (teal for Asia, blue for Europe, purple for US).
---
## Dashboard Tables
The indicator includes several configurable information tables:
Intelligence Dashboard (top-right, default) — Displays strategic/tactical/execution bias, policy pressure, currency spread, volatility pulse, policy impulse, session drift, correlation, and macro state
Currency Heatmap (bottom-right, default) — Shows normalized strength values for all tracked currencies
Correlation Grid (bottom-left, default) — Lists reference pairs with correlation coefficients and qualitative states
Session Performance Panel (bottom-center, default) — Displays drift scores and range percentages for each session
Diagnostics Table (top-left, optional) — Additional session range metrics and liquidity pulse values
All table positions are configurable via input settings to avoid overlap with TradingView UI elements.
---
## Configuration Parameters
Multi-Timeframe Structure: All EMA timeframes and lengths are adjustable. Default strategic timeframe is Daily; tactical is 4-hour; execution is 1-hour.
Policy Proxies: Base and quote currency policy proxy symbols are user-configurable. Defaults use $FX_IDC pairs for broad compatibility.
Currency Strength: Each currency's tracking can be toggled on/off. Symbol inputs allow substitution of alternative data sources if default indices are unavailable.
Correlation References: Three reference pair symbols, timeframe, and lookback period are all configurable.
Signal Thresholds: Macro alignment trigger, volatility pulse floor, and carry opportunity threshold are adjustable to match different trading styles.
Visual Controls: Label visibility, zone display, session overlays, VWAP plotting, and all dashboard tables can be toggled independently.
---
## Technical Implementation Notes
Pine Script v6 compliant
All request.security calls use lookahead_off to prevent historical repainting
BOS, divergence, and sweep detection rely on confirmed pivot points only
Session VWAP calculations reset strictly on session boundaries
Zone objects are automatically capped and managed to respect TradingView resource limits
All calculations include division-by-zero guards and NA handling for real-time stability
---
## Usage Considerations
Timeframe Selection: The indicator is designed for forex pairs. Default timeframes (D/4H/1H) are optimized for swing and intraday trading. Scalpers may prefer shorter execution timeframes; position traders may extend strategic to weekly.
Pair Compatibility: Tested on major pairs ( FX:EURUSD , FX:GBPUSD , FX:USDJPY , OANDA:USDCHF , OANDA:AUDUSD , OANDA:USDCAD , OANDA:NZDUSD ), cross-pairs, and FX-derived CFDs. Policy proxy symbols should be adjusted to match your data feed availability.
Session Windows: Default UTC windows (Asia: 22:00-06:00, Europe: 06:00-13:00, US: 13:00-21:00) can be customized. Adjust for daylight saving time transitions as needed.
Signal Interpretation: Macro alignment signals indicate confluence across multiple dimensions but do not guarantee profitable outcomes. Use in conjunction with risk management and market context. The indicator is a tool for analysis, not a standalone trading system.
Resource Usage: With all features enabled, the script operates within TradingView's resource budgets. Disable unused modules (currency tracking, correlation grid, diagnostics) if running multiple instances on a single layout.
---
## Limitations & Compromises
Policy proxies are approximations using currency indices; actual central bank policy requires external economic analysis
Correlation calculations use price-based correlation, which may lag during regime shifts
Session VWAPs reset at session boundaries; overlapping sessions (e.g., London/NY) may show conflicting signals
Supply/demand zones are generated from pivots; false zones may appear during ranging markets
Macro confluence is a composite score; individual components may conflict, requiring discretionary interpretation
The indicator is optimized for trending and rotational markets. Performance may degrade during extended consolidation or during major economic event volatility when multiple central banks act simultaneously.
---
## Alert System
The script includes four alert conditions:
SterlCore FX Bullish Alignment — Fires when macro confluence exceeds threshold with volatility and EMA filters satisfied
SterlCore FX Bearish Alignment — Mirror of bullish logic
SterlCore FX Carry Long — Fires when carry composite, currency spread, and structure align for long bias
SterlCore FX Carry Short — Mirror of carry long logic
All alerts fire once per bar at bar close.
-Made with passion by officialjackofalltrades
CryptoFlux Dynamo [JOAT]CryptoFlux Dynamo: Velocity Scalping Strategy
WHAT THIS STRATEGY IS
CryptoFlux Dynamo is an open-source Pine Script v6 strategy designed for momentum-based scalping on cryptocurrency perpetual futures. It combines multiple technical analysis methods into a unified system that adapts its behavior based on current market volatility conditions.
This script is published open-source so you can read, understand, and modify the complete logic. The description below explains everything the strategy does so that traders who cannot read Pine Script can fully understand how it works before using it.
HOW THIS STRATEGY IS ORIGINAL AND WHY THE INDICATORS ARE COMBINED
This strategy uses well-known indicators (MACD, EMA, RSI, MFI, Bollinger Bands, Keltner Channels, ATR). The originality is not in the individual indicators themselves, but in the specific way they are integrated into a regime-adaptive system. Here is the detailed justification for why these components are combined and how they work together:
The Problem Being Solved:
Standard indicator-based strategies use fixed thresholds. For example, a typical MACD strategy might enter when the histogram crosses above zero. However, in cryptocurrency markets, volatility changes dramatically throughout the day and week. A MACD crossover during a low-volatility consolidation period has very different implications than the same crossover during a high-volatility trending period. Using the same entry thresholds and stop distances in both conditions leads to either:
Too many false signals during consolidation (if thresholds are loose)
Missing valid opportunities during expansion (if thresholds are tight)
Stops that are too tight during volatility spikes (causing premature exits)
Stops that are too wide during compression (giving back profits)
The Solution Approach:
This strategy first classifies the current volatility regime using normalized ATR (ATR as a percentage of price), then dynamically adjusts ALL other parameters based on that classification. This creates a context-aware system rather than a static threshold comparison.
How Each Component Contributes to the System:
ATR-Based Regime Classification (The Foundation)
The strategy calculates ATR over 21 periods, smooths it with a 13-period EMA to reduce noise from wicks, then divides by price to get a normalized percentage. This ATR% is classified into three regimes:
- Compression (ATR% < 0.8%): Market is consolidating, breakouts are more likely but false signals are common
- Expansion (ATR% 0.8% - 1.6%): Normal trending conditions
- Velocity (ATR% > 1.6%): High volatility, larger moves but also larger adverse excursions
This regime classification then controls stop distances, profit targets, trailing stop offsets, and signal strength requirements. The regime acts as a "meta-parameter" that tunes the entire system.
EMA Ribbon (8/21/34) - Trend Structure Detection
The three EMAs establish trend direction and structure. When EMA 8 > EMA 21 > EMA 34, the trend structure is bullish. The slope of the middle EMA (21) is calculated over 8 bars and converted to degrees using arctangent. This slope measurement quantifies trend strength, not just direction.
Why these specific periods? The 8/21/34 sequence follows Fibonacci-like spacing and provides good separation on 5-minute cryptocurrency charts. The fast EMA (8) responds to immediate price action, the mid EMA (21) represents the short-term trend, and the slow EMA (34) acts as a trend filter.
The EMA ribbon works with the regime classification: during compression regimes, the strategy requires stronger ribbon alignment before entry because false breakouts are more common.
MACD (8/21/5) - Momentum Measurement
The MACD uses faster parameters (8/21/5) than the standard (12/26/9) because cryptocurrency markets move faster than traditional markets. The histogram is smoothed with a 5-period EMA to reduce noise.
The key innovation is the adaptive histogram baseline. Instead of using a fixed threshold, the strategy calculates a rolling baseline from the smoothed absolute histogram value, then multiplies by a sensitivity factor (1.15). This means the threshold for "significant momentum" automatically adjusts based on recent momentum levels.
The MACD works with the regime classification: during velocity regimes, the histogram baseline is effectively higher because recent momentum has been stronger, preventing entries on relatively weak momentum.
RSI (21 period) and MFI (21 period) - Independent Momentum Confirmation
RSI measures momentum using price changes only. MFI (Money Flow Index) measures momentum using price AND volume. By requiring both to confirm, the strategy filters out price moves that lack volume support.
The 21-period length is longer than typical (14) to reduce noise on 5-minute charts. The trigger threshold (55 for longs, 45 for shorts) is slightly offset from 50 to require momentum in the trade direction, not just neutral readings.
These indicators work together: a signal requires RSI > 55 AND MFI > 55 for longs. This dual confirmation reduces false signals from price manipulation or low-volume moves.
Bollinger Bands (1.5 mult) and Keltner Channels (1.8 mult) - Squeeze Detection
When Bollinger Bands contract inside Keltner Channels, volatility is compressing and a breakout is likely. This is the "squeeze" condition. When the bands expand back outside the channels, the squeeze "releases."
The strategy uses a 1.5 multiplier for Bollinger Bands (tighter than standard 2.0) and 1.8 for Keltner Channels. These values were chosen to identify meaningful squeezes on 5-minute cryptocurrency charts without triggering too frequently.
The squeeze detection works with the regime classification: squeeze releases during compression regimes receive additional signal strength points because breakouts from consolidation are more significant.
Volume Impulse Detection - Institutional Participation Filter
The strategy calculates a volume baseline (34-period SMA) and standard deviation. A "volume impulse" is detected when current volume exceeds the baseline by 1.15x OR when the volume z-score exceeds 0.5.
This filter ensures entries occur when there is meaningful market participation, not during low-volume periods where price moves are less reliable.
Volume impulse is required for all entries and adds points to the composite signal strength score.
Cycle Oscillator - Trend Alignment Filter
The strategy calculates a 55-period EMA as a cycle basis, then measures price deviation from this basis as a percentage. When price is more than 0.15% above the cycle basis, the cycle is bullish. When more than 0.15% below, the cycle is bearish.
This filter prevents counter-trend entries. Long signals require bullish cycle alignment; short signals require bearish cycle alignment.
BTC Dominance Filter (Optional) - Market Regime Filter
The strategy can optionally use BTC.D (Bitcoin Dominance) as a market regime filter. When BTC dominance is rising (slope > 0.12), the market is in "risk-off" mode and long entries on altcoins are filtered. When dominance is falling (slope < -0.12), short entries are filtered.
This filter is optional because the BTC.D data feed may lag during low-liquidity periods.
How The Components Work Together (The Mashup Justification):
The strategy uses a composite scoring system where each signal pathway contributes points:
Trend Break pathway (30 points): Requires EMA ribbon alignment + positive slope + price breaks above recent structure high
Momentum Surge pathway (30 points): Requires MACD histogram > adaptive baseline + MACD line > signal + RSI > 55 + MFI > 55 + volume impulse
Squeeze Release pathway (25 points): Requires BB inside KC (squeeze) then release + momentum bias + histogram confirmation
Micro Pullback pathway (15 points): Requires shallow retracement to fast EMA within established trend + histogram confirmation + volume impulse
Additional modifiers:
+5 points if volume impulse is present, -5 if absent
+5 points in velocity regime, -2 in compression regime
+5 points if cycle is aligned, -5 if counter-trend
A trade only executes when the composite score reaches the minimum threshold (default 55) AND all filters agree (session, cycle bias, BTC dominance if enabled).
This scoring system is the core innovation: instead of requiring ALL conditions to be true (which would generate very few signals) or ANY condition to be true (which would generate too many false signals), the strategy requires ENOUGH conditions to be true, with different conditions contributing different weights based on their reliability.
HOW THE STRATEGY CALCULATES ENTRIES AND EXITS
Entry Logic:
1. Calculate current volatility regime from ATR%
2. Calculate all indicator values (MACD, EMA, RSI, MFI, squeeze, volume)
3. Evaluate each signal pathway and sum points
4. Check all filters (session, cycle, dominance, kill switch)
5. If composite score >= 55 AND all filters pass, generate entry signal
6. Calculate position size based on risk per trade and regime-adjusted stop distance
7. Execute entry with regime name as comment
Position Sizing Formula:
RiskCapital = Equity * (0.65 / 100)
StopDistance = ATR * StopMultiplier(regime)
RawQuantity = RiskCapital / StopDistance
MaxQuantity = Equity * (12 / 100) / Price
Quantity = min(RawQuantity, MaxQuantity)
Quantity = round(Quantity / 0.001) * 0.001
This ensures each trade risks approximately 0.65% of equity regardless of volatility, while capping total exposure at 12% of equity.
Stop Loss Calculation:
Stop distance is ATR multiplied by a regime-specific multiplier:
Compression regime: 1.05x ATR (tighter stops because moves are smaller)
Expansion regime: 1.55x ATR (standard stops)
Velocity regime: 2.1x ATR (wider stops to avoid premature exits during volatility)
Take Profit Calculation:
Target distance is ATR multiplied by regime-specific multiplier and base risk/reward:
Compression regime: 1.6x ATR * 1.8 base R:R * 0.9 regime bonus = approximately 2.6x ATR
Expansion regime: 2.05x ATR * 1.8 base R:R * 1.0 regime bonus = approximately 3.7x ATR
Velocity regime: 2.8x ATR * 1.8 base R:R * 1.15 regime bonus = approximately 5.8x ATR
Trailing Stop Logic:
When adaptive trailing is enabled, the strategy calculates a trailing offset based on ATR and regime:
Compression regime: 1.1x base offset (looser trailing to avoid noise)
Expansion regime: 1.0x base offset (standard)
Velocity regime: 0.8x base offset (tighter trailing to lock in profits during fast moves)
The trailing stop only activates when it would be tighter than the initial stop.
Momentum Fail-Safe Exits:
The strategy closes positions early if momentum reverses:
Long positions close if MACD histogram turns negative OR EMA ribbon structure breaks (fast EMA crosses below mid EMA)
Short positions close if MACD histogram turns positive OR EMA ribbon structure breaks
This prevents holding through momentum reversals even if stop loss hasn't been hit.
Kill Switch:
If maximum drawdown exceeds 6.5%, the strategy disables new entries until manually reset. This prevents continued trading during adverse conditions.
HOW TO USE THIS STRATEGY
Step 1: Apply to Chart
Use a 5-minute chart of a high-liquidity cryptocurrency perpetual (BTC/USDT, ETH/USDT recommended)
Ensure at least 200 bars of history are loaded for indicator stabilization
Use standard candlestick charts only (not Heikin Ashi, Renko, or other non-standard types)
Step 2: Understand the Visual Elements
EMA Ribbon: Three lines (8/21/34 periods) showing trend structure. Bullish when stacked upward, bearish when stacked downward.
Background Color: Shows current volatility regime
- Indigo/dark blue = Compression (low volatility)
- Purple = Expansion (normal volatility)
- Magenta/pink = Velocity (high volatility)
Bar Colors: Reflect signal strength divergence. Brighter colors indicate stronger directional bias.
Triangle Markers: Entry signals. Up triangles below bars = long entry. Down triangles above bars = short entry.
Dashboard (top-right): Real-time display of regime, ATR%, signal strengths, position status, stops, targets, and risk metrics.
Step 3: Interpret the Dashboard
Regime: Current volatility classification (Compression/Expansion/Velocity)
ATR%: Normalized volatility as percentage of price
Long/Short Strength: Current composite signal scores (0-100)
Cycle Osc: Price deviation from 55-period EMA as percentage
Dominance: BTC.D slope and filter status
Position: Current position direction or "Flat"
Stop/Target: Current stop loss and take profit levels
Kill Switch: Status of drawdown protection
Volume Z: Current volume z-score
Impulse: Whether volume impulse condition is met
Step 4: Adjust Parameters for Your Needs
For more conservative trading: Increase "Minimum Composite Signal Strength" to 65 or higher
For more aggressive trading: Decrease to 50 (but expect more false signals)
For higher timeframes (15m+): Increase "Structure Break Window" to 12-15, increase "RSI Momentum Trigger" to 58
For lower liquidity pairs: Increase "Volume Impulse Multiplier" to 1.3, increase slippage in strategy properties
To disable short selling: Uncheck "Enable Short Structure"
To disable BTC dominance filter: Uncheck "BTC Dominance Confirmation"
STRATEGY PROPERTIES (BACKTEST SETTINGS)
These are the exact settings used in the strategy's Properties dialog box. You must use these same settings when evaluating the backtest results shown in the publication:
Initial Capital: $100,000
Justification: This amount is higher than typical retail accounts. I chose this value to demonstrate percentage-based returns that scale proportionally. The strategy uses percentage-based position sizing (0.65% risk per trade), so a $10,000 account would see the same percentage returns with 10x smaller position sizes. The absolute dollar amounts in the backtest should be interpreted as percentages of capital.
Commission: 0.04% (commission_value = 0.04)
Justification: This reflects typical perpetual futures exchange fees. Major exchanges charge between 0.02% (maker) and 0.075% (taker). The 0.04% value is a reasonable middle estimate. If your exchange charges different fees, adjust this value accordingly. Higher fees will reduce net profitability.
Slippage: 1 tick
Justification: This is conservative for liquid pairs like BTC/USDT on major exchanges during normal conditions. For less liquid altcoins or during high volatility, actual slippage may be higher. If you trade less liquid pairs, increase this value to 2-3 ticks for more realistic results.
Pyramiding: 1
Justification: No position stacking. The strategy holds only one position at a time. This simplifies risk management and prevents overexposure.
calc_on_every_tick: true
Justification: The strategy evaluates on every price update, not just bar close. This is necessary for scalping timeframes where waiting for bar close would miss opportunities. Note that this setting means backtest results may differ slightly from bar-close-only evaluation.
calc_on_order_fills: true
Justification: The strategy recalculates immediately after order fills for faster response to position changes.
RISK PER TRADE JUSTIFICATION
The default risk per trade is 0.65% of equity. This is well within the TradingView guideline that "risking more than 5-10% on a trade is not typically considered viable."
With the 12% maximum exposure cap, even if the strategy takes multiple consecutive losses, the total risk remains manageable. The kill switch at 6.5% drawdown provides additional protection by halting new entries during adverse conditions.
The position sizing formula ensures that stop distance (which varies by regime) is accounted for, so actual risk per trade remains approximately 0.65% regardless of volatility conditions.
SAMPLE SIZE CONSIDERATIONS
For statistically meaningful backtest results, you should select a dataset that generates at least 100 trades. On 5-minute BTC/USDT charts, this typically requires:
2-3 months of data during normal market conditions
1-2 months during high-volatility periods
3-4 months during low-volatility consolidation periods
The strategy's selectivity (requiring 55+ composite score plus all filters) means it generates fewer signals than less filtered approaches. If your backtest shows fewer than 100 trades, extend the date range or reduce the minimum signal strength threshold.
Fewer than 100 trades produces statistically unreliable results. Win rate, profit factor, and other metrics can vary significantly with small sample sizes.
STRATEGY DESIGN COMPROMISES AND LIMITATIONS
Every strategy involves trade-offs. Here are the compromises made in this design and the limitations you should understand:
Selectivity vs. Opportunity Trade-off
The 55-point minimum threshold filters many potential trades. This reduces false signals but also misses valid setups that don't meet all criteria. Lowering the threshold increases trade frequency but decreases win rate. There is no "correct" threshold; it depends on your preference for fewer higher-quality signals vs. more signals with lower individual quality.
Regime Classification Lag
The ATR-based regime detection uses historical data (21 periods + 13-period smoothing). It cannot predict sudden volatility spikes. During flash crashes or black swan events, the strategy may be classified in the wrong regime for several bars before the classification updates. This is an inherent limitation of any lagging indicator.
Indicator Parameter Sensitivity
The default parameters (MACD 8/21/5, EMA 8/21/34, RSI 21, etc.) are tuned for BTC/ETH perpetuals on 5-minute charts during 2024 market conditions. Different assets, timeframes, or market regimes may require different parameters. There is no guarantee that parameters optimized on historical data will perform similarly in the future.
BTC Dominance Filter Limitations
The CRYPTOCAP:BTC.D data feed may lag during low-liquidity periods or weekends. The dominance slope calculation uses a 5-bar SMA, adding additional delay. If you notice the filter behaving unexpectedly, consider disabling it.
Backtest vs. Live Execution Differences
TradingView backtesting does not replicate actual broker execution. Key differences:
Backtests assume perfect fills at calculated prices; real execution involves order book depth, latency, and partial fills
The calc_on_every_tick setting improves backtest realism but still cannot capture sub-bar price action or order book dynamics
Commission and slippage settings are estimates; actual costs vary by exchange, time of day, and market conditions
Funding rates on perpetual futures are not modeled in backtests and can significantly impact profitability over time
Exchange-specific limitations (position limits, liquidation mechanics, order types) are not modeled
Market Condition Dependencies
This strategy is designed for trending and breakout conditions. During extended sideways consolidation with no clear direction, the strategy may generate few signals or experience whipsaws. No strategy performs well in all market conditions.
Cryptocurrency-Specific Risks
Cryptocurrency markets operate 24/7 without session boundaries. This means:
No natural "overnight" risk reduction
Volatility can spike at any time
Liquidity varies significantly by time of day
Exchange outages or issues can occur at any time
WHAT THIS STRATEGY DOES NOT DO
To be straightforward about limitations:
This strategy does not guarantee profits. Past backtest performance does not indicate future results.
This strategy does not predict the future. It reacts to current conditions based on historical patterns.
This strategy does not account for funding rates, which can significantly impact perpetual futures profitability.
This strategy does not model exchange-specific execution issues (partial fills, requotes, outages).
This strategy does not adapt to fundamental news events or black swan scenarios.
This strategy is not optimized for all market conditions. It may underperform during extended consolidation.
IMPORTANT RISK WARNINGS
Past performance does not guarantee future results. The backtest results shown reflect specific historical market conditions and parameter settings. Markets change constantly, and strategies that performed well historically may underperform or lose money in the future. A single backtest run does not constitute proof of future profitability.
Trading involves substantial risk of loss. Cryptocurrency derivatives are highly volatile instruments. You can lose your entire investment. Only trade with capital you can afford to lose completely.
This is not financial advice. This strategy is provided for educational and informational purposes only. It does not constitute investment advice, trading recommendations, or any form of financial guidance. The author is not a licensed financial advisor.
You are responsible for your own decisions. Before using this strategy with real capital:
Thoroughly understand the code and logic by reading the open-source implementation
Forward test with paper trading or very small positions for an extended period
Verify that commission, slippage, and execution assumptions match your actual trading environment
Understand that live results will differ from backtest results
Consider consulting with a qualified financial advisor
No guarantees or warranties. This strategy is provided "as is" without any guarantees of profitability, accuracy, or suitability for any purpose. The author is not responsible for any losses incurred from using this strategy.
OPEN-SOURCE CODE STRUCTURE
The strategy code is organized into these sections for readability:
Configuration Architecture: Input parameters organized into logical groups (Core Controls, Optimization Constants, Regime Intelligence, Signal Pathways, Risk Architecture, Visualization)
Helper Functions: calcQty() for position sizing, clamp01() and normalize() for value normalization, calcMFI() for Money Flow Index calculation
Core Indicator Engine: EMA ribbon, ATR and regime classification, MACD with adaptive baseline, RSI, MFI, volume analytics, cycle oscillator, BTC dominance filter, squeeze detection
Signal Pathway Logic: Trend break, momentum surge, squeeze release, micro pullback pathways with composite scoring
Entry/Exit Orchestration: Signal filtering, position sizing, entry execution, stop/target calculation, trailing stop logic, momentum fail-safe exits
Visualization Layer: EMA plots, regime background, bar coloring, signal labels, dashboard table
You can read and modify any part of the code. Understanding the logic before deployment is strongly recommended.
- Made with passion by officialjackofalltrades
Mag 7 EMA Trend MonitorDashboard Layout:
1. Symbol Column: The Mag 7 tickers.
2. Trend Column: Visual Bull/Bear status.
3. Strength Column: Percentage distance from the mean (EMA 21).
4. Aggregate Row: Summary of market breadth and average sector pull/push.
How to Interpret the Trend Strength:
• Positive %: The stock is trading above its 21 EMA. A very high number (e.g., $+15\%$) might suggest the stock is "overbought" or overextended.
• Negative %: The stock is trading below its 21 EMA. A very low number (e.g., $-10\%$) might suggest it is "oversold."
• Avg Strength: This gives you a bird's-eye view of the sector. If the aggregate is "5 Up / 2 Down" but the Avg Strength is only $+0.5\%$, the trend is weak and might be exhausting.
"Pro-tips" for tool:
• Multi-Timeframe Correlation: Try setting the Dashboard Timeframe to "D" (Daily) while trading on a "5m" or "15m" chart. This allows you to see if your intraday trade is aligned with the "Big Money" trend of the week.
• The 4/7 Rule: Watch for that Aggregate row to hit 4 out of 7. In the Mag 7, since these stocks carry so much weight in the SPY and QQQ, a shift to a majority (4+) often precedes a move in the overall market indices.
KAMA Oscillator | IkkeOmarThis script transforms the Kaufman Adaptive Moving Average (KAMA) into an oscillator format, designed to visualize trend direction with reduced noise sensitivity. It operates in two modes: a Raw mode that tracks price levels directly, and a Normalized mode that bounds the oscillator between -1 and +1 for easier comparison across assets.
The calculations are the same as for the Normalized KAMA Oscillator, but I added a few features that users of the old version wouldn't necessarily want.
How it works
Efficiency Ratio (ER): The script calculates the "efficiency" of price movement by comparing the net direction of price to the total volatility over a set period.
Adaptive Smoothing:
When volatility is high but direction is unclear (choppy), the KAMA slows down to filter noise.
When price trends clearly, the KAMA speeds up to track the move.
Normalization (Optional): If enabled, the script takes the raw KAMA value and scales it relative to its highest and lowest points over the Normalization lookback period. The result oscillates between -1 (extreme low) and +1 (extreme high).
The SMA Signal Logic
The script allows you to overlay an SMA (Simple Moving Average) on the oscillator. This serves as a dynamic baseline for the oscillator's momentum.
Signal Generation: A signal is generated when the KAMA Oscillator crosses its SMA.
Bullish: Oscillator crosses above the SMA.
Bearish: Oscillator crosses below the SMA.
Lag vs. Noise Trade-off:
Advantage (Reduced Lag): Crossing the SMA often triggers a signal earlier than waiting for the oscillator to change color (slope change) or cross the zero line. It identifies when immediate momentum is outperforming the recent average.
Risk (Increased Noise): During consolidation, the oscillator will hover close to the SMA line. This increases the probability of "whipsaws" (false signals) where the line crosses back and forth rapidly without a sustained trend. This signal is aggressive and should be used with trend filters.
TechDash+Deliv :MultiCondition Dashboard for Swing,Position TechDash+Deliv: Multi‑Condition Dashboard for Swing/Position Trading
This dashboard is designed for swing and position trading on Indian stocks (NSE/BSE), combining multi‑timeframe trend, momentum, volume, and sector context into a single visual panel. It helps filter high‑probability setups by requiring alignment across multiple factors, reducing false signals in choppy or low‑volume markets.
► Strategy Logic (Conceptual Flow)
The script evaluates 6 key conditions:
1. Short‑term trend: Price above EMA 21
2. Medium‑term trend: Price above EMA 50
3. Long‑term trend: Price above EMA 200
4. Momentum: RSI in the 45–65 range (avoiding overbought/oversold extremes)
5. Participation: Volume > 1.25× its 5‑bar average
6. Trend strength: Supertrend in bullish mode
A BUY signal is generated only when **4 or more of these conditions are satisfied** (this threshold is configurable). This multi‑condition approach ensures that entries are taken only when trend, momentum, and volume align, rather than on a single indicator.
► Dashboard Features
The on‑chart panel shows:
- Technical Signals:
EMA 21 / 50 / 200 status, RSI 45–65, Volume > 1.25× avg, Supertrend direction.
- Delivery Volume Proxy:
- Delivery Qty (K) and Avg Delivery Qty (K)
- Delivery Qty × Avg (a proxy for delivery strength)
- Highlighted in light green when Delivery Qty > 2× Avg — indicating unusually strong delivery interest, often seen during accumulation.
- Sector & Market Context:
- Sector, Industry
- Sector Index % change (e.g., NIFTY, BANKNIFTY, etc.) to gauge relative strength.
► How to Use
- Best timeframes: Daily or higher (weekly) for swing/position trading.
- Best assets: Liquid NSE/BSE stocks with consistent delivery activity.
- Entry: Use the BUY arrow as a trigger, but always confirm with:
- Price action (support / breakout / candlestick pattern)
- Sector strength (prefer stocks in outperforming sectors)
- Proper risk management (stop‑loss below recent swing low, position sizing as per your risk profile).
- Exit: Combine with trailing stop, target levels, or trend reversal signals.
► Why This Combination?
This is not just a simple mashup of indicators; it is specifically tuned for Indian delivery/swing trading:
- Multi‑timeframe EMA filter (21/50/200) ensures alignment across short, medium, and long term.
- RSI 45–65 avoids chasing overbought stocks or catching falling knives.
- Volume + delivery proxy helps focus on stocks with strong participation and genuine delivery interest.
- Supertrend adds trend‑strength confirmation.
- Sector context prevents buying weak stocks in weak sectors.
The dashboard format allows quick visual scanning of all conditions, making it easier to spot high‑probability setups without cluttering the chart.
► Important Notes
- Delivery Qty is a proxy based on volume (since TradingView does not provide real delivery data).
- You can later replace this proxy with real delivery data (e.g., from screener or broker) if available.
- This is a decision‑support dashboard, not a fully automated trading bot. Always use price action, sector strength, and proper risk management.
5x Multi-Timeframe Moving AveragesSince I use EMA lines a lot and I typically want them based on one timeframe - say: D1 - while looking into higher or lower timeframes, I made this simple indicator:
- Up to 5 moving averages (SMA, EMA, ...)
- on chart timeframe or any defined timeframe (W, D, H4, H1, 30min, ...)
- each with user defined length / number of periods of calculation
- each in user defined line style, width and color.
Straight forward but very handy. Enjoy.
Juergen
Triple EMA + Key Levels [Scalping-Algo]TITLE: Triple EMA Day Trading System with Multi-Timeframe Support/Resistance Levels
DESCRIPTION:
📊 Overview
This indicator combines trend-following EMAs with key historical price levels to create a complete day trading toolkit. It helps traders identify trend direction while highlighting important support and resistance zones from multiple timeframes.
🎯 Purpose & Trading Application
Day traders often need to quickly assess:
1. Current trend direction (using EMAs)
2. Key price levels where reversals or breakouts may occur
This indicator solves both needs in one tool, reducing chart clutter from multiple indicators.
📈 How It Works
TREND IDENTIFICATION (EMAs):
- EMA 13 (Yellow): Fast EMA for short-term momentum and entry timing
- EMA 48 (Purple): Medium EMA for intraday trend direction
- EMA 200 (Red): Slow EMA for overall trend bias
Trading Logic:
- When price is above all 3 EMAs = Strong bullish bias
- When price is below all 3 EMAs = Strong bearish bias
- EMA crossovers signal potential trend changes
- The 13/48 crossover is particularly useful for intraday entries
SUPPORT & RESISTANCE LEVELS:
- Previous Day High/Low (Green, Solid): Most recent daily range - high probability reaction zones
- 2-Day High/Low (Blue, Dashed): Extended lookback for stronger levels
- Previous Week High/Low (Orange, Dotted): Major institutional levels
Why These Levels Matter:
Previous day and weekly highs/lows are watched by many traders and algorithms. Price often:
- Reverses at these levels (support/resistance)
- Accelerates through them (breakout trades)
🔧 How To Use
FOR TREND TRADING:
1. Identify bias using EMA stack (all 3 aligned = strong trend)
2. Look for pullbacks to EMA 13 or 48 for entries
3. Use key levels as profit targets
FOR REVERSAL TRADING:
1. Watch for price approaching previous day/week levels
2. Look for rejection candles at these levels
3. Use EMA 13 break as confirmation
FOR BREAKOUT TRADING:
1. Identify consolidation near key levels
2. Enter on break of level with volume
3. Use opposite level as target
⚙️ Settings
All parameters are fixed for simplicity:
- EMAs: 13, 48, 200 periods
- Levels: Previous Day, 2-Day, Previous Week
- All lines thickness: 2
📝 Notes
- Best used on intraday timeframes (1min to 1hour)
- Levels update automatically each day/week
- Labels on right side identify each level (PDH, PDL, 2DH, 2DL, PWH, PWL)
---
TAGS: ema, daytrading, support, resistance, levels, intraday, trend, scalping, swingtrading
LR Candles V2.1IMPORTANT: Use this strategy only with Heikin Ashi candles; otherwise, the results will be negative.
The use of this strategy is solely and exclusively under the responsibility of the operator.
To perform testing correctly and as close to market reality as possible, we suggest setting the strategy preferences as follows:
Slippage = 3
Using bar magnifico = Enabled
Commission = Completed
Detail: It is important to include at least 1,000 trades in the test. This provides a certain robustness in the historical analysis of a strategy. Values lower than this may alter the expected results when trading in real life.
Tip:
Play around with different time frames and calibrations on the strategic indicator. Examples include unchecking Ling-Reg, unchecking EMA, or using both in combination. Look for the best probability and results for a specific asset.
The strategy usually performs well on time frames longer than 1 hour; this is what has been observed.
BUY SELL Trend Confirm✅ Description
BUY SELL Trend Confirm is a smart trend-following tool designed to identify strong market momentum and confirm trend direction before signaling entries.
✅ Features & Benefits
✔ Clear Buy & Sell Signals
Get precise entry and exit points with visual arrows and real-time alerts, so you never miss an opportunity.
✔ Trend Confirmation
Avoid false signals by trading only when the trend is strong—highlighted with dynamic background colors for easy recognition.
✔ Visual Zone Coloring
See bullish and bearish zones instantly with color-coded areas, helping you gauge market strength at a glance.
✔ Integrated Alerts
Set up pop-up and sound notifications in TradingView for hands-free monitoring and faster decision-making.
✔ Multi-Timeframe Versatility
Perfect for swing trading, intraday setups, and scalping strategies across 15m, 30m, 1H, and 4H charts.
✔ Simple & Clean Design
No clutter—just actionable signals and trend clarity for confident trading.
✅ How to Use:
Enter when a Buy or Sell signal appears with trend confirmation.
Exit when the opposite signal appears or trend weakens.
Combine with your risk management for optimal results.
“BUY SELL Trend Confirm – A visual trend confirmation tool for confident trading decisions.”
Elite MTF EMA Reclaim StrategyThis script is a 6-minute execution MTF EMA “retest → reclaim” strategy. It looks for trend-aligned pullbacks into fast EMAs, then enters when price reclaims and (optionally) retests the reclaim level—while filtering out chop (low trend strength/volatility or recent EMA20/50 crosses) and enforcing higher-timeframe alignment (Daily + 1H, or whichever you select).
How to use
Run it on a 6-minute chart (that’s what the presets are tuned for).
Pick your Market (Forex / XAUUSD / Crypto / Indices) and a Preset:
Elite = strictest, cleanest (fewer signals)
Balanced = middle ground
Aggressive = most signals, loosest filters
Set HTF Alignment Mode:
D + H1 (recommended) for highest quality
Off if you want more trades / LTF-only testing
Leave Kill Chop = ON (recommended). If you’re not getting trades, this is usually the blocker.
Choose entry behavior:
If Require Retest = true, entries happen on the retest after reclaim (cleaner, later).
If Require Retest = false, entries trigger on reclaim using Reclaim Timing Default:
“Preset” uses the strategy’s recommended default per market/preset
or force Reclaim close / Next bar confirmation
For backtesting, keep Mode = Strategy (Backtest). For alerts/visual-only, set Mode = Indicator (Signals Only).
Use Show Signals (All Modes) to toggle triangles on/off without affecting trades.
Tip: If TradingView says “not enough data,” switch symbol history to “All,” reduce HTF alignment (try H1 only), or backtest a more recent date range.
LQR Ai (All-in-One Tools)**Are you ready for takeoff? 🚀**
The **LQR To The Moon** indicator is the ultimate trading assistant designed by the **Laqira Protocol** team. We built this tool to replace the clutter of having 5 different indicators on your screen. It combines Trend Following, Momentum, and Volume Analysis into one clean, professional interface.
**🔥 Key Features:**
💎 **Smart Sniper Signals (MTF):**
The indicator uses a hidden engine that analyzes higher timeframes (Multi-Timeframe) to find the perfect entry points. It filters out market noise and provides clean **BUY** and **SELL** signals.
☁️ **Ichimoku Cloud Filter:**
Trend is your friend! The system automatically filters signals based on the Ichimoku Cloud.
* **Bullish:** BUY signals only appear when the price is **Above the Cloud**.
* **Bearish:** SELL signals only appear when the price is **Below the Cloud**.
*(You can toggle the Cloud and Tenkan/Kijun lines in the settings).*
⛽ **Whale Pump Detector:**
Don't miss the move! Candles turn **Neon Purple** whenever there is a massive volume spike (2x average), helping you spot institutional money entering the market.
📊 **Live Dashboard:**
A sleek HUD at the bottom of your screen shows real-time data:
* Market Trend (Based on Cloud)
* MACD Status (Bullish/Bearish)
* Signal Source Timeframe
🛠 **Fully Customizable Tools:**
Need more tools? You can enable them in the settings:
* **Visual EMAs:** Enable up to 2 custom Moving Averages (e.g., 50 & 200). Default is OFF to keep your chart clean.
* **Bollinger Bands:** Toggle BB on/off to analyze volatility.
---
**🚀 How to use:**
1. Add the indicator to your chart (Works best on Crypto & Forex).
2. Wait for a **BUY** signal diamond below the candle.
3. Confirm that the candle is **Neon Purple** (Volume confirmation) or the Dashboard shows "Bullish".
4. Enjoy the ride!
**Why use this?**
Because trading should be simple, fast, and profitable.
**Powered by Laqira Pay.**
#Crypto #Bitcoin #Strategy #Ichimoku #LQR
BUY/SELL Smoothed Heikin Ashi Pro: RSI & MTF SignalsA trend-following tool that uses smoothed Heikin Ashi candles with optional RSI filtering and multi-timeframe confirmation. It highlights bullish and bearish reversals with dynamic color-coded BUY/SELL labels and includes an info panel for quick market context.
MA Distance MonitorMA Distance Monitor - Custom
Overview
The MA Distance Monitor is a professional-grade dashboard designed for traders who need to track the relationship between price and multiple Moving Averages simultaneously.
Unlike standard indicators that simply plot lines, this tool quantifies exactly how far the price is from your key levels (in Percentage or Price terms). This is crucial for identifying Mean Reversion opportunities (when price is overextended) and confirming Trend Strength.
Key Features
1. 5 Fully Configurable Moving Averages
Monitor 5 distinct MAs at once.
Default Setup: 5, 10, 20, 50, and 200 SMA (Simple Moving Average) — widely used institutional levels.
Customization: Switch any individual MA between SMA and EMA (Exponential Moving Average) and change lengths to fit your strategy.
2. Smart Dashboard (Clean Mode by Default)
The on-screen table gives you real-time data without cluttering your chart.
Clean Mode: By default, it shows only the Distance %, giving you a minimalist view of market extension.
Expandable: In the settings, you can enable additional columns to see the MA Name, MA Price, and Warning Thresholds.
Borders: Toggle table grid lines on or off for a seamless look.
3. "Overextended" Warning System
Set a specific "Warn %" threshold for each MA (e.g., 5%).
If the price deviates beyond this threshold, the indicator highlights the data in Orange (or your custom color).
Use Case: This helps identify when price has moved too far, too fast, signaling a potential pullback or reversal.
4. Chart Scale Labels
Floating labels appear on the right-side price scale, marking the exact price level of your MAs.
These labels dynamically show the current distance %, keeping your eyes on the price action.
5. Advanced Theming
Dark Mode: High-contrast colors optimized for dark charts.
Light Mode: Optimized for bright backgrounds.
Custom: Fully control every color (Bullish, Bearish, Warning, Text, Headers, Borders) to match your chart aesthetic perfectly.
How to Use
Interpreting the Data
Green: Price is Above the Moving Average (Bullish Trend).
Red: Price is Below the Moving Average (Bearish Trend).
Orange (Warning): Price is Overextended (Distance > Threshold). Watch for mean reversion.
Settings Guide
MA Configuration: Set your Lengths and Types (SMA/EMA).
Display & Styling: * Toggle Show Dashboard Table to hide/view the table.
Toggle Show Table Header or Show Table Borders for layout preference.
Enable Show MA Name or Show MA Price for more detailed data.
Colors: Select "Custom" in the Theme dropdown to apply your own color palette.
Alerts
This script includes built-in alertcondition events for automation:
Crossover: Triggered when Price crosses OVER a specific MA.
Crossunder: Triggered when Price crosses UNDER a specific MA.
To set an alert:
Click the "Alert" button in TradingView.
Select "MA Dist Custom" as the condition.
Choose the specific crossing event (e.g., "Cross Over MA 5").
Created by Psycholfye
UT Bot Strategy - EMA200 + RSI Filter (v6)UT Bot Indicator – EMA200 + RSI Filter + ATR Trailing Stop (v6)
A precision trend–momentum trading framework for FX, Gold & Indices
Overview
The UT Bot Indicator (v6) combines the proven ATR-based trailing stop engine of the UT methodology with multi-layer trend confirmation and momentum filtering.
This version introduces:
Higher-timeframe trend alignment using EMA 200
Momentum qualification using RSI
Optional Heikin Ashi smoothing
Automatic virtual SL/TP projection for each trade signal
The goal is to reduce false signals during ranging phases while preserving trend capture efficiency in volatile markets such as XAUUSD, GBPUSD, NASDAQ, DXY, BTC.
Core Logic
The indicator tracks dynamic price structure using ATR-based stop recalculation, switching bias only when the candle decisively crosses the trailing boundary.
Signals are validated only when:
Price direction matches the trailing stop reversal
Price is aligned with long-term trend (EMA200)
RSI confirms market momentum direction
This layered confirmation improves trade quality while maintaining responsiveness.
Signal Conditions
Condition Long (Buy) Short (Sell)
Price & ATR Structure Price crosses above trailing stop Price crosses below trailing stop
Trend Direction Close > EMA200 Close < EMA200
Momentum Filter RSI > Buy Threshold RSI < Sell Threshold
Once triggered, the indicator displays virtual SL & TP levels based on the configured percentage targets, allowing traders to visually manage trade lifecycle without repainting.
Best Use Cases
Trend continuation entries after pullbacks
Swing & intraday trading on liquid instruments
High-volatility assets (e.g. Gold / US100 / Crypto)
Filtering low-probability signals in ranging markets
Recommended Settings
Market Key Value ATR Period Notes
Forex 1.0 – 1.5 10–14 Balanced responsiveness
Gold & Indices 1.0 – 2.0 10–20 Reduces noise in volatility spikes
Crypto 1.5 – 3.0 14–21 Smooths erratic candle structure
Alerts Included
UT Long / UT Short
Long / Short Take-Profit Hit
Long / Short Stop-Loss Hit
Enables FTMO-style rule automation, trade management bots, and custom alert workflows.
Disclaimer
This indicator does not repaint, but like any analytical tool it should be used within a structured risk-management framework.
Backtest thoroughly before deploying in live markets.
ThaiRiches Predictor [Free Version]ThaiRiches Predictor is a comprehensive trend-following system designed to help traders identify high-probability entries while managing risk effectively. This script combines Zero-Lag technology (ZLEMA) with volatility filters and an intelligent AI Dashboard to analyze market conditions in real-time.
Key Features:
Zero-Lag Trend Engine: Uses a custom Zero-Lag EMA (ZLEMA) logic combined with volatility bands to detect trend changes earlier than traditional Moving Averages.
AI Analysis Dashboard: A real-time monitor panel that evaluates Trend, Momentum (RSI), and Volatility to provide actionable advice (e.g., "Strong Uptrend", "Overbought - Wait for Pullback", or "Low Volatility - Caution").
Auto TP & SL System: Automatically calculates and displays Stop Loss (SL), Take Profit 1 (TP1), and Take Profit 2 (TP2) based on ATR, adapting to the current market volatility.
Improved Safety: SL is calculated from the High/Low of the signal candle to prevent premature stop-outs.
Visual Alerts: Clear BUY/SELL labels with price targets and color-coded candlesticks for easy visual confirmation.
How to Use:
BUY Signal: Look for the Green Label and Green Trend Line. Confirm with the Dashboard (Status: BULLISH).
SELL Signal: Look for the Red Label and Red Trend Line. Confirm with the Dashboard (Status: BEARISH).
Risk Management: Use the provided SL levels. It is recommended to take partial profit at TP1 and trail your stop to entry.
Caution: Avoid trading when the Dashboard shows "Low Volatility" or "Choppy" warnings.
Settings:
You can adjust the Trend Sensitivity and RSI Period.
TP/SL Multipliers are fully customizable to fit different assets (Gold, Forex, Crypto).
Elite MTF EMA Reclaim Signals Only ( With Market Presets)This indicator is a multi-timeframe trend-continuation entry tool.
It’s designed to help you enter pullback trades in strong trends while blocking choppy or low-quality conditions.
It works by:
Requiring Daily + 1H trend alignment
Enforcing EMA structure (5/10/20/50) on the 6-minute chart
Confirming momentum (EMA slope + curvature)
Blocking trades during chop (low ATR, weak ADX, tight EMAs, recent EMA crosses)
Triggering entries only after a Pullback → Reclaim → (optional) Retest
How to use it (6-minute execution)
Set chart to 6-minute
Select Market (Forex, XAUUSD, Crypto, or Indices)
Select Preset
Elite → fewest, cleanest trades
Balanced → best everyday default
Aggressive → more signals, more risk
Trade only when you see a LONG or SHORT triangle
Avoid trades when CHOP or HTF block markers appear
Place stops beyond EMA50 or recent structure, target 2R–4R+
Optional:
Turn on Looser LTF Mode or Allow reclaim without pullback for more signals
Use Next bar confirmation for cleaner entries, Reclaim close for faster entries
Bottom line:
The indicator doesn’t hunt trades—it filters the market so you only trade when trend, momentum, and structure are aligned.
Session Levels (3of3)This system is designed to strip away market noise and highlight the areas where institutional capital is actually active.
Most retail traders fail because they treat every price movement with equal importance. They often enter trades in the "middle of nowhere" or get trapped by "fakeouts" at standard support/resistance levels.
This tool solves:
Context Blindness: It defines the "playing field" by marking institutional session boundaries (Asia, London, NY), so you know exactly where liquidity resides.
Computation Lag: Standard Volume Profiles often slow down a chart. Our Optimized VPC provides the "Magnet" price without the lag.
Indecision: By requiring a Market Structure Shift (MSS) alongside a Fair Value Gap (FVG), it removes the guesswork of "Is this a reversal or a continuation?"
Why It Is Unique:
Unlike standard indicators that look at a single data point (like just price or just volume), this is a Holistic System.
Auto-Mitigation: Most FVG indicators clutter your screen with old boxes. This tool automatically deletes zones once price "fills" them, keeping your focus on live opportunities.
Institutional "Sweep" Logic: It specifically tracks if price has "stolen" the liquidity from a previous session before issuing a signal.
The "Vegas" Filter: It uses the 144 EMA (Vegas Floor) as a high-probability institutional trend filter, ensuring you aren't fighting the primary trend.
When testing this, track one specific stat: "Did price hit the VPC after the MSS?" You will likely find that even when the trade doesn't reach the far PRZ targets, it reaches the VPC Magnet over 70% of the time. Focusing on that "snap-back" to the orange line is the secret to a high win rate with this tool.
ThaiRiches Predictor [AI Premium]ThaiRiches Predictor is a comprehensive trend-following system designed to help traders identify high-probability entries while managing risk effectively. This script combines Zero-Lag technology (ZLEMA) with volatility filters and an intelligent AI Dashboard to analyze market conditions in real-time.
Key Features:
Zero-Lag Trend Engine: Uses a custom Zero-Lag EMA (ZLEMA) logic combined with volatility bands to detect trend changes earlier than traditional Moving Averages.
AI Analysis Dashboard: A real-time monitor panel that evaluates Trend, Momentum (RSI), and Volatility to provide actionable advice (e.g., "Strong Uptrend", "Overbought - Wait for Pullback", or "Low Volatility - Caution").
Auto TP & SL System: Automatically calculates and displays Stop Loss (SL), Take Profit 1 (TP1), and Take Profit 2 (TP2) based on ATR, adapting to the current market volatility.
Improved Safety: SL is calculated from the High/Low of the signal candle to prevent premature stop-outs.
Visual Alerts: Clear BUY/SELL labels with price targets and color-coded candlesticks for easy visual confirmation.
How to Use:
BUY Signal: Look for the Green Label and Green Trend Line. Confirm with the Dashboard (Status: BULLISH).
S ELL Signal: Look for the Red Label and Red Trend Line. Confirm with the Dashboard (Status: BEARISH).
Risk Management: Use the provided SL levels. It is recommended to take partial profit at TP1 and trail your stop to entry.
Caution: Avoid trading when the Dashboard shows "Low Volatility" or "Choppy" warnings.
Settings:
You can adjust the Trend Sensitivity and RSI Period.
TP/SL Multipliers are fully customizable to fit different assets (Gold, Forex, Crypto).
EMA 9, 21, 200//@version=6
indicator("EMA 9, 21, 200", overlay=true)
// EMA inputs
emaFastLength = 9
emaMidLength = 21
emaSlowLength = 200
// Calculate EMAs
emaFast = ta.ema(close, emaFastLength)
emaMid = ta.ema(close, emaMidLength)
emaSlow = ta.ema(close, emaSlowLength)
// Plot EMAs
plot(emaFast, color=color.yellow, title="EMA 9", linewidth=2)
plot(emaMid, color=color.orange, title="EMA 21", linewidth=2)
plot(emaSlow, color=color.red, title="EMA 200", linewidth=2)






















