Price vs Moving Average Cross (Golden & Death Signals)This indicator detects price crossings against multiple moving averages, not crossings between moving averages themselves.
🔹 Core Concept
A Golden Signal occurs when the price (close) crosses above a selected moving average.
A Death Signal occurs when the price (close) crosses below a selected moving average.
⚠️ This is NOT a moving-average-to-moving-average crossover indicator.
It is a price-to-moving-average crossover indicator.
📈 Moving Average Settings
The indicator uses three independent moving averages, each configurable by the user:
1️⃣ Moving Average 1 (Golden Signal)
Default: 20-period
Type: EMA or SMA
Signal:
Price crossing above MA → Golden Signal
2️⃣ Moving Average 2 (Golden Signal)
Default: 50-period
Type: EMA or SMA
Signal:
Price crossing above MA → Golden Signal
3️⃣ Moving Average 3 (Death Signal)
Default: 100-period
Type: EMA or SMA
Signal:
Price crossing below MA → Death Signal
🔔 Signal Logic
Signal Type Condition
Golden Cross 1 Close price crosses above MA 1
Golden Cross 2 Close price crosses above MA 2
Death Cross Close price crosses below MA 3
Each signal is evaluated independently.
📊 Visual Representation
Green Up Arrow → Price crosses above MA 1
Purple Up Arrow → Price crosses above MA 2
Red Down Arrow → Price crosses below MA 3
All moving averages are plotted directly on the price chart.
🎯 Practical Use Cases
Identifying trend initiation points
Confirming pullback breakouts
Acting as an entry timing assistant
Using MA 3 as a trend filter / exit warning
⚠️ Important Notes
This indicator may generate false signals in sideways or ranging markets.
Best used in combination with:
Higher-timeframe trend confirmation
Volume indicators
Support & resistance levels
🧠 Summary
✔️ Price ↔ Moving Average crossover
❌ Moving Average ↔ Moving Average crossover
This indicator is designed for trend-following traders who want clear and simple price confirmation signals.
원하시면
“True MA Golden Cross version”
Scalping-optimized version (3m / 5m)
Trend + Momentum filtered version
Candlestick analysis
NQ 15m (SIGNALS ONLY, LOCKED, No Flip/Repaint)A buy and sell indicator made for the 15 minute NQ1! chart. The script is made to filter out the non tradable candles and looks for entries 3 minutes after the candle fires and then again at 4 minutes after the candle opens.
NQ1! 15m | NO FLIP | BUY/SELL AlertsA buy and sell alert for the 15minute candle NQ1! chart. Indicator is designed to weed out the non tradable candles and fires 4 minutes after the open of a candle.
Quarterly Cycles [Daye's Theory] with LabelsDescription:
This indicator automates the Quarterly Theory (also known as Cycle Days Theory), popularized by traders like Daye. It divides time into four distinct quarters to help traders identify the algorithmic phases of price delivery: Accumulation, Manipulation, Distribution, and Continuation (or Reversal).
Unlike standard cycle indicators that just color the background, this script draws High/Low Boxes around each quarter. This makes it significantly easier to spot SMT Divergences (Smart Money Technique) and liquidity sweeps between correlated assets (e.g., comparing the Q2 box on NQ vs. ES).
Key Features:
Fully Adaptive Timeframes: The indicator automatically switches modes based on your chart:
Intraday (1m - 30m): Shows Daily Cycles (Asia, London, NY AM, NY PM).
Weekly (1H - 2H): Shows Weekly Cycles (Mon, Tue, Wed, Thu).
Monthly (4H+): Shows Monthly Cycles (Week 1, Week 2, Week 3, Week 4).
New York Time Locked: All calculations are hardcoded to New York time (EST/EDT). You do not need to change your chart's timezone settings; the boxes will always appear at the correct algorithmic times.
True Open & Equilibrium:
True Open Line: Automatically plots a line from the Open of Q2 (e.g., Midnight NY). Price above this line suggests a Long bias; below suggests Short.
50% Equilibrium: (Optional) Toggle a midline to easily see if price is in Premium or Discount relative to the quarter's range.
Settings:
Fully customizable colors for Q1-Q4.
Toggle labels, borders, and the "True Open" line.
Swing Elite Trend Direction [Free]Swing Elite Trend Direction
This indicator automatically identifies and labels market structure by detecting swing highs and swing lows, then classifying them as Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL).
🔍 What It Does
The indicator uses a depth-based pivot detection algorithm to find significant swing points in price action. Each swing is then compared to the previous swing of the same type to determine the market structure:
HH (Higher High): Current swing high is above the previous swing high → bullish structure
HL (Higher Low): Current swing low is above the previous swing low → bullish structure
LH (Lower High): Current swing high is below the previous swing high → bearish structure
LL (Lower Low): Current swing low is below the previous swing low → bearish structure
📈 How To Use
Trend Identification:
Bullish trend is confirmed when you see HH followed by HL (or HL followed by HH)
Bearish trend is confirmed when you see LL followed by LH (or LH followed by LL)
The zigzag line color changes based on confirmed trend direction
Trade Setups:
In a bullish trend, look for pullbacks to HL areas for long entries
In a bearish trend, look for rallies to LH areas for short entries
Trend changes are signaled when structure breaks (e.g., bullish trend making a LL)
Depth Setting:
Higher depth values (e.g., 34-55) capture major swings for higher timeframe analysis
Lower depth values (e.g., 8-21) capture minor swings for shorter-term trading
Adjust based on your trading style and timeframe
Gold M5 Scalping [Fixed Timezone]This is the M5 Scalping using Inside / Outside Bar
Only for Timezone +8 (8am - 12pm)
Scalping for king >o<
Night Session Background V1.0This script can achieve the following functions:
Select a specified time period, such as the U.S. trading session, and mark this period on the background of the candlestick chart.
The purpose of doing this:
It allows you to more intuitively observe the candlestick patterns during specific time periods, such as the U.S. trading session.
Day Color CandlesThe script uses TradingView’s built-in dayofweek value (where Monday = 1 and Sunday = 7) to detect the current bar’s weekday.
For each weekday, a specific color is assigned — green for Monday, blue for Tuesday, purple for Wednesday, orange for Thursday, yellow for Friday, gray for Saturday, and red for Sunday.
Instead of plotting new candles, the script uses barcolor() to recolor the existing chart candles. This avoids conflicts with TradingView’s rule that a script may contain only one main declaration. The price data remains unchanged — only the visual appearance of the candles is modified to help the user visually separate trading days.
Main Killer Filter (Sweep + Displacement + Entry Zone) v6 masterMadrid session shading (NY AM + NY Pre-lunch in Madrid time by default)
5m “setup zone” creation (sweep + displacement → then uses nearest FVG as entry zone)
Touch logic: 2nd touch default + optional early entry
1m confirmation labels that only appear when a 5m setup is active (pulled via request.security)
Toggle confirmation mode:
Mode 1: displacement candle out of zone
Mode 2: displacement + BOS
NIFTY_2MIN_CVD_short_StrategySummary
This strategy is an intraday system designed for the Nifty index on a 2-minute timeframe, focusing exclusively on identifying high-probability short (sell) entries. It utilizes a combination of rapid price action and Cumulative Volume Delta (CVD) to detect "Buying Absorption" at local peaks.
Concept & Core Logic
The strategy is engineered to identify "Inverted V-shaped" reversals where aggressive buying pressure is exhausted and absorbed by large-scale limit orders from sellers.
Price Action Trigger: The strategy looks for a specific two-part sequence:
Sudden Bullish Movement: A rapid upward move that often traps late buyers or triggers short-covering.
Sudden Reversal: Immediately followed by a strong, high-momentum bearish (red) candle, signaling a swift rejection of the higher prices.
CVD Absorption Filter: To confirm the validity of the reversal, the strategy analyzes the Cumulative Volume Delta (CVD). It identifies instances where the relative movement of the CVD is significantly higher than the corresponding price movement. This specific divergence highlights "Buying Absorption"—a market condition where aggressive market buy orders are being filled by passive limit sell orders, preventing further price appreciation and creating a heavy ceiling for the reversal.
Risk Management
To maintain a disciplined approach, the strategy employs fixed exit parameters based on the underlying Nifty price:
Take Profit: 25 points.
Stop Loss: 30 points.
Intended Use
This tool is intended for traders who study mechanical, rule-based systems and order flow dynamics. It provides a structured framework for observing how volume delta divergence (CVD) and rapid price rejections interact at potential market turning points.
Disclaimer: This script is for educational and informational purposes only. It is not financial advice. All trading involves risk, and past performance is not indicative of future results. Please conduct your own research and backtesting before making any trading decisions.
ORB FX REPLAY - FINAL SAFEHere is the description in English, written to sound professional and meet all the requirements for publishing on TradingView:
Script Description:
Title: ORB Strategy Backtest Pro - Ultra Compatibility
Description: This is an Opening Range Breakout (ORB) strategy specifically designed for professional backtesting. It is optimized to run smoothly on external platforms like FX Replay and TradingView's replay mode.
Key Features:
Custom Session: Automatically calculates the High and Low of a specific time window (default: 10:00 - 10:15 Bucharest/GMT+2).
Impulse Confirmation: Features a "Min Impulse" filter to ensure entries happen on strong momentum, avoiding "fake-outs" near the range boundaries.
Hard Target Management: Designed for "Set & Forget" backtesting. Once a trade is triggered, the script tracks it until it hits either the Stop Loss (SL) or the final Take Profit 3 (TP3).
Visual Projections: Draws clear, real-time lines for Entry, SL, and TP3 on the chart for easy visual tracking.
Automated Statistics: Includes a dynamic label system that tracks Total Trades, Win Count, and Loss Count based on the TP3/SL logic.
Optimized Code: Built using Pine Script v5 with a focus on stability and compatibility, avoiding complex tables that often cause errors on external engines.
Nifty_2MIN_Rangereversal_Short_StrategySummary
This strategy is an intraday trend-following system designed for the Nifty index on a 2-minute timeframe, focusing exclusively on short (sell) entries. It is engineered to identify failed bounces within established bearish trends.
Concept & Core Logic
The strategy uses a multi-layered approach to confirm downward momentum before triggering an entry:
Trend Confirmation: The script analyzes the slope and positioning of the 20-period and 200-period Exponential Moving Averages (EMA). Short signals are only valid when the EMA configuration confirms a prevailing bearish trend.
Retracement Zone Filtering: To optimize entry pricing, the strategy monitors the daily price range. It looks for the market to be within the 35% to 75% range of the day's movement, specifically identifying a temporary upward "relief rally" or bounce after a significant fall.
Candlestick Trigger: The execution occurs when a specific bearish reversal pattern appears during the relief rally:
Two consecutive bullish candles (representing the temporary bounce).
Followed by a strong, high-momentum bearish candle (signaling the resumption of the primary downtrend).
Risk Management
The strategy utilizes fixed exit parameters based on the underlying Nifty price points:
Take Profit: 28 points.
Stop Loss: 30 points.
Intended Use
This tool is intended for traders who study mechanical, rule-based systems. It demonstrates how moving average trends can be combined with range analysis and price action sequences to time entries during market retracements.
Disclaimer: This script is for educational and informational purposes only. It is not financial advice. All trading involves risk, and past performance is not indicative of future results. Please conduct your own research and backtesting before making any trading decisions.
Nifty_2MIN_ Rangereversal_Long _StrategySummary
This strategy is an intraday trend-following system designed for the Nifty index on a 2-minute timeframe. It focuses exclusively on long entries, seeking to identify high-probability recovery points within an established uptrend.
Concept & Core Logic
The strategy identifies entries based on a confluence of trend direction, price recovery levels, and specific candlestick patterns:
Trend Confirmation: The script utilizes the slope and positioning of the 20-period and 200-period Exponential Moving Averages (EMA). A long signal is only considered when the trend is determined to be positive, ensuring trades align with the broader market momentum.
Recovery Zone Filtering: To avoid buying at local peaks, the strategy filters for entries that occur when the market has retraced but is showing signs of recovery. Specifically, it looks for price to be within the 35% to 75% recovery range relative to the day's high.
Candlestick Trigger: The actual entry trigger is a "Bullish Reversal" sequence:
Two consecutive bearish candles (representing a minor pullback).
Followed immediately by a strong bullish candle (representing the resumption of strength).
Risk Management
The strategy uses fixed point-based exits to maintain a disciplined approach:
Take Profit: 30 points (underlying Nifty price).
Stop Loss: 35 points (underlying Nifty price).
Intended Use
This script is designed for traders interested in mechanical trend-following systems. It provides a structured way to observe how moving average slopes and specific price action sequences interact during intraday recoveries.
Disclaimer: This script is for educational and informational purposes only. It is not financial advice. All trading involves risk, and past performance is not indicative of future results. Please conduct your own research and backtesting before making any trading decisions.
NIFTY_2min_FVG_sell_StrategyThis strategy is designed for scalping Nifty on a 2-minute chart, focusing exclusively on short entries. The script's purpose is to identify and act on specific bearish patterns based on volume analysis and price action.
Concept & Core Logic
The strategy operates on a two-stage confirmation process:
Volume Absorption: The initial condition seeks to identify potential bearish movements by detecting signs of buying pressure being absorbed by sellers. This suggests that a upward move may be losing momentum.
Fair Value Gap (FVG) Confirmation: After a volume absorption signal, the strategy waits for a Bearish Fair Value Gap (FVG) to appear. A short entry signal is generated only after a candle closes below the FVG zone, serving as confirmation of bearish intent.
Risk Management
The strategy employs a fixed take profit and stop loss for each trade, based on the Nifty underlying price:
Take Profit: The exit signal is triggered when a trade reaches a 30-point profit.
Stop Loss: The exit signal is triggered when a trade reaches a 35-point loss.
Intended Use
This tool is intended for traders who:
Utilize mechanical, rule-based systems for intraday trading and scalping.
Are interested in studying a structured approach that combines volume analysis with price action inefficiencies like Fair Value Gaps.
Gold M5 Scalping (Strategy)This is the New Strategy for my new Indicator for M5 Scalping.
Just to test my result.
Will release my indicator soon
ATR Distance from 50 SMA By DanBobDanA simple indicator that measures the distance between current price and the 50 SMA
The average momentum swing trade might run 7 times the ATR before pulling back
Therefore, its recommended to not buy a stock that is beyond 4 times its ATR to the 50 SMA
This script will quickly and easily calculate the 50 SMA to ATR distance for you
Market State & Candlestick Patterns Made in ChinaIndicator Overview
The Market State & Candlestick Patterns Master (MSCP-Master) is a comprehensive, all-in-one technical analysis indicator that combines real-time market state identification with multiple candlestick pattern recognition. This powerful tool not only identifies classic price action patterns but also adapts their significance based on the current market volatility environment, providing context-aware trading signals for smarter decision-making.
Core Innovation: Adaptive Pattern Recognition
Traditional candlestick pattern indicators work in isolation, often giving false signals in the wrong market conditions. MSCP-Master revolutionizes this approach by:
First assessing market state (Low Volatility/Ranging/High Volatility) through a multi-dimensional scoring system
Then applying different confirmation criteria for each pattern based on the detected market state
Finally providing context-aware signals that are more reliable because they consider the broader market environment
Three-Layer Analysis System
Layer 1: Market State Identification (The Foundation)
Uses four key metrics to calculate a comprehensive market state score:
ATR Relative Volatility: Measures current volatility against historical norms
Bollinger Band Width: Identifies contraction/expansion periods
Amplitude Analysis: Evaluates recent price range activity
Momentum Strength: Assesses directional movement power
Based on the composite score, the market is classified into:
🔵 Low Volatility: Tight ranges, potential for breakout
🟡 Ranging: Normal oscillation within established bounds
🟢 High Volatility: Wide ranges, strong momentum moves
Layer 2: Pattern Recognition With Context Adaptation
Each pattern uses different confirmation logic based on market state:
High Volatility State: Uses SMA-based trend confirmation (Long/Short SMA comparison)
Low Volatility/Ranging States: Uses ATR-adjusted threshold confirmation (dynamic based on current vs. baseline volatility)
This adaptive approach means patterns are only considered valid when they make sense for the current market environment.
Layer 3: Comprehensive Pattern Library
The indicator identifies 10+ critical candlestick patterns:
Engulfing Patterns (Bullish/Bearish) with Harami confirmation requirement
Outside Bars (Bullish/Bearish) with customizable engulfing criteria
False Breakouts (Bullish/Bearish) with sophisticated tracking of "trap" moves
Hammer/Inverted Hammer with ATR-adjusted significance thresholds
Doji Variations (Standard, Dragonfly, Gravestone) with precise mathematical definitions
Three Soldiers Method (Enhanced) with dual absolute/relative strength measurements
Enhanced Three Soldiers Method - Beyond Traditional Interpretation
Unlike traditional "Three White Soldiers/Black Crows" patterns that rely on simple visual recognition, our enhanced version introduces:
Quantifiable Strength Metrics: Each candle must meet customizable thresholds for both absolute price movement (%) and relative efficiency (close-to-open vs. total range)
Two Signal Types: Preparation signals (amber) for early warnings and True signals (green/red) for confirmed breakouts
Breakout Confirmation: "True signals" only trigger when price breaks above/below recent signal cluster extremes
Full Customization: All parameters adjustable to match your trading style and market conditions
Key Features
🎯 Context-Aware Signals: Patterns are validated differently in high vs. low volatility markets
📊 Real-Time Market State: Clear color-coded background shows current market conditions
🔍 Multiple Confirmation Methods: Uses both SMA trend-following and ATR-adjusted threshold approaches
⚙️ Fully Customizable: Every parameter adjustable across all pattern types and market state calculations
📈 Comprehensive Visualization: Color-coded labels, reference lines, and information tables
Strategic Application
Preparation Signals: Use amber "single candle" or "three candle" signals to prepare for potential moves
True Signals: Green/red "True" signals indicate confirmed momentum - ideal for main entries
Market State Alignment: Trade with the market's character - aggressive in high volatility, cautious in low volatility
Pattern Convergence: Look for multiple patterns confirming the same direction for higher probability setups
Parameter Groups (Organized for Easy Customization)
Market State Identification: ATR, Bollinger Band, Amplitude, Momentum parameters
Pattern-Specific Settings: Engulfing, Outside Bars, False Breakouts, Hammer/Doji patterns
Three Soldiers Method: Absolute/Relative strength thresholds, lookback periods
Confirmation Logic: SMA lengths, ATR adjustment factors, sensitivity settings
SK BAND SK BAND is a powerful TradingView indicator designed to generate clear and reliable Buy & Sell signals by identifying market trend and price momentum. It helps traders make disciplined and confident trading decisions across different market conditions.
🔹 Key Features
✔ Clear BUY and SELL signals on the chart
✔ Works on Stocks, Indices, Forex, Crypto & Commodities
✔ Suitable for Intraday, Swing, and Positional trading
✔ Helps identify trend direction and momentum
✔ Simple, clean, and beginner-friendly
📈 How It Works
BUY signal appears when bullish momentum strengthens
SELL signal appears when bearish momentum increases
For better accuracy:
Use proper risk management
Confirm signals with support & resistance or higher timeframes
Avoid sideways or low-volume markets
⚠ Disclaimer
This indicator is for educational purposes only.
SK BAND does not provide financial advice. Trading involves risk—always confirm signals with your own analysis.
ABC Risk Management SystemOverview
This script is a comprehensive execution engine designed for high-frequency momentum trading (optimized for MES/ES Futures). It solves the problem of "grade inflation" in trading by strictly categorizing setups based on Multi-Timeframe (MTF) alignment and volatility.
How it Works
The script utilizes a 5-Minute Bias Engine to filter a 1-Minute Execution Chart. It relies on the relationship between the CCI (Commodity Channel Index) and its 20-period SMA using Typical Price (HLC3).
The Grading Hierarchy
Grade A+ (The Trend Follower): Triggered when the 5m Trend is strong (ADX > 25) and 1m momentum is perfectly aligned.
Grade B (The Momentum Burst): Triggered in "Lazy Markets" (5m ADX < 25). The script automatically raises the entry requirement to a 140 CCI burst to filter out noise.
Grade C (The Mean Reversion): Triggered when 1m internals (ADX/DI/CCI) are powerful enough to trade against the 5m Bias.
Key Indicators Included
T3 Pulse Lead: A specialized, color-coded trailing line used for dynamic stop-loss management.
Price-Locked Labels: Signals are pinned to the High/Low of the specific candle to provide exact price levels for entry.
🚀 Release Notes: Version 3.0 (The "ABC" Update)
New Features & Logic Fixes:
Strict Binary Bias: Removed all level-based filters for the HTF trend. The bias is now determined solely by the crossover of the 5m CCI and its SMA.
Bullish: 5m CCI > 5m SMA (regardless of positive/negative value).
Bearish: 5m CCI < 5m SMA.
Adaptive ADX Scaling: If 5m ADX falls below 25, the 1m CCI trigger is automatically moved from 100 to 140 to compensate for the lack of trend strength.
Visual Overhaul: Replaced generic shapes with Price-Locked Text Labels.
Longs: Labels appear below the candle (Green/Lime/Purple).
Shorts: Labels appear above the candle (Red/Maroon/Orange).
T3 Pulse Integration: Added the T3 Pulse Lead (8-period) directly into the overlay to facilitate the "T3 Trailing Stop" methodology.
Typical Price Standard: Standardized all calculations to HLC3 to align with professional S&P 500 momentum standards.
How to Setup the Chart:
Apply script to a 1-Minute Chart.
Ensure your 5-minute CCI settings in your separate indicator match (20 SMA, HLC3 Source).
Follow the A/B/C Risk Management Protocol (0.5% / 0.25% / 0.10% risk)
ML Adaptive SuperTrend Strategy [trade_crush]# ML Adaptive SuperTrend Strategy - User Guide
## Introduction
The **ML Adaptive SuperTrend Strategy** is a sophisticated trading tool that combines traditional trend-following logic with **Machine Learning (K-Means Clustering)** to dynamically adapt to market volatility. Unlike standard SuperTrend indicators that use a fixed ATR, this strategy analyzes historical volatility to categorize the current market into distinct clusters, providing more precise entries and exits.
>
> **Special Thanks:** This strategy is based on the innovative work of **AlgoAlpha**. You can explore their extensive library of high-quality indicators and strategies on TradingView: (www.tradingview.com).
---
## Machine Learning Engine (K-Means)
The core of this strategy is its ability to "learn" from recent market behavior.
- **K-Means Clustering**: The script takes the last $N$ bars of ATR data and runs an iterative clustering algorithm to find three "centroids" representing **High**, **Medium**, and **Low** volatility.
- **Adaptive ATR**: Based on the current volatility, the strategy selects the nearest centroid to use as the ATR value for the SuperTrend calculation. This ensures the trailing stop tightens during low volatility and widens during high volatility to avoid "noise".
---
## Key Features
### 1. Non-Repainting Signals
- **Confirm Signals**: When enabled, signals are only triggered after a bar closes. This ensures that the arrows and entries you see on the chart are permanent and reliable for backtesting.
### 2. Intelligent Risk Management
- **Multiple SL/TP Types**: Choose between **Percentage** based stops or **ATR** based stops for both Stop Loss and Take Profit.
- **Trailing Stop Loss (TSL)**:
- Supports both Percentage and ATR modes.
- **Activation Offset**: Only activates the trailing mechanism after the price has moved a certain percentage in your favor, protecting early-stage trades.
### 3. Risk-Based Position Sizing
- **Dynamic Quantity**: If enabled, the strategy automatically calculates the trade size based on your **Risk % Per Trade** and the distance to your **Stop Loss**. This ensures you never lose more than your defined risk on a single trade.
---
## User Input Guide
### SuperTrend & ML Settings
- **ATR Length**: The window used to calculate market volatility.
- **SuperTrend Factor**: The multiplier that determines the distance of the trailing stop from the price.
- **Use ML Adaptive ATR**: Toggle between the ML-enhanced logic and standard ATR.
- **Training Data Length**: How many historical bars the ML engine analyzes to find clusters.
### Risk Management
- **Stop Loss Type**: Set to Percentage, ATR, or None.
- **TS Activation Offset**: The profit buffer required before the trailing stop starts following the price.
- **Use Risk-Based Sizing**: Toggle this to let the script manage your position size automatically.
---
## How to Trade with This Strategy
1. **Monitor the Dashboard**: Check the top-right table to see which volatility cluster the market is currently in.
2. **Observe the Fills**: The adaptive fills (green/red) visualize the "breathing room" the strategy is giving the price.
3. **Execution**: The strategy enters on "ML Bullish" (Triangle Up) and "ML Bearish" (Triangle Down) signals.
4. **Exits**: The script will automatically exit based on your SL, TP, or Trailing Stop settings.
---
## Credits
Original Concept: **AlgoAlpha**
Strategy Conversion & Enhancements: **Antigravity AI**






















