SMC + CRT Gold Flow PRO — Fixed RGB ColorsSCRIPT FOR GOLD. I used SMC + CRT strategies. I analyze in H4 timeframe and enter in m15 time frame.
Chỉ báo và chiến lược
XAUUSD Family Scalping (5min)💎 Advanced Gold Strategy — "Max Profit | Min Drawdown | High Profit Factor"
📊 Overview
This script is designed for XAUUSD (Gold) trading and optimized for maximum net profit, minimum drawdown, and a high profit factor.
It combines advanced momentum filters, market structure logic, and trend confirmation to ensure only the strongest entries are executed.
⚙️ Core Features
✅ Max Net Profit Optimization: Selects entry points based on the highest historical profitability.
🔵 Min Drawdown Filter: Automatically filters out high-risk trades to preserve equity and stability.
🟡 High Profit Factor Focus: Ensures that reward significantly outweighs risk for each trade.
📈 EMA 200 Trend Filter: Trades only in the direction of the main market trend.
🕐 Smart Signal Control: Avoids repetitive signals in the same area to reduce overtrading.
🔔 Clear Visual Alerts: Buy/Sell signals with strong accuracy and confirmation logic.
💡 Recommended Use
Symbol: XAUUSD (Gold)
Timeframe: 5 Minutes (M5) or 15 Minutes (M15)
Works best during London & New York sessions
⚠️ Disclaimer
This strategy is built for educational and backtesting purposes. Past performance does not guarantee future results. Always test before using on live markets.
Kelly Wave Position Matrix 20251024 V1 ZENYOUNGA simple table is designed for use when opening a position. It applies the Kelly formula to calculate a more scientific position size based on win rate and risk–reward ratio. At the same time, it displays 1.65× ATR stop-loss levels for both long and short positions to serve as a reference for comparing with existing stop-loss placements.
Additionally, the table back-calculates the corresponding position size based on a 2% total capital loss limit, using the actual loss ratio. It also shows the current wave trend status as a pre-filtering condition.
Overall, this table integrates the core elements of trading — trend (wave confirmation), win rate, risk–reward ratio, and position sizing — making it an effective checklist before entering a trade. Its purpose is to help achieve a probabilistic edge and ensure positive expected value in trading decisions.
SAMAY-TRADINGFRIENDSTIMEFRAME specifier tool, this indicator helps to mark the specific time zone in which a trader trades
Avivso 150 + ATHThis Pine Script displays a dynamic on-chart watermark and key stock data.
It shows company info, symbol, industry, market cap, ATR(14) with color status, earnings countdown, and distances from the current price to SMA150 and the all-time high.
It also plots SMA 20 and SMA 150 moving-average lines on the chart and supports configurable position, size, and padding for the watermark.
Order Blocks — Smart Mitigation & OB Labels (SMC/ICT)Order Blocks — Smart Mitigation & OB Labels (SMC/ICT) — TradingATH
Precision. Stability. Execution.
This refined indicator automatically detects and draws bullish and bearish Order Blocks , perfectly anchored to the candle that created them. Each zone remains fixed, never drifting as you move the chart, ensuring absolute spatial accuracy.
ATR-based filters remove insignificant blocks, and optional live extensions allow active OBs to project forward until price delivers mitigation.
What You’ll See
Bullish Order Blocks in subtle green tones, with a fine mid-line and a small label reading “Bullish OB (Order Block)”.
Bearish Order Blocks in elegant red tones, equally marked and labeled.
Compact, controlled-length zones extending only for the defined number of bars.
Optional dynamic extension for unmitigated blocks until price returns.
Real-time alerts when price enters the most recent bullish or bearish OB.
Features
True anchoring : OBs are plotted in absolute time coordinates, fixed to the original source candle. No drift.
Custom length control : Adjust each block’s horizontal reach by number of bars.
ATR-based filters : Define minimum and maximum OB size (in multiples of ATR) to maintain clean and relevant zones.
Smart mitigation logic : Choose between “Wick” or “Close” for OB validation; mitigated blocks are automatically removed.
Elegant labeling : Minimalistic text inside each block, positionable in any corner for optimal readability.
Advanced alerts : Automated signals for new OB formation and price entry into the latest block.
Professional architecture : Size-safe arrays, optimized rendering, and zero performance waste.
ICT/SMC ready : Fully compatible with advanced concepts such as Fair Value Gaps, Liquidity Sweeps, and Session Timing.
Perfect For
Traders applying ICT or Smart Money Concepts who require precise OB identification and mitigation tracking.
Intraday traders seeking clarity and efficiency on fast-moving charts.
Swing traders filtering premium-quality OBs based on volatility structure.
Recommended Settings
OB Length: 10 bars (adjust to timeframe and volatility).
Label position: Bottom-Right for most clarity.
Mitigation method: “Wick” for flexible precision; “Close” for stricter validation.
ATR filter: Minimum 0.25×, Maximum 3× (balanced range for most assets).
In Short
Clean structure. Absolute precision. Professional delivery.
Order Blocks — Smart Mitigation & OB Labels (SMC/ICT) provides a stable, disciplined visualization of institutional order flow — designed for traders who demand both accuracy and aesthetic refinement.
Created by: TradingATH
20 EMA Undercut Bounce - M4v3r1ck💎 The "EMA Undercut Bounce" Bullish Scanner
This indicator is designed to identify high-conviction continuation patterns where price makes a temporary dip for liquidity before resuming a powerful, established uptrend. It specifically looks for a bullish rejection off the 20-period Exponential Moving Average (EMA).
🎯 Strategy Logic
The signal is generated only on the Daily (1D) timeframe when the following five precise conditions are met on the most recent completed bar:
1. Price Action (The Undercut Bounce)
• Undercut: The bar's low price must have touched or temporarily traded below the 20-Day EMA.
• Rejection: The bar's close price must have fully recovered and closed above the 20-Day EMA. This is the classic sign of strong buying pressure defending a key support level.
2. Strong Trend Hierarchy (The Bullish Stack)
The moving averages must be perfectly stacked, confirming a robust multi-timeframe uptrend structure:
• 10-Day EMA > 20-Day EMA
• 20-Day EMA > 50-Day SMA
• 50-Day SMA > 200-Day SMA
3. Momentum Confirmation (The Upward Slope)
Both the 10-Day EMA and the 20-Day EMA must be rising from the previous day. This ensures that the short-term trend momentum is positive, ruling out signals during flat or turning markets.
💡 How to Use This Indicator
1. Timeframe: Ensure your chart is set to the Daily (1D) timeframe for accurate results.
2. Signal: A Green Background highlight and an Up-Arrow below the bar mark a confirmed signal.
3. Alerts: Use the built-in alert condition to set up notifications for stocks on your watchlist, allowing you to catch these high-quality setups without constantly monitoring charts.
This script is ideal for trend-following traders looking to enter a position after a healthy shakeout and confirmation of continued bullish commitment.
Complete Indicator Analysis By: arisutikno📊 3 MAIN COMPONENTS
1. EMA (Exponential Moving Average)
Function: Detect price trends and momentum
Periods: 8, 21, 50, 100, 200 + SMA 200
Purpose:
EMA 8-21: Short-term trend
EMA 50-100: Medium-term trend
EMA 200: Long-term trend
2. FIBONACCI RETRACEMENT & EXTENSION
Function: Identify support/resistance levels and profit targets
Retracement Levels: 0.5, 0.618, 0.786 (pullback areas)
Extension Levels: 1.272, 1.618, 2.0 (profit targets)
Purpose: Determine trading entry and exit points
3. DYNAMIC SUPPORT & RESISTANCE
Function: Detect important price levels
Based on: High/Low within specific period
Purpose: Identify potential price reversal areas
⚙️ ADDITIONAL FEATURES
Individual Toggles: Enable/disable each component
Color Customization: Adjust colors according to preference
Clean Visualization: Neat lines and labels, no clutter
ten2 Multi MAThis powerful all-in-one indicator allows you to display three Exponential Moving Averages (EMAs) and three Simple Moving Averages (SMAs) on your chart from a single script. Save indicator slots and get a comprehensive view of market trends across different timeframes. Every moving average is fully customizable in length, colour, and source, giving you complete control over your technical analysis setup.
London Open High/Low 9:00-9:15indicator marks out high and low of the first 15 minutes of the London session.
Julius Single TrailJulius Single Trail — How it works
This indicator combines a Kalman-like smoothed Donchian midline with an ATR-style volatility buffer to create a single adaptive trailing line that flips with trend. It also recolors candles to reflect regime and visually marks ranging conditions using Bollinger Band width. Optionally, it adds a dotted price line and can hide default candles for a clean, unified look.
Core logic
Donchian midpoint: Calculates the middle of the highest high and lowest low over Donchian Length. This is the directional anchor.
Kalman-like smoothing: Applies a lightweight exponential update to the Donchian midpoint using Alpha, reducing noise while staying responsive.
Volatility buffer: Uses RMA of True Range over Volatility Length multiplied by Volatility Multiplier to form an adaptive offset around the smoothed midline.
Dynamic trail:
Up-trend regime (regime = 1): The trail is kMid - offset and only ratchets upward (math.max), acting like a long stop.
Down-trend regime (regime = -1): The trail is kMid + offset and only ratchets downward (math.min), acting like a short stop.
Flip conditions: Regime flips only when price is on the far side of both the smoothed midpoint and the current trail:
Flip to down when close < kMid and close < dynTrail
Flip to up when close > kMid and close > dynTrail
Candle styling:
Wick color shows immediate price direction (green for bullish, red for bearish).
Body color follows the trail’s regime (Uptrend Color or Downtrend Color).
In ranging conditions, all candle elements turn gray.
Ranging detection:
Computes Bollinger Bands on close with BB Length and BB Multiplier.
Calculates width as a percentage of the basis. If width% (optionally smoothed) is below Range Threshold %, candles are gray to signal consolidation.
What it plots
Dynamic Trail: A single, thick line that changes color by regime:
Uptrend: Uptrend Color (default lime)
Downtrend: Downtrend Color (default red)
Optional Trail Fill to Close: A translucent band between the trail and the close (disabled by default).
Optional Dotted Price Line: A dotted horizontal line at the current price (toggle via Show Dotted Price Line).
Candle treatment:
You can hide default candles (Hide Default Candles), then use a separate custom-candle script for wick/body/border mapping. In this script, default candles can be made fully transparent to let the trail and colors dominate.
Inputs
Donchian Length: Window for the highest/lowest used to form the midline.
Kalman Alpha 0–1: Smoothing factor for the midline. Higher = more responsive, lower = smoother.
Volatility Length: RMA length of True Range for the volatility buffer.
Volatility Multiplier: Scales the buffer around the midline. Higher widens the trail, reducing flips.
Uptrend Color / Downtrend Color: Trail and body color by regime.
Show Cloud To Close: Fills between price and trail using the trail’s color.
Hide Default Candles: Makes the native candles fully transparent.
Show Dotted Price Line / Price Line Color: Toggles and colors the dotted price line.
Ranging parameters:
BB Length (Ranging) and BB Multiplier (Ranging): Bollinger Band settings.
Range Threshold %: If BB width% < threshold, candles turn gray to indicate range.
Use Smoothed Width / Width Smoothing Length: Smooths BB width% before comparison.
Signals and interpretation
Regime shifts:
Bullish flip: When price closes above both the smoothed midpoint and the current trail. Trail switches to the lower band (kMid - offset) and ratchets up.
Bearish flip: When price closes below both the smoothed midpoint and the current trail. Trail switches to the upper band (kMid + offset) and ratchets down.
Trend bias:
Green trail/body: Favor long bias; trail can serve as a dynamic stop.
Red trail/body: Favor short bias; trail can serve as a dynamic stop.
Ranging filter:
Gray candles: Lower-probability trend continuation; consider reducing position sizing, waiting for a breakout, or using mean-reversion tactics.
How to use it
Trend following:
Enter in the direction of the regime when flips occur or on pullbacks that respect the trail.
Use the trail as a stop-loss guide: exit when price closes beyond the trail and the regime flips.
Range awareness:
When candles turn gray, avoid trend entries or switch to range tactics. Wait for color to return and a clean flip.
Tuning suggestions:
Faster, more responsive: Lower Donchian Length, increase Alpha, lower Volatility Length and/or Volatility Multiplier.
Smoother, fewer flips: Increase Donchian Length, decrease Alpha, increase Volatility Length and/or Volatility Multiplier.
Ranging strictness: Increase Range Threshold % to mark ranges more often; smooth the width to avoid choppiness.
Example settings
Swing trading:
Donchian Length: 50
Alpha: 0.25
Vol Length: 14
Vol Mult: 1.6
BB Length: 20, BB Mult: 2.0, Range Threshold %: 2.0, Smoothed width ON (20)
Intraday (more responsive):
Donchian Length: 20–30
Alpha: 0.4–0.6
Vol Length: 10–14
Vol Mult: 1.2–1.6
Range Threshold %: 1.5–2.5 depending on instrument
Alerts (suggested)
Regime flips:
Condition: close > dynTrail and close > kMid -> Alert: Bullish regime
Condition: close < dynTrail and close < kMid -> Alert: Bearish regime
Range state:
Condition: BB width% < threshold -> Alert: Ranging
You can wire these using alertcondition() on the flip conditions and isRange variable inside the script.
Notes and limitations
This is a single-side ratcheting trail per regime, designed to reduce whipsaw by requiring price to clear both the midpoint and the trail before flipping.
Like all trend tools, it can lag tops/bottoms and may chop in low-volatility, sideways markets.
For assets with highly irregular volatility, retune Volatility Multiplier and Range Threshold %.
Short description (for header):
Adaptive, single-line trailing stop based on Kalman-smoothed Donchian mid + ATR-style buffer. Colors candles by regime, grays out ranges via BB width. Optional price line and cloud.
If you want, I can add alertcondition() for the flip and range events and a light custom-candle overlay so you can publish with built-in alert templates and consistent candle styling.
30-Week SMA (Fixed)This indicator plots a true 30-week Simple Moving Average (SMA) on any chart, regardless of the selected timeframe.
It uses weekly candle data (via the request.security() function) to calculate the 30-week average and keeps it fixed — meaning the line remains accurate even when you switch to daily, 4-hour, or other timeframes.
The 30-week SMA is a cornerstone of Stan Weinstein’s Stage Analysis strategy, commonly used to identify major trend phases:
Above a rising SMA → bullish (Stage 2 uptrend)
Below a falling SMA → bearish (Stage 4 downtrend)
Use this indicator to maintain a consistent long-term trend filter on all timeframes
Bollinger Bands Breakout StrategyHey guys check out this strategy script.
Chart plotting:
I use a classic plot of Bollinger Bands to define a consolidation zone, I also use a separate Trend Filter (SMA).
Logic:
When the price is above the SMA and above the Bollinger Upper Band the strategy goes Long. When the price is below the SMA and below the Bollinger Lower Band the strategy goes Short. Simple.
Exits:
TP and SL are a percentage of the price.
Notes: This simple strategy can be used at any timeframe (I prefer the 15min for day trading). It avoids consolidation, when the price is inside the Bollinger Bands, and has a good success rate. Adjust the Length of the BB to suit your style of trading (Lower numbers=more volatile, Higher numbers=more restrictive). Also you can adjust the Trend Filter SMA, I presonally chose the 50 SMA. Finally the SL/TP can be also adjusted from the input menu.
Test it for yourself!
Have great trades!
Dot traderInterpret Signals: Green triangles indicate buy (e.g., if BTC holds $109k with bullish crossover); red triangles indicate sell (e.g., if it breaks $108k with bearish divergence).
Candle Colors: Green/bullish, red/bearish, orange/overbought (>70 RSI), blue/oversold (<30 RSI).
Alerts: Enable in TradingView for real-time notifications.
EMA(9) / SMMA(14) Crossover Alert with time blocksThis Pine Script v6 code is a Moving Average Crossover Alert Indicator that generates trading signals and alerts only within a specified time window. It uses a faster Exponential Moving Average (EMA) and a slower Smoothed Moving Average (SMMA) to identify potential shifts in market momentum.
Key Features and Logic
1. Moving Average Calculations
The indicator plots two moving averages (MAs) on the chart:
Fast MA (EMA 9): An Exponential Moving Average (EMA) with a default length of 9 periods. The EMA reacts more quickly to price changes.
Slow MA (SMMA 14): A Smoothed Moving Average (SMMA) with a default length of 14 periods. The SMMA (calculated using ta.rma in Pine v6) smooths price data more than a standard Simple Moving Average.
The user can customize both the EMA Length and SMMA Length via the indicator settings.
2. Time Window Restriction ⏰
The script incorporates a critical time filter to restrict all signals and alerts to a specific daily trading session.
Time Session: The alerts are restricted to the time between 6:30 AM CST and 2:30 PM CST.
Implementation: This is achieved by converting the Central Time (CST) range to 7:30-15:30 (EST) and applying the time() function with the "GMT-5" timezone (which covers EST/EDT). The boolean variable time_in_range is only true when the current bar falls within this time window.
3. Crossover Signals
The code defines two primary crossover events, which represent the trading signals:
Bullish Cross (Cross Up): The EMA 9 (blue line) crosses above the SMMA 14 (red line), indicating bullish momentum.
Bearish Cross (Cross Down): The EMA 9 (blue line) crosses below the SMMA 14 (red line), indicating bearish momentum.
4. Visuals and Alerts
Plots: Both the EMA 9 (blue) and SMMA 14 (red) lines are plotted directly on the price chart (overlay=true).
Visual Highlights: Small plotshapes are drawn on the chart only when a crossover occurs and the time is within the specified time_in_range window:
Green Triangle Up: for a Bullish Cross.
Red Triangle Down: for a Bearish Cross.
Alerts: Two separate alertcondition calls are configured to trigger external notifications. Crucially, the alerts will only fire if both the crossover condition AND the time_in_range condition are met. The alerts include dynamic placeholders for the ticker, interval, and closing price.
Symmetric MA DeviationThis script used the 50 simple moving average and calculates how far the price is from it.
It can be used for looking at extremes in price and bullish / bearish divergence.
Fiyat - 55 EMA Uzaklık SinyaliThis indicator generates a signal when the price moves a certain percentage away from the 55-period Exponential Moving Average (EMA).
It helps traders identify when the market is stretched too far from its mean level, which can indicate potential reversal or continuation zones.
⚙️ How It Works
Calculates the 55 EMA on the selected chart.
Measures the percentage distance between the current price and the 55 EMA.
When the price distance exceeds the user-defined threshold (default: 0.50%), a visual signal (orange triangle) appears on the chart.
The background also highlights the signal candle.
🧩 Inputs
EMA Length: Default = 55 (can be changed).
Distance Threshold (%): Default = 0.50 → Change to detect stronger or weaker price deviations.
Trend Alignment TableThe Trend Alignment Table is a clean, visual tool designed to quickly assess trend direction and alignment across multiple moving averages — without cluttering your chart.
Instead of plotting moving average lines, this indicator displays a compact on-chart table showing each selected MA and its corresponding trend status using color-coded circles.
🧩 How It Works
Each circle represents the relationship between price and its corresponding moving average (MA):
Price vs. MA MA Direction Circle Color Meaning
Above Rising 🟢 Green Bullish continuation
Above Falling 🟡 Yellow Weakening bullishness
Below Falling 🔴 Red Bearish continuation
Below Rising 🟡 Yellow Weakening bearishness
⚙️ Features
Up to 4 customizable moving averages
Type: SMA, EMA, SMMA (RMA), WMA, VWMA
Source: Any price source (close, open, etc.)
Length: Fully adjustable
Dynamic color-coded circles (green, yellow, red by default — fully customizable)
User-selectable table position (top-left, top-right, bottom-left, bottom-right)
Clean visual layout for quick multi-timeframe trend confirmation
📊 Use Cases
Instantly identify trend alignment across short-, medium-, and long-term averages
Confirm trend strength or weakening momentum
Combine with other indicators or strategies for confirmation signals
🧠 Default Settings
MA Type Length Color
MA #1 SMA 5 Green
MA #2 SMA 20 Gold
MA #3 SMA 50 Orange
MA #4 SMA 150 Red
🧰 Created for traders who value clarity.
Whether you trade trends, reversals, or momentum shifts, the Trend Alignment Table gives you a concise, at-a-glance view of the market’s directional structure.
Senkou Span AUse it in conjunction with Senkou Span B to create effective kumo alert signals when kumo changes direction: bullish or bearish.
EMA Tutorial - 1Buy when in downtrend and close above EMA_50
Buy when in uptrend and below EMA_50
adjust ema length and risk reward for other stocks. Works good with nifty. Need to perform stress test on it
EMA Bollinger Bands with FVG Boxes Outside//@version=6
indicator("EMA Bollinger Bands with FVG Boxes Outside", overlay=true)
// Input parameters
length = input.int(50, "EMA Length")
mult = input.float(2.0, "Bollinger Band Multiplier", step=0.1)
fvg_color_up = input.color(color.new(color.green, 80), "FVG Up Box Color")
fvg_color_down = input.color(color.new(color.red, 80), "FVG Down Box Color")
extension_length = input.int(3, "Box Extension Bars to Right", minval=0, maxval=50)
// Calculate EMA and EMA-based Bollinger Bands
ema_val = ta.ema(close, length)
dev = mult * ta.stdev(close, length)
upper_band = ema_val + dev
lower_band = ema_val - dev
// Plot EMA Bollinger Bands
plot(upper_band, "Upper Band", color=color.blue)
plot(ema_val, "EMA", color=color.orange)
plot(lower_band, "Lower Band", color=color.blue)
// Function to detect Fair Value Gaps (FVG)
// Bullish FVG when low of current bar > high of bar 2 bars ago
fvg_up = low > high
// Bearish FVG when high of current bar < low of bar 2 bars ago
fvg_down = high < low
// Check if FVG is outside Bollinger Bands
fvg_up_outside = fvg_up and low > upper_band
fvg_down_outside = fvg_down and high < lower_band
// Draw bullish FVG box, extended to the right by extension_length bars
if (fvg_up_outside)
box.new(left=bar_index , top=high , right=bar_index + extension_length, bottom=low, bgcolor=fvg_color_up, border_color=fvg_color_up)
// Draw bearish FVG box, extended to the right by extension_length bars
if (fvg_down_outside)
box.new(left=bar_index , top=low , right=bar_index + extension_length, bottom=high, bgcolor=fvg_color_down, border_color=fvg_color_down)
ADR + MOVE BoxADR + Move 20 day average Box for any ticker. Calculates the average daily range as well as the absolute delta from open to close. For Full day as well as NY session only





















