SMC MA Structure Timed Pullback Double TouchSMC MA Structure – Timed Pullback + Double Touch
Welcome to another release from the Samurai Vector Trading series.
This indicator visualizes market structure using moving averages, focusing on timed pullbacks and double touches after a higher-timeframe bias change.
It serves as an auxiliary tool for structure confirmation (Layer 1 in the Samurai framework), helping traders identify potential areas of mean reversion and compression without generating entry signals.
Key Features:
- Higher-timeframe bias detection via 20 SMA and 75 SMA crossover/crossunder
- Timed pullback detection: 5 SMA / 20 SMA round-trip within a limited number of bars
- Double touch detection: Candle (including wicks) simultaneously touches both 5 SMA and 20 SMA
- Visual cues: White circles on SMA20 for round-trip confirmation, white candle coloring for double touch
Inputs:
- SMA 5 (default: 5): Fast SMA for short-term touch
- SMA 20 (default: 20): Mid SMA for pullback reference
- SMA 75 (default: 75): Slow SMA for higher-timeframe bias
- Max bars for 5/20 round-trip (default: 9): Time limit for pullback completion
How to Use:
1. Add to charts (best on 1H, 4H, Daily).
2. Watch for 20/75 SMA crossover (bullish) or crossunder (bearish) to set directional bias.
3. Look for white circles on SMA20: Indicates a timed pullback (5 SMA crosses 20 SMA and returns within limit).
4. White candle coloring: Highlights simultaneous 5/20 SMA touches (potential compression zones).
5. Use these cues to spot structural pauses or mean reversion areas — combine with volume tools for confirmation.
Philosophy:
This is Layer 1 of the Samurai framework: structure first, execution second.
Prioritize "cause" (structural bias and compression) over impulsive price action.
Future tools will build on this foundation.
This indicator is Protected (source code not public) to deliver my real-trading tool as-is.
Detailed usage and background are explored in my note reports.
Note: For educational/reference purposes only. Not investment advice. Possible bugs or malfunctions. Use at your own risk.
Feedback welcome — let's refine the blade together!
© katanai_makenai_fx | Related idea: Samurai Vector Trading (global community)
SMC MA Structure – Timed Pullback + Double Touch
侍Vector Tradingシリーズの新作インジケーターです。
移動平均線を使った市場構造を視覚化し、高時間軸バイアス変化後の「timed pullback」と「double touch」を検出します。
侍フレームワークのLayer 1(構造確認)として機能し、方向バイアスを低減しつつ、意味のある価格反応エリアを明確化します。
主な機能:
- 20SMAと75SMAのクロスで高時間軸バイアスを設定
- 5SMA/20SMAのラウンドトリップを時間制限内で検出(白丸表示)
- キャンドル(ウィック含む)が5SMAと20SMAに同時タッチ(白バー色変更)
入力パラメータ:
- SMA 5(デフォルト: 5): 短期タッチ用
- SMA 20(デフォルト: 20): プルバック基準
- SMA 75(デフォルト: 75): 高時間軸バイアス
- 5/20ラウンドトリップ最大バー数(デフォルト: 9): 時間制限
使い方:
1. 時間軸(1H/4H/Daily)に追加
2. 20/75SMAクロスでバイアス確認
3. SMA20上の白丸: 時間制限内のプルバック完了
4. 白バー: 5/20SMA同時タッチ(圧縮ゾーン)
5. 構造休止エリアとして活用 — 出来高ツールと組み合わせで確認
哲学:
侍フレームワークのLayer 1: 構造を優先し、実行を後回し。
「原因」(構造バイアスと圧縮)を価格行動より重視。将来的なツールの基盤となります。
このインジケーターはProtected(コード非公開)です。実戦ツールをそのままお届けするためです。
詳細な活用法や背景はnoteレポートで深掘り予定です。
注意:教育・参考目的です。投資助言ではなく、誤動作の可能性があります。使用は自己責任でお願いします。
フィードバックお待ちしています — 一緒に刃を研ぎましょう!
© katanai_makenai_fx | 関連アイデア: Samurai Vector Trading
単純移動平均 (SMA)
10x Multi-Timeframe SMA Suite📊 Professional Multi-Timeframe Simple Moving Average Indicator
Track up to 10 independent Simple Moving Averages from different timeframes on a single chart with full customization control.
✨ KEY FEATURES:
- 10 independent SMA lines
- Individual timeframe selection for each SMA (Daily, Weekly, Monthly, 4H, 1H, etc.)
- Flexible source options (Close, Open, High, Low, HL2, HLC3, OHLC4)
- Fully customizable colors
- Adjustable line thickness (1-5)
- Toggle on/off for each SMA
- Clean and intuitive interface
- Optimized for performance
🎯 DEFAULT SETTINGS:
First 4 SMAs are enabled by default:
- SMA 1: 200-period Daily (Red)
- SMA 2: 50-period Weekly (Blue)
- SMA 3: 100-period Weekly (Green)
- SMA 4: 200-period Weekly (Orange)
Additional 6 SMAs are ready to activate and customize as needed!
💡 PERFECT FOR:
- Multi-timeframe trend analysis
- Support and resistance level identification
- Long-term and short-term momentum tracking
- Professional traders who need multiple MAs simultaneously
⚡ Simple to use, powerful in functionality - All your moving averages in one indicator!
Daily SMA (Historical Plotting with RTH/ETH, (5))Daily SMA (RTH/ETH Dynamic Session Handling) — Midnight + RTH Open Locks
This indicator plots projected daily Simple Moving Averages (SMAs) on intraday charts by anchoring calculations to a Regular Trading Hours (RTH) daily SMA reference, while visualizing how the daily SMA evolves intraday during Extended Trading Hours (ETH) and RTH sessions.
When daily SMAs are evaluated strictly at the daily timeframe, they do not form a continuous intraday history and may appear flat on historical intraday bars until realtime bars begin updating. This script visualizes the daily SMA’s intraday progression while keeping the underlying daily SMA reference unchanged.
Purpose
Standard daily SMAs plotted on intraday charts are evaluated at the daily timeframe and therefore do not form a continuous intraday history. When charts are refreshed or reloaded, these values may appear flat until realtime data resumes.
This script addresses that visualization limitation by projecting the daily SMA across historical and realtime intraday bars, while keeping the daily SMA reference intact.
How it works
• Daily SMA seed values are sourced exclusively from an RTH-only daily timeframe series.
• At ETH midnight, the SMA seed is locked using completed daily closes from the RTH daily series.
• At the RTH open, the seed is re-locked using the completed RTH daily window.
• After each seed event, the SMA is projected intraday using the active chart bar’s price.
Price semantics
• Historical bars use fully closed candle data only.
• The realtime bar uses the last traded price until the candle closes.
• Once a bar closes, its value is final and does not repaint.
Higher-timeframe data usage
• request.security() is used intentionally to access daily SMA data.
• lookahead=barmerge.lookahead_on is used only to reference the developing daily timeframe value during the active session for projection purposes.
• No future bars are accessed and no historical values are retroactively altered.
Data integrity
• SMA seed values are derived solely from the daily timeframe and do not depend on intraday bar history.
• SMA values are computed forward from the locked seed and do not revise prior bars.
• If insufficient daily history exists for a symbol, values safely return na.
Scope and limitations
• Intended for chart timeframes up to and including daily.
• Designed for instruments with defined RTH sessions (such as equities and equity-based products).
• This script does not replace or modify the underlying daily SMA reference; it visualizes an intraday projection anchored to the RTH daily SMA.
Other notes
• Pine Script version: v6
• No future data access
• No historical repainting; only the active realtime bar updates until close
6 Moving Averages (SMA, WMA, EMA etc.)6 Moving Averages is a simple and flexible overlay indicator that lets you plot up to six moving averages on the price chart. Each moving average can be customized by type (SMA, EMA, WMA, etc.), length, color, and visibility, making it ideal for trend analysis, dynamic support and resistance, and moving-average confluence across any market or timeframe.
EMA 8 48 System v1Short Description:
A trend-following indicator using EMA crossovers, ATR-based volatility filter, and a cooldown period to reduce false signals. Designed for clear buy/sell signals in trending markets.
Full Description:
What is this indicator?
This script implements a dual EMA crossover system (8-period and 48-period EMAs) with a trend filter (EMA200), ATR-based volatility filter, and a cooldown period to avoid overtrading.
It visually plots EMAs, buy/sell signals, and ATR-based stop loss/target levels.
Why is it useful?
Helps traders identify high-probability trend entries and avoid choppy, low-volatility conditions.
Reduces false signals by requiring trend confirmation, sufficient volatility, and spacing out trades.
Suitable for intraday and swing trading on most liquid assets.
When to use:
Best used in markets showing clear trends (not sideways).
Works on most timeframes, but higher timeframes (15m, 1h, 4h, daily) tend to give more reliable signals.
How to spot buy and sell:
Buy: Green “BUY” label appears when EMA8 crosses above EMA48, price is above EMA200, and ATR is above the minimum threshold.
Sell: Red “SELL” label appears when EMA8 crosses below EMA48, price is below EMA200, and ATR is above the minimum threshold.
ATR-based stop loss and target levels are plotted for each signal.
Additional tips:
Adjust the minimum ATR and cooldown settings to match your asset’s volatility and your trading style.
Use in conjunction with price action or higher timeframe analysis for best results.
Avoid trading during low volatility or sideways markets, as signals may be less reliable.
Always backtest and forward-test before using live.
How to add signals and update settings:
Use the script’s input panel to adjust EMA lengths, ATR settings, minimum ATR, and cooldown period.
To add alerts, use TradingView’s “Add Alert” feature and select the buy or sell conditions from the script’s alert options.
For further customization, you can edit the script to add additional filters or notification logic.
This indicator is for educational purposes only. Always use proper risk management and do your own research before trading.
Disclaimer:
This script is for informational and educational purposes only and does not constitute financial advice or a recommendation to buy or sell any financial instrument.
Trading involves risk. Past performance is not indicative of future results. Always do your own research and use proper risk management.
The author is not responsible for any losses incurred from the use of this script. By using this script, you agree to take full responsibility for your trading decisions.
Multi Moving Average (EMA / SMA) - 4 Periods📈 Indicator Overview – Multi Moving Average (EMA / SMA)
This indicator is designed to help traders analyze trend direction and market structure using multiple moving averages in a single, clean tool.
The user can select the type of moving average—either Exponential Moving Average (EMA) or Simple Moving Average (SMA)—from the settings panel. Once selected, the indicator plots up to four different moving average periods simultaneously, such as 20, 50, 100, and 200, using the chosen MA type.
Each moving average:
Has its own configurable period
Can be individually enabled or disabled
Can be assigned a custom color for easy visual identification
This flexibility allows traders to:
Identify short-, medium-, and long-term trends at a glance
Analyze trend alignment and strength
Spot dynamic support and resistance zones
Adapt the indicator easily for scalping, swing trading, or positional trading
Because the calculations are based purely on price data and standard MA formulas, the indicator is non-repainting, lightweight, and reliable, making it suitable for both discretionary and systematic trading.
In short, this is a versatile, all-in-one moving average indicator that eliminates the need to add multiple MA indicators separately, keeping the chart clean and focused.
OTM Custom Ribbon TP LadderOTM • Custom Ribbon (2–6 lines) + TP Ladder
OTM Custom Ribbon + TP Ladder is a clean trend ribbon with an optional trade “ladder” overlay that projects Entry, Stop Loss, and up to 6 Take-Profit levels to the right of price.
It’s built for fast decision-making: the ribbon shows trend + momentum, and the TP Ladder gives you a structured plan without cluttering the chart with extra indicators.
Ribbon (Trend + Bias)
Choose 2–6 lines and your preferred smoothing type:
EMA / SMA / RMA / WMA / VWMA
Jurik-style approximation
Kalman / Adaptive Kalman
Ribbon colouring supports:
Hard 2-color
Smooth gradient
3-color with a neutral zone
Works on current timeframe or higher timeframe using the TF input (with optional “wait for close” mode).
How to read it
Green bias = bullish pressure / trend alignment.
Red bias = bearish pressure / trend alignment.
Neutral/grey zone = chop / low conviction.
Strongest trend = ribbon lines spread apart and aligned.
Compression = ribbon lines tight/stacked (trend may be pausing or about to expand).
TP Ladder (Entry + SL + TP1–TP6)
When enabled, the TP Ladder will draw:
ENTRY line
STOP line
TP1 → TP6 lines
Optional labels, line style, thickness, and colours.
Entry trigger options
Fast line crossing Outer line
Price crossing Outer line
Stoploss modes
ATR
Swing
Ticks
Percent
TP Calculation modes
R Multiples (classic risk-reward targets)
Fib Multiples of risk
ATR Multiples
Locking (Stops the “moving target” problem)
This tool includes locking so your ladder doesn’t chase price:
Lock Risk at Entry = TP levels stay fixed based on entry risk.
Lock ATR at Entry = ATR-based targets stay fixed from the entry ATR.
This is the setting you want if you’re sick of targets shifting mid-trade.
Quick workflow
Use the ribbon colour + structure to decide bias (trend or chop).
Wait for your chosen trigger (cross) to print a new ladder.
Trade the ladder:
Entry is defined
SL is defined
TP levels are pre-mapped
Optional: move SL to BE once TP1 is hit.
Designed for: Gold, BTC, indices, FX — any market, any timeframe.
Style goal: clean ribbon + structured targets, no mess.
SMA Indicator Signals [MK]Overview
The SMA Indicator Signals indicator is designed to identify high-probability trend-following entries using a dual SMA system and RSI filtering. Unlike traditional crossover indicators that rely on ta.crossover (which often fails during volatile market gaps), this script uses state-based logic to capture signals even when the price "jumps" over the moving average.
The "Gap-Over" Problem Solved
In fast-moving markets or at market open, price often gaps significantly. If the price opens above the SMA 20 after being below it, a standard indicator usually misses the signal because no "physical" cross occurred on the chart.
This indicator compares the current state to the previous state. If the price is now above the SMA while previously being below, the signal triggers regardless of the gap.
Key Features
Persistent Signals: Unlike strategies that hide signals while a trade is active, this indicator plots an icon for every valid occurrence, allowing you to scale into positions or identify secondary entries.
Trend-Filtered: Long signals only appear when the 20 SMA is above the 50 SMA (and vice-versa for shorts).
RSI Guardrail: Built-in RSI logic prevents you from chasing "Longs" into overbought territory or "Shorts" into oversold conditions.
Universal Alerts: Includes pre-configured alertcondition calls for Longs, Shorts, or both.
How to Trade it
The Signal: Look for the Green (Long) or Red (Short) triangles.
User Discretion: Since this version removes automated ADX/Expansion filters, the trader should look at the "width" of the gap between the Blue (20) and Orange (50) SMAs. Wider gaps usually indicate stronger momentum.
Alerts: Create an alert and select "Any SSMA Signal" to be notified on your phone or desktop the moment a setup forms.
Settings
Fast SMA (20): Your primary trigger line.
Slow SMA (50): Your primary trend filter.
RSI Thresholds: Customize how "early" or "late" you want to be filtered out of a move based on momentum.
MA Momentum Score by WizkaThis is my explorative study script which I have named as MA Momentum Score. It calculates one score number (-10,+10) to describe the price and MA structure. It gives points on the order and direction of price and three moving averages so that bullish order (Price>MA20>MA50>MA200) gives +1 point to each pair, and bearish order gives -1 point. There are 6 comparisons (price and 3 MAs against each other). Addition to this +1 point is given if the direction of each is upwards, and -1 if downwards. So, altogether score can be from -10p (fully bearish structure) to +10p (fully bullish structure). This is shown as blue line in the indicator. It uses classic SMAs of 20,50,200 and it is called Slow score. Next, the similar score is calculated for faster MAs (5,12,26) and it is called Fast score (orange line). Finally, the differential Fast-Slow is calculated and visualized as histogram. Green, when Fast>Slow (bullish), and Red, when Fast
Day Trading Signals Trend & Momentum Buy/Sell [CocoChoco]Day Trading Signals: Trend & Momentum Buy/Sell
Overview
The indicator is a comprehensive day-trading tool designed to identify high-probability entries by aligning short-term momentum with long-term trend confluence.
It filters out low-volatility "choppy" markets using ADX and ensures you are always trading in the direction of the dominant higher-timeframe trend.
Important: Use on timeframes from 15 min to 2 hours, as the indicator is for day trading only.
How It Works
The script uses a three-layer confirmation system:
Trend Alignment: Uses a Fast/Slow SMA cross (10/50) on the current chart. Signal prints only if price closes above (for bullish) or below (for bearish) the 10-period SMA.
Higher Timeframe Confluence: The script automatically looks at a higher timeframe (1H for charts <=15m, and 4H for others) and checks if the price is above/below a 200-period SMA.
Momentum & Volatility: Signals are only triggered if the Stochastic Oscillator is rising/falling and the ADX is above 20, ensuring there is enough "strength" behind the move.
Visual Signals Buy/Sell
Green Label (Up Arrow): Bullish entry signal
Red Label (Down Arrow): Bearish entry signal.
Red "X": Exit signal based on a moving average crossover (trend exhaustion).
Visual Risk/Reward (1:1) Boxes: When a signal appears, the script automatically draws a projection of your Stop Loss (Red) and Take Profit (Green) based on the current ATR (Average True Range).
How to Use
Entry: Enter when a Label appears. Ensure the candle has closed to confirm the signal.
Stop Loss/Take Profit: Use the visual boxes as a guide. The default is 1.0 ATR for risk and 1.0 RR ratio, which can be adjusted in the settings.
Exit: Exit the trade either at the target boxes or when the Red "X" appears, indicating the trend has shifted.
Please note that this is just a tool, not financial advice. Perform your own analysis before entering a trade.
Stage Analysis & Minervini Trend AnalysisStage Analysis & Minervini
This Pine Script indicator is a comprehensive technical analysis suite designed for traders following Mark Minervini's Trend Template and Stan Weinstein’s Stage Analysis. It automates the heavy lifting of checking moving average alignments, volume characteristics, and 52-week price relative strength.
### Key Features ###
Minervini Trend Template Validation: Automatically checks if price and moving averages (50, 150, 200 SMA) meet the "Trend Template" criteria.
Adaptive Moving Averages: Includes 10, 20, 50, 150, and 200 SMAs. You can "lock" these to the Daily timeframe so they remain consistent even when you switch to lower timeframes.
Smart Volume Analysis:
Highlights bars based on volume intensity and price close (Top vs. Bottom Quartile).
Calculates a Weekly Volume Ratio to identify institutional accumulation or distribution.
Volatility Profiling: Categorizes stocks into four risk buckets (Ultra-Steady to High Volatility) based on ATR-to-SMA ratios.
Automated Stop Loss (SL) & Swing Markers:
Displays a dynamic 2x ATR Stop Loss line.
Identifies Swing Highs (SH) and Swing Lows (SL) with vertical markers.
Calculates suggested stop levels based on major moving averages at the most recent pivot low.
### The Dashboard ###
The top-right (default) table provides a real-time health check of the asset:
Metric: Description
MA Statistics: Current values for 10, 20, 50, 150, and 200 SMAs.
MA Alignment: A green arrow appears if Price > 50 > 150 > 200 SMA.
52W High/Low Ratios: Validates if the price is within 25% of its 52-week high and at least 30% above its 52-week low.
SMA Trends: Status (Up/Down/Flat) for the 50, 150, and 200 SMAs based on a 30-day slope.
ADR & ATR: Shows Average Daily Range and Average True Range over 20 periods.
### Visual Guide ###
Bar Coloring Logic
When Highlight Volume is enabled, bars change color during high-volume events:
Green : Price closed in the top 25% of its daily range (Strong Demand).
Yellow : Price closed in the bottom 25% or lower than the previous close (Distribution).
Black : High volume but price closed in the middle of the range (Indecision).
Swing Markers
The script automatically identifies pivot points:
Yellow "SL" Label: Recent Swing Low with a vertical dotted line and projected SMA support levels.
Blue "SH" Label: Recent Swing High.
### Inputs & Settings ###
Lock SMAs to Daily: Keep this checked to ensure your 200-day SMA doesn't turn into a 200-period SMA when switching to an hourly chart.
ATR Multiplier: Adjust the volatility stop loss (default is 2.0).
Pivot Strength: Change the left/right bar count required to confirm a Swing High or Low.
Table Position: Move the dashboard to any corner of your chart to avoid overlapping with other indicators.
### Usage Tips ###
Stage 2 Selection: Look for the "MA Alignment" arrow to be green. This indicates the stock is in a confirmed uptrend.
Volume Clues: Watch for green-highlighted bars on high volume—this often signals the start of a "Power Play" or institutional entry.
Weekly View: On the Weekly timeframe, the script plots a volume ratio label. A ratio > 2.0 with a green triangle indicates massive accumulation.
Disclaimer: This script is for educational and informational purposes only. Trading involves significant risk. Always perform your own due diligence.
4-Hour Trend Strategy4-Hour Trend Strategy
This Pine Script® (v6) indicator is designed for high-conviction trend following on the 4-hour (240m) timeframe. It utilizes a multi-step confirmation process—Trend, Trigger, and Entry—to filter out market noise and identify high-probability reversal or continuation setups.
📈 Strategy Overview
The strategy follows a disciplined 3-step state machine logic to ensure trades are only taken when momentum and price action align.
1. The Trend Candle (State 1)
The process begins when the 4-hour price crosses the 50-period Simple Moving Average (SMA 50).
Long Bias: Price closes above SMA 50.
Short Bias: Price closes below SMA 50.
Visual: The candle bar color turns White.
2. The Trigger Candle (State 2)
Once a trend is identified, we wait for moving average momentum to confirm.
Long Trigger: SMA 5 crosses over SMA 50.
Short Trigger: SMA 5 crosses under SMA 50.
Visual: The candle bar turns Lime (Long) or Yellow (Short).
3. The Entry Candle (Execution)
We do not "chase" the trigger. Instead, we wait for a minor mean reversion (pullback) to the SMA 5.
Buy Entry: Price retraces down to touch or go below SMA 5 while in a Long Setup.
Sell Entry: Price retraces up to touch or go above SMA 5 while in a Short Setup.
Visual: A Green Triangle (Buy) or Red Triangle (Sell) appears.
🛠 Features
Multi-Timeframe Analysis: Automatically fetches SMA 200 from the Daily timeframe and SMA 50/5/10 from the 4-Hour timeframe, regardless of your current chart view.
Dynamic Stop Loss Levels: Upon entry, the script calculates and draws three distinct risk management levels:
1x ATR: Tight stop for aggressive momentum.
2x ATR: Standard stop for trend volatility.
50 SMA: Structural stop based on the primary trend line.
Clean UI: A "Show Only Latest" toggle ensures your chart isn't cluttered with old labels, keeping your focus on the current live setup.
Visual Backgrounds: The chart background is shaded Green (Bullish territory) or Red (Bearish territory) based on price relation to the SMA 50.
⚙️ Inputs & Configuration
Input | Default | Description
ATR Period | 20 | Period used to calculate volatility for Stop Loss levels.
Show Only Latest | True | When enabled, only the most recent signal's lines and labels are visible.
🚀 How to Use
Installation: Copy the code into the Pine Editor on TradingView and click "Add to Chart."
Identify the Bias: Watch for the background color and the White "Trend" candle.
Wait for Trigger: Look for the Lime/Yellow bars indicating SMA crossover.
Execute on Signal: Enter when the Triangle signal appears. Use the projected Blue Entry Line and Black SL Lines to set your orders.
Note: This is an Indicator , not a Strategy (backtesting) script. It provides visual signals and labels for manual execution or alert integration.
Disclaimer: This script is for educational and informational purposes only. Trading involves significant risk. Always perform your own due diligence.
Step SMAStep SMA – Block-Based Moving Average
Description:
Step SMA is a simple, block-based moving average that shows price trends in discrete steps. Instead of a continuous moving average, it divides the chart into fixed-length blocks and calculates an SMA within each block. At the start of each new block, the average resets, creating a clear “step” effect.
How it Works:
• Block Length: Set the number of bars per block (Block SMA Length).
• Step SMA Calculation: Computes the average of closes within each block. At the end of a block, the calculation resets for the next one.
• Restart Circles: Optional circles mark the first bar of each block for easy visual reference.
• Visual Defaults: The SMA line defaults to bright cyan (width 3) and restart circles default to orange (max size). All colors, line width, and circle size can be customized in the Style tab.
Key Features:
• Stepwise SMA for clear, block-level trend visualization
• Optional restart circles to highlight block starts
• Fully customizable styling via the Style tab
• Simple block length input to adjust sensitivity
Use Cases:
• Easily see short-term trends within discrete blocks
• Identify points where trend averages reset
• Compare block-level trends to standard SMA or EMA
Momentum Trend & Ignition DashboardDescription
Rationale & Originality Traders often struggle with chart clutter, needing separate indicators for Moving Averages, Volume anomalies, and Fundamental stats (like 52-week highs or Float). This script solves this problem by creating a unified "Momentum Dashboard." It is not just a collection of averages; it is a purpose-built tool for Breakout and Trend Following strategies (such as CAN SLIM or VCP).
The uniqueness of this script lies in its "Confluence Logic": it allows a trader to instantly validate a setup by checking three pillars simultaneously without changing tabs:
Trend: Are the key MAs (20, 50, 100, 200) stacked correctly?
Ignition: Is there a "Power Play" (Big Price Move + Heavy Volume) occurring right now?
Stats: Is the stock near its 52-week high, and does it have a supportive Up/Down Volume Ratio?
How It Works (Detailed Calculations)
1. Custom Trend Ribbon (4x MA Mix):
The script plots 4 independent Moving Averages.
Innovation: Unlike standard inputs, each MA can be individually toggled between SMA (Simple) or EMA (Exponential). This allows traders to mix "Fast" trend lines (e.g., 10 or 20 EMA) with "Slow" institutional lines (e.g., 50 or 200 SMA) in one overlay.
2. "Purple Dot" Ignition Detection:
This features a custom detection algorithm for "Ignition Bars."
Logic: It compares the current candle's Close to the previous Close. If the move exceeds a user-defined threshold (default 5%) AND the Volume exceeds a fixed liquidity threshold (default 500k), a Purple Dot is plotted.
This filters out "low volume drift" and highlights true institutional participation.
3. Relative Volume (RVol) Engine:
Calculates the ratio of Current Volume to the 50-period SMA of Volume.
Visuals: If the ratio exceeds the user threshold (e.g., 1.5x average), the dashboard highlights the data, and optionally the chart bars, alerting the trader to unusual activity.
4. Statistical Dashboard (Data Panel):
Using request.security, the panel fetches daily timeframe data regardless of the chart view.
52-Week & 13-Week H/L: Calculates the percentage distance from these key levels to gauge overhead supply.
U/D Ratio: Calculates the sum of volume on "Up Days" vs. "Down Days" over 50 periods. A value > 1.0 suggests institutional accumulation.
Float %: (Stocks Only) Fetches financial data to show the percentage of shares available for trading.
How to Use This Script
This script is designed for Trend Following and Breakout Trading:
The Setup: Use the Data Panel to find stocks with a U/D Ratio > 1.0 and price within 15% of the 52-Week High.
The Trend: Ensure price is above the MA 2 (set to 50 SMA) and MA 4 (set to 200 SMA) to confirm a Stage 2 uptrend.
The Trigger: Watch for the Purple Dot.
If a Purple Dot appears as price breaks out of a consolidation (base), it confirms institutional buying.
Use the RVol panel to confirm that volume is at least 1.5x normal levels.
Risk Management: Use the MA 1 (set to 20 EMA) as a trailing stop-loss during strong trends.
Settings & Configuration
MAs: Fully adjustable Length and Type (SMA/EMA).
Big Move (Purple Dot): Adjust the % Move based on asset volatility (e.g., use 3% for Large Caps, 10% for Crypto).
Table: The data panel is fully dynamic. You can toggle specific rows (like Float or SMA distance) On/Off to save screen space, and position it anywhere on the chart.
Credits & References
The concept of Relative Volume (RVol) and U/D Ratio is derived from standard Volume Analysis used by William O'Neil.
The "Big Move" combined with Volume thresholds is based on standard Volume Spread Analysis (VSA) concepts regarding "Effort vs. Result."
Financial data fetch (Float) utilizes TradingView's built-in financial() library.
Simple ema and sma cross
A simple EMA and SMA cross is an indicator that uses alpha from two moving averages: SMA (simple moving average) and EMA (exponential moving average).
The point where the EMA and SMA cross is usually a good place to enter a position.
The indicator includes smoothing settings to help you find the right calibration for your trading needs.
It also marks signals with triangles for easier use and includes alerts so you never miss a cross.
Dual MTF B-Xtrender EMAsMTF B-Xtrender Color EMAs
Dual moving averages that change color based on multi-timeframe B-Xtrender histogram signals
This indicator applies B-Xtrender histogram logic (inspired by the original B-Xtrender oscillator) to color two independent moving averages based on different timeframe trend conditions. It provides a unique visual way to see trend alignment across multiple timeframes directly on your price chart.
What It Does
The indicator plots two customizable moving averages (EMA, SMA, or HMA) where each line changes color based on whether the B-Xtrender histogram is above or below zero on its respective timeframe:
Fast MA (default 34 EMA): Colors based on daily B-Xtrender signals
Light blue when B-Xtrender histogram > 0 (bullish)
Light purple when B-Xtrender histogram < 0 (bearish)
Slow MA (default 155 EMA): Colors based on 3-day B-Xtrender signals
White when B-Xtrender histogram > 0 (bullish)
Dark orange when B-Xtrender histogram < 0 (bearish)
B-Xtrender Logic
This indicator uses the B-Xtrender histogram calculation:
Short-term Xtrender: RSI of (EMA 5 - EMA 20), with RSI period of 15, minus 50
The histogram crossing above/below zero determines bullish/bearish coloring
Each MA independently evaluates its own timeframe's B-Xtrender signal
Key Features
✓ Multi-Timeframe Analysis: Each MA can reference different timeframes for B-Xtrender signals
✓ Flexible MA Types: Choose between EMA, SMA, or HMA for both fast and slow lines
✓ Customizable Lengths: Adjust MA periods to fit your trading style
✓ Independent Signals: Fast and slow MAs color independently based on their respective timeframes
✓ Clean Overlay: Thin lines that don't clutter your chart
✓ Optional Bar Coloring: Can enable bar colors based on fast MA signal
How To Use
Trend Alignment: When both MAs show bullish colors (light blue + white), it suggests alignment across timeframes
Divergence: When MAs show different colors, it indicates potential timeframe divergence
Customization: Adjust timeframes to match your trading strategy (e.g., 1H + 4H for intraday, or Daily + Weekly for swing trading)
Visual Enhancement Tip
For better visual distinction between bullish and bearish conditions, you can manually adjust the line styles after adding the indicator to your chart:
Click the indicator settings (gear icon)
Go to the "Style" tab
When the MAs display their bearish colors (light purple for Fast MA, dark orange for Slow MA), change those plot styles from "Solid" to "Dashed"
This creates a clear visual: solid lines = bullish, dashed lines = bearish
This optional styling makes trend changes instantly recognizable at a glance.
Settings
Fast MA Length (default: 34)
Fast MA Type (EMA/SMA/HMA)
Fast MA Timeframe (default: Daily)
Slow MA Length (default: 155)
Slow MA Type (EMA/SMA/HMA)
Slow MA Timeframe (default: 3-Day)
Optional bar coloring
Notes
B-Xtrender histogram parameters are fixed: Short L1=5, L2=20, L3=15, Long L1=20, L2=15
This is a visual trend tool, not a standalone trading system
Works on all timeframes and instruments
Colors are customizable in indicator settings after adding to chart
Credit: This indicator incorporates B-Xtrender oscillator logic as its signal mechanism, applied in a multi-timeframe moving average context.
Bli-Rik - Equity - SMA + RSI (0.8% profit) 1 HrBli-Rik - Equity - SMA + RSI (0.8% profit) 1 Hr, This Indicator uses SMA and RSI to provide signals for Buy / sell and get 0.8% profit
Bli-Rik - Script 4 BankNifty (SMA based - Intraday - 5 mins)Bli-Rik - Script 4 BankNifty (SMA based - Intraday - 5 mins)
Bli-Rik - Strategy 3 : Nifty (RSA + SMA)Bli-Rik - Strategy 3 : Nifty (RSA + SMA) - Only for Nifty Futures
Bli-Rik - Script 2 Bank Nifty (SMA based - Intraday - 5 mins) Bli-Rik - Script 2 BankNifty (SMA based - Intraday - 5 mins) Uses SMA and RSA again, get 50 points in bank nifty futures
Bli-Rik - 1 Banknifty (RSI)For bank Nifty using RSI and SMA with volume considerations for guaranteed successes in futures






















