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.
Simple Moving Average (SMA)
EMA20/50 Touch StrategyThe momentum strategy used the 20MA touch to enter the trade.
Used a couple of additional conditions to increase performance.
Please use the ES/MES chart for a 1-minute timeframe.
Parabolic SAR StrategyThis strategy used Parabolic SAR combined with MA signals
For daily trades only
Recommended ticker: GC / MGC
Recommended timeframe: 15min
Axiom Flow: Donsma NQ/MNQ - 5 Min TFThis is a proprietary algorithmic trading framework engineered specifically for the Mini and
Micro Nasdaq (MNQ) futures market on the 5-minute timeframe. Designed for the modern quantitative trader, this system filters market noise to identify high-probability momentum expansions during key liquidity windows.
Unlike standard indicators that repaint or lag, this framework utilizes a "Confirmed Close" logic engine, meaning it waits for structural validation before signaling an entry. It is designed to be a complete decision-support system, automating the complex analysis of trend alignment, volatility, and momentum.
How It Works (The Logic) The system relies on a 4-Stage Verification Protocol:
Structural Trend Validation: Uses a proprietary dual-layer breakout logic to ensure price is not just fluctuating within a range but has broken significant structural resistance or support levels.
Volatility Compression Filter: Entries are restricted to periods of specific volatility conditions. The system identifies "energy build-up" phases and triggers only when statistical probability favors an expansion (breakout), avoiding over-extended markets.
The "Anti-Chop" Protocol: A custom-built filter measures the efficiency of price movement. If the market is "chopping" sideways with low directional energy, the system remains neutral, protecting capital from false signals common in range-bound environments.
Velocity Override: A secondary high-impact logic layer detects institutional volume flow and rapid price displacement, allowing the strategy to capture fast-moving news events that standard trend filters might miss.
Risk Management (Automated)
Fixed Risk Sizing: The logic is calibrated for 1-Contract fixed sizing to demonstrate raw performance consistency.
Adaptive Profit Targets: Unlike static targets, this system uses Dynamic Volatility Scoring to calculate profit objectives. It aims for larger runners during high-volatility sessions and banks tighter profits during slower sessions.
Liquidity Window Lock: Execution is hardcoded to the New York Session (Open to Lunch) to ensure maximum liquidity and reduce slippage risks.
Disclaimer This script is for educational and backtesting purposes only. Past performance in the strategy tester is not indicative of future results. Trading futures and derivatives involves substantial risk of loss and is not suitable for every investor. This tool is designed to assist your own technical analysis, not to replace independent judgment.
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.
GK1 Long only Daily Trend Strategy Max 4 Positions Risk-BasedThis strategy buys strong uptrends on the daily chart, risks a fixed % of capital per trade, limits how many trades are open at once, and exits using a trailing volatility stop or when the trend weakens.
What kind of market does this work best in?
1.Strong, persistent trends
2.Index ETFs, sector ETFs, large-cap stocks
3.Bull markets or strong sector rotations
It will underperform in:
Sideways markets
Choppy ranges
High-frequency reversals
The market condition this is looking for " A healthy, established uptrend"
It only goes LONG (no shorts) and only when all of these are true:
Short-term trend is up:
14-day moving average > 50-day moving average
Long-term trend is bullish:
Price is above the 200-day moving average
Primary trend is improving:
200-day MA is rising (today > yesterday)
Volume is normal (not dead, not crazy):
Avoids illiquid days and blow-off spikes
Translation: “I only buy when the market is already strong and behaving normally.”
It can hold up to 4 positions at the same time
Designed for multiple signals across time, not over-trading
You choose a Risk % per trade (default = 1%)
That means: If the stop loss is hit, you lose ~1% of your total account
It uses ATR (Average True Range):
ATR measures how much the market normally moves
Stop loss = 2.5 × ATR
Position size =
(1% of account) ÷ stop distance
So:
Volatile market → smaller position
Calm market → bigger position
Exit #1: Trailing ATR stop (main exit)
Tracks the highest close since entry
Stop moves up only, never down
If price reverses by ~2.5 ATR → exit
📌 Translation:
“Let winners run, cut losers automatically.”
Exit #1: Trailing ATR stop (main exit)
Tracks the highest close since entry
Stop moves up only, never down
If price reverses by ~2.5 ATR → exit
📌 Translation:
“Let winners run, cut losers automatically.”
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.
SMA Strategy [MK]Overview
This strategy is a momentum-based trend-following system designed to capture sustained market moves while minimizing "whipsaws" often found in sideways markets. It utilizes a dual-SMA filter for trend direction, a precise price-crossover trigger for entry, and the Average Directional Index (ADX) to gauge market strength.
How It Works
The strategy follows a strict "Trend + Momentum + Strength" hierarchy:
1. Trend Identification (The Filter) The script uses a Fast SMA (20) and a Slow SMA (50).
Long Bias: SMA-20 > SMA-50.
Short Bias: SMA-20 < SMA-50.
2. Precise Entry (The Trigger) Unlike strategies that enter simply because the price is above a line, this script requires a Price Crossover.
Long Entry: Price must actively cross from below to above the SMA-20.
Short Entry: Price must actively cross from above to below the SMA-20.
3. Trend Strength (The ADX Gatekeeper) To solve the problem of sideways markets where moving averages run parallel, we’ve integrated the ADX (Average Directional Index). The strategy will only trigger a trade if the ADX is above a user-defined threshold (default is 25), ensuring we only enter when the market is trending.
4. RSI Safety Filter To prevent "buying the top" or "selling the bottom," the RSI checks for overextended conditions. It prevents long entries if the RSI is already overbought and short entries if it is oversold.
Exit Logic
The strategy features three layers of protection:
Trend Reversal Exit: Closes the position if the price crosses back over the SMA-20 while the macro trend (SMA-20/SMA-50) has flipped.
Fixed Take Profit: A percentage-based target to lock in gains during sharp moves.
Fixed Stop Loss: A percentage-based safety net to protect capital.
Key Features
Directional Selector: Choose between "Long Only," "Short Only," or "Both."
Visual Feedback: Background colors highlight "Trending" (Green) vs "Sideways" (Red) market regimes.
Fully Customizable: All lengths and thresholds for SMAs, RSI, and ADX can be adjusted to fit different assets and timeframes.
Instructions for Use
Timeframe: This strategy is optimized for trending timeframes such as the 1-Hour (1H), 4-Hour (4H), or Daily (D). Using it on very low timeframes (1-minute or 5-minute) may increase the number of false signals due to market noise.
Asset Classes: Best suited for high-volume assets like Major Forex Pairs, Large-Cap Stocks, and Blue-Chip Cryptocurrencies.
Parameter Tuning: Use the "Strategy Tester" to find the ideal ADX Threshold for your specific asset. Volatile assets usually require a higher ADX (30+) to filter out fake breakouts.
Disclaimer
Financial Risk Warning: The script provided is for educational and informational purposes only. Trading involves significant risk, and there is always the potential for loss. Past performance, whether simulated or real, is not a guarantee of future results.
The author of this script is not a financial advisor. This indicator is not a signal service or a recommendation to buy or sell any security. Always perform your own due diligence and test any strategy thoroughly on a demo account before risking live capital. By using this script, you acknowledge that you are solely responsible for your trading decisions and any resulting financial outcomes.
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
NIFTY Bank Nifty RSI5 Regime BUY + ATR SL (Consecutive Control)This indicator is primarily for Nifty and Banknifty option buying, however can be adapted for equity buying as well. High performance time frame is 5 min for which it is optimised.
From high time frame ensure uptrend or downtrend of index, then if uptrend employ this indicator on call, otherwise on put. On sideways days avoid trading.
Dont employ this to call or put blindly. If employed wisely in alignment with high time frame on non sideways market, this indicator has very high win rate.
To get full ownership of the source code you may reach out to me through comment,
Auto Trendline using Liquidity Sweeps By Vachaspati JhaThis auto trendline systime uses Liquidity sweep points to draw, making them extremely reliable- price action respects these trendlines.
You can choose different pivot numbers for Green and Red lines to suit market condition. For instance in uptrend green line pivot number can be 2 or higher and Red line pivot number can be 1 for pullback opportunities.
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.
Trend Table by DNDFXTrend Table is the latest version released in 2026. Initially, this feature was integrated into the CTR indicator. However, due to technical issues that caused errors in the main indicator, Trend Table was separated and developed as a standalone indicator to ensure stability and allow it to operate without interfering with the main system.
The Trend Table indicator is designed to provide a clear overview of market trend direction across multiple timeframes in a single, concise display. The timeframes included are M1, M3, M5, M10, M15, M30, H1, H4, and Daily. With this separation, users can monitor trend conditions from lower to higher timeframes more efficiently, consistently, and reliably.
- Trading Bot - Pyramidal Candle RSI - Robot Strategy -
1. Concept and Overview
The Pyramidal Candle RSI Strategy is a trend-following algorithm designed to optimize entry points during market pullbacks. Unlike standard strategies that enter a full position on a single indicator crossover, this script utilizes a Pyramidal (DCA) approach combined with strict Candle Geometry and Momentum filters.
The core philosophy is simple: "Buy the dip in an uptrend, sell the rally in a downtrend," but executed with mathematical precision. Instead of guessing the bottom, the strategy splits the allocated capital into multiple fractionated entries, improving the Average Entry Price (AEP) if the market moves against the initial position before reversing.
2. Originality and Key Features
What makes this strategy unique is the combination of Sequential Candle detection and Average Price Targeting:
- Sequential Candle Entry: The strategy does not blindly enter on an indicator signal. For the first entry, it waits for a specific sequence of consecutive candles closing in the signal direction (e.g., entering Long only after a sequence of bearish candles implies a pullback is occurring).
- RSI Slope Detection: Instead of traditional Overbought/Oversold levels, the script analyzes the direction (slope) of the RSI to ensure momentum is shifting in favor of the trade before entering.
- Smart Pyramiding: The script is built to handle up to 20 separate entries. It calculates position size dynamically based on your total allocated capital divided by the maximum allowed entries.
- Average Price Exit Target: Profits are not taken based on the entry price of the first order, but on the Average Entry Price of the entire position. This allows for faster exits and higher win rates even if the first entry was slightly early.
3. How it Works
The Entry Logic:
- Trend Filter (SMA): The market must be above the SMA for Longs (or below for Shorts).
- Momentum Filter (RSI): The RSI line must be curving upwards (for Longs) or downwards (for Shorts) to confirm immediate momentum.
- Candle Sequence: The script detects a user-defined number of consecutive candles to validate the "dip" or the "rally."
- Pyramiding: If the price continues to move against the trade, the strategy adds new positions (up to the user-defined limit) to average down the entry price.
The Exit Logic:
- Profit Target: The strategy closes the entire position once the price reaches a specific percentage deviation (e.g., +1%) from the Average Entry Price.
- Hard Stop Loss / Take Profit: Integrated percentage-based SL and TP are available as a safety net.
4. Settings and Configuration
The script keeps a professional "TopBot" dashboard style for easy monitoring.
Trading Mode: Choose between Long Only, Short Only, or Both.
Max Entries: How many times the bot can enter the same trade.
Consecutive Candles: How many candles of the same color are required to trigger the first entry.
SMA Length: Defines the long-term trend.
RSI Settings: Fine-tune the momentum detection (Length and Source).
Exits: Define your profit target as a percentage of the average price (e.g., 1.0 = 1%).
Risk Management: Adjustable Stop Loss and Take Profit percentages.
5. Automation Ready
This script is designed for automation. It includes built-in alert message placeholders compatible with 3rd-party webhook automation tools. The alerts automatically transmit:
Ticker & Timeframe
Direction (Long/Short)
Leverage & Quantity parameters
Stop Loss levels
6. Disclaimer
Past performance is not indicative of future results. This script is a tool for technical analysis and automated execution logic, not financial advice. Always backtest with your specific asset and timeframe before using real capital.
SMAcross-mvrOverview
SMAcross-mvrNew is a flexible, non-repainting moving-average strategy designed for clarity, configurability, and reliable backtesting.
It supports multiple entry styles, optional layered exits, and full-capital position sizing, while remaining stable during chart zooming and dragging.
🚀 What’s New in v2
✅ Multiple Entry Modes
You can now choose how trades are entered:
Entry Mode A: Short SMA crosses Long SMA
Entry Mode B: Price crosses Long SMA
This allows both classic MA-crossover trading and trend-continuation pullback entries using the same strategy.
✅ Modular Exit System (Checkbox-Based)
Exit logic is now fully modular using independent checkboxes:
☑ Exit on opposite signal
☑ Exit when price closes beyond Short SMA
You may enable one, both, or neither.
If both are enabled, the strategy exits on whichever condition occurs first.
✅ Terminology Clarity
All labels, inputs, and alerts now use semantic naming:
Short SMA (formerly 13 SMA)
Long SMA (formerly 30 SMA)
This makes the strategy easier to understand and future-proof if SMA lengths are changed.
✅ Full-Capital Position Sizing
Each trade uses 100% of available equity, allowing performance to naturally compound over time during backtests.
✅ Optional Visual Enhancements
Optional cross price labels (can be toggled on/off)
Color-filled zone between Short and Long SMAs for quick trend recognition
Optional 200 SMA (off by default) for higher-timeframe context
✅ Alert-Ready (TV-Safe)
All alerts use static messages compatible with TradingView’s alert system, making the strategy suitable for:
Manual trade notifications
Webhook-based automation
Broker integrations
🔒 Design Principles
No repainting
No line continuations (TradingView-safe formatting)
Stable behavior when zooming or scrolling
Clear separation of entry logic, exit logic, and visuals
⚠️ Notes
This script is intended for educational and research purposes.
Always forward-test and apply proper risk management before live trading.






















