META Scalp 5m (RSI+ADX/DMI+TSI+Vol+Squeeze+SMC-lite) [v1.1] — Strategy by salvadorvelasco2009

By salvadorvelasco2009

Performance Metrics

Description

Script DescriptionMETA Scalp 5m (RSI+ADX/DMI+TSI+Vol+Squeeze+SMC-lite) [v1.1] is a futures scalping strategy designed primarily for the 5-minute timeframe. Its goal is to filter higher-probability entries through a multi-indicator confluence engine that calculates a Score (from -100 to +100) and converts it into an estimated short-term probability of bullish or bearish continuation.This script is not a magic predictor. It is a consensus-based decision engine: when multiple conditions align (direction + strength + volatility + context), it triggers entries with automatic risk management (SL/TP) based on ATR.What it shows on the chartPlots Fast EMA and Slow EMA for trend direction.Entry markers:Triangle “L” = Long signalTriangle “S” = Short signalSMC-lite events:SW↑ = High sweep (possible stop hunt above)SW↓ = Low sweep (possible stop hunt below)Information panel showing:Current ScoreP(Long) / P(Short) in %ADXVolume confirmation (VolOk)Squeeze status (ON/OFF)Indicators and Modules Included1) Trend Filter (EMA)Fast EMA (default 21) and Slow EMA (default 55).Bullish bias when:Fast EMA > Slow EMA and rising.Bearish bias when:Fast EMA 50 → bullish biasRSI -DI → bullish; -DI > +DI → bearish.When ADX is low, the script treats the market as choppy and avoids trades.4) TSI (True Strength Index)Momentum confirmation:TSI above signal → bullishTSI below signal → bearish5) Volume FilterCompares current volume vs Volume SMA (default 20).VolOk when:Volume > SMA(volume) × multiplier (default 1.10)Filters low-participation signals.6) Squeeze (BB vs KC approximation) + MomentumDetects volatility compression:Bollinger Bands inside Keltner Channels = Squeeze ONExpansion signal when:Squeeze OFF and momentum aligns:Momentum rising → bullish biasMomentum falling → bearish biasGoal: capture post-compression expansions.7) SMC-lite (Basic Smart Money Concepts)This module implements simplified SMC logic:A) Equal Highs / Equal Lows + SweepDetects equal highs/lows using pivots and ATR tolerance.Sweep logic:Wick above EQH and close back below → SW↑ (bearish/contrarian)Wick below EQL and close back above → SW↓ (bullish/contrarian)B) BOS-lite (Break of Structure)Continuation signal when price closes beyond the last swing high/low.Higher Timeframe Confirmation (15m)Optional but recommended.Calculates EMAs on a higher timeframe (default 15m).If Score goes against HTF trend → score is penalized.This avoids many bad 5m trades.Score Engine & ProbabilityCore engine produces a Score between -100 and +100.Positive score → Long biasNegative score → Short biasConverted into estimated probabilities:P(Long) increases with ScoreP(Short) = 100% − P(Long)Important: probability is a mathematical transformation of the score, not a guaranteed statistical prediction.Entry RulesLong EntryTriggered when:Score ≥ Entry threshold (default 60)Market not in chop (ADX filter)Short EntryTriggered when:Score ≤ −Entry thresholdMarket not in chopTrade Management (SL/TP)Risk management uses ATR-based dynamic levels:Stop Loss = ATR × SL multiplier (default 1.2)Take Profit = ATR × TP multiplier (default 1.5)Optional:ATR trailing stopEarly Exit (Score deterioration)Positions can close early when confluence weakens:Long closes if score falls below exit threshold.Short closes if score rises above negative exit threshold.Recommended Trading ApproachBest used as a quality filter, not blind signals.Recommended Settings (5m scalping)Timeframe: 5mHTF confirmation: 15m ONADX minimum: 18–22Entry score: 60–75SL: 1.0–1.3 ATRTP: 1.2–1.8 ATRTrailing stop: useful in trending markets.WorkflowWait for Score to exceed threshold.Avoid trades when ADX is low.Prefer trades aligned with HTF trend.Let SL/TP manage the trade.AlertsBuilt-in alerts:META LONGMETA SHORTSMC Sweep HighSMC Sweep LowLimitationsPine Script cannot access private indicators (LuxAlgo, SmartBuzz, etc.).TradingView VPVR/VRVP cannot be accessed directly via Pine.Designed for backtesting and screening. Adjust settings per asset and exchange.Best PracticesTest separately on BTC, ETH, and altcoins.Include realistic fees and slippage.Avoid high-impact news periods.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView