Candlestick analysis
Live SPX Buy/Sell Zones (Simulated)This indicator allows you to see when people bought and sold by the grace of Jesus Christ
Live SPX Buy/Sell Zones (Simulated)This is a indactor that best indicates whats happening with buyers and sellers
Z Score 主图策略 — v1.02Hello Traders,
Here is my new year gift for the community, Digergence for Many Indicators v4. I tried to make it modular and readable as much as I can. Thanks to Pine Team for improving Pine Platform all the time!
How it works?
- On each candle it checks divergences between current and any of last 16 Pivot Points for the indicators.
- it search divergence on choisen indicators => RSI , MACD , MACD Histogram, Stochastic , CCI , Momentum, OBV, VWMACD, CMF and any External Indicator!
- it checks following divergences for 16 pivot points that is in last 100 bars for each Indicator.
--> Regular Positive Digergences
--> Regular Negative Digergences
--> Hidden Positive Digergences
--> Hidden Negative Digergences
- for positive divergences first it checks if closing price is higher than last closing price and indicator value is higher than perious value, then start searching divergence
- for negative divergences first it checks if closing price is lower than last closing price and indicator value is lower than perious value, then start searching divergence
Some Options:
Pivot Period: you set Pivot Period as you wish. you can see Pivot Points using "Show Pivot Points" option
Source for Pivot Points: you can use Close or High/Low as source
Divergence Type: you can choose Divergence type to be shown => "Regular", "Hidden", "Regular/Hidden"
Show Indicator Names: you have different options to show indicator names => "Full", "First Letter", "Don't Show"
Show Divergence Number: option to see number of indicators which has Divergence
Show Only Last Divergence: if you enable this option then it shows only last Positive and Negative Divergences
you can include any External Indicator to see if there is divergence
- enable "Check External Indicator"
- and then choose External indicator name in the list, "External Indicator"
- External indicator name is shown as Extrn
- related external indicator must be added before enabling this option
Coloring, line width and line style options for different type of divergences.
Following Alerts added:
- Positive Regular Divergence Detected
- Negative Regular Divergence Detected
- Positive Hidden Divergence Detected
- Negative Hidden Divergence Detected
Now lets see some examples:
GoldBurst-15min · Gold DayTrade Session Burst StrategyWhat makes it original & useful
Session micro-structure edge – exploits two well-documented volatility pockets in spot gold:
• NY futures pit open (13:05-13:35 UTC)
• London 15 h fix (14:45-15:15 UTC)
Adaptive confirmation stack
Daily-anchored VWAP to locate fair value.
Real-time volume-spike filter (live vs. 20-bar median) to catch crowd surges.
60 min EMA slope for higher-TF trend bias (no look-ahead).
Risk in context – ATR-scaled stops/targets + bars-held timer flatten positions before liquidity evaporates.
Clean visual dashboard – live window status & bias label; uncluttered chart footprint.
How the logic fires
Step Long setup (mirror for shorts)
1 Inside active session window.
2 Volume ≥ median × Vol Spike input (default = 1.3).
3 60 m EMA rising.
4 Price closes > VWAP + 0.5 × ATR ⇒ market order next bar.
5 Exit at 1.6 × ATR TP, 0.8 × ATR SL or after 2 bars (~30 min).
Max 2 trades per window; flat outside windows.
Key inputs
Input Purpose Default
ATR Length Volatility base 20
TP / SL × ATR Reward / risk 1.6 / 0.8
Volume Spike × Median Crowd filter 1.3
Trades / Window Over-trading guard 2
Time Exit (bars) Stay-in-market cap 2
Default back-test settings (Properties → Strategy)
Chosen for realistic retail conditions; please adjust to suit your broker.
Capital: 100 000 USD
Order size: 1 % of equit
Commission: 0.15 USD/contract
Slippage: 5 ticks
Pyramiding: 1
Recalculate: on bar close, bar-magnifier ON
Dataset: XAUUSD, 15 min
How to use it
Load on a 15 min XAUUSD chart set to UTC.
Keep default Inputs first; tweak ATR multiples or volume factor only after validating.
Combine with macro or DXY overlays to avoid trading into major news spikes.
Limitations & risk notice
Designed for spot gold only; other metals require re-tuning.
Highly dependent on tight spreads during bursts—use an ECN broker.
Past performance ≠ future results; test forward on demo before going live.
SMA Smooth Market Structure (Multi-Timeframe)SMA Market Structure (Multi-Timeframe) is a powerful tool for tracking structural price action, using simple moving averages across any higher timeframe (HTF). It blends Smart Money Concepts with clean swing logic to reveal trend shifts, breaks of structure, and supply/demand zones.
This indicator highlights key structure features:
• Break of Structure (BOS) – Automatic detection of bullish or bearish swing breaks
• Internal Shifts – Early clues that the market is building toward a reversal
• Liquidity Sweeps (LS) – Detects swing failures that may trap traders
• Zigzag Swing Lines – Cleanly connects swing highs and lows
• Dynamic Zones – Demand (green) and supply (red) blocks drawn from engulfing breakouts
How to Use:
• Set your preferred HTF (e.g. 1H on a 15m chart) to view structure in proper context and
adjust SMA to smooth out market structure for directional consistency
• Watch BOS lines and swing labels like HH, HL, LH, LL for directional clarity
• Use the MS (Market Shift) label to identify full reversals after internal shifts + BOS
• Demand/Supply zones mark areas of previous strength and will update or mitigate automatically
• Alerts notify you of every BOS, MS, HH, LL, and LS event — no need to monitor manually
Customization Features:
• Toggle visibility of market shift markers, internal shifts, and zones
• Choose how internal shifts are calculated (High/Low or Open)
• Customize line style, width, and colors for BOS and zigzag lines
• Control zone duration and how mitigated zones behave (fade or delete)
• Built-in safety for Pine Script’s history limits using smart offset caps
Best Use Tips:
• Combine with price action patterns or volume for confirmation
• MS + BOS + zone tap often marks a high-probability reversal setup
• Use it to align lower timeframe entries with higher timeframe structure
For traders who want structure clarity without clutter, this tool is built to keep your chart actionable and adaptive.
Crypto Master IndicatorThe Crypto Master Indicator (CMI) is a custom technical indicator for the TradingView platform, developed in Pine Script, designed to assist traders, especially in the cryptocurrency market, in identifying buy and sell opportunities based on multiple technical indicators combined. It is an overlay indicator that integrates multiple technical analysis tools to generate clear and visually accessible trading signals.
Z-Score Volume with CVD ConfirmationZ-Score Volume with CVD Confirmation is a volume-based confluence tool that enhances traditional volume analysis by combining Z-Score volume anomalies with Cumulative Volume Delta (CVD) confirmation. This indicator helps traders identify unusual volume activity that aligns with directional order flow, offering a cleaner signal for potential breakout or reversal scenarios.
🔍 Key Features:
Z-Score Calculation: Measures how extreme current volume is relative to its recent average, highlighting statistically significant surges or drops.
CVD Confirmation: Uses Cumulative Volume Delta candles (open/high/low/close) to assess buying vs. selling pressure in lower timeframes.
Bar Color Logic:
Green: High Z-Score volume confirmed by CVD bullish candle
Red: High Z-Score volume confirmed by CVD bearish candle
Other color bands show progressively strong or weak volume outliers
Real Volume Bar Heights: Volume bars retain true scale while color reflects underlying order flow strength and direction.
💡 Use Cases:
Breakout validation: Confirm price range breaks when volume surge is supported by CVD direction
Fade setups: Detect unsustainable high-volume moves lacking CVD support
Trend continuation: Spot momentum when both Z-Score and CVD align in the direction of the trend
⚙️ How to Use:
Adjust the Z-Score length to define how far back to measure average and deviation.
Select your anchor timeframe (typically 1D) and a lower timeframe for CVD calculations (e.g., 1-minute).
Use color-coded volume bars to assess volume significance and directional flow at a glance.
Add the standard volume indicator to the chart so one can compare the difference between the standard volume indicator and the Z-Score Volume with CVD Confirmation script. Useful at specific price levels and exiting ranges or not.
Opening candle indicator
The indicator only works in the US and Saudi markets. Its idea is to draw a line for the highest and lowest prices of the first opening candle on a five-minute frame. A break of the highest price of the candle means a buy, while a break of the lowest price of the candle means a sell. Three lines are drawn as price targets calculated at twice the length of the opening candle... The lines in the previous trading session disappear when the current session begins.
Exponential moving averages can be used to help decide whether to stay in the trade or sell.
When using the indicator, you must go to the indicator settings and change the market.
يعمل هذا المؤشر فقط في السوقين الأمريكي والسعودي. وتتمثل فكرته في رسم خط لأعلى وأدنى سعرين للشمعة الافتتاحية الأولى على إطار زمني مدته خمس دقائق. كسر أعلى سعر للشمعة يعني الشراء، بينما كسر أدنى سعر للشمعة يعني البيع. تُرسم ثلاثة خطوط كأهداف سعرية محسوبة بضعف طول الشمعة الافتتاحية... تختفي خطوط جلسة التداول السابقة عند بدء الجلسة الحالية.
يمكن استخدام المتوسطات المتحركة الأسية للمساعدة في تحديد ما إذا كان ينبغي الاستمرار في التداول أم البيع. عند الرغبة في استخدامه يجب الذهاب لإعدادت المؤشر وتحديد السوق إما الأمريكي أو السعودي.
Aftershock Playbook: Stock Earnings Drift EngineStrategy type
Event-driven post-earnings momentum engine (long/short) built for single-stock charts or ADRs that publish quarterly results.
What it does
Detects the exact earnings bar (request.earnings, lookahead_off).
Scores the surprise and launches a position on that candle’s close.
Tracks PnL: if the first leg closes green, the engine automatically re-enters on the very next bar, milking residual drift.
Blocks mid-cycle trades after a loss until the next earnings release—keeping the risk contained to one cycle.
Think of it as a sniper that fires on the earnings pop, reloads once if the shot lands, then goes silent until the next report.
Core signal inputs
Component Default Purpose
EPS Surprise % +0 % / –5 % Minimum positive / negative shock to trigger longs/shorts.
Reverse signals? Off Quick flip for mean-reversion experiments.
Time Risk Mgt. Off Optional hard exit after 45 calendar days (auto-scaled to any TF).
Risk engine
ATR-based stop (ATR × 2 by default, editable).
Bar time stop (15-min → Daily: Have to select the bar value ).
No pyramiding beyond the built-in “double-tap”.
All positions sized as % of equity via Strategy Properties.
Visual aids
Yellow triangle marks the earnings bar.
Diagnostics table (top-right) shows last Actual, Estimate, and Surprise %.
Status-line tool-tips on every input.
Default inputs
Setting Value
Positive surprise ≥ 0 %
Negative surprise ≤ –5 %
ATR stop × 2
ATR length 50
Hold horizon 350 ( 1h timeframe chart bars)
Back-test properties
Initial capital 10 000
Order size 5 % of equity
Pyramiding 1 (internal re-entry only)
Commission 0.03 %
Slippage 5 ticks
Fills Bar magnifier ✔ · On bar close ✔ · Standard OHLC ✔
How to use
Add the script to any earnings-driven stock (AAPL, MSFT, TSLA…).
Turn on Time Risk Management if you want stricter risk management
Back-test different ATR multipliers to fit the stock’s volatility.
Sync commission & slippage with your broker before forward-testing.
Important notes
Works on every timeframe from 15 min to 1 D. Sweet spot around 30min/1h
All request.earnings() & request.security() calls use lookahead_off—zero repaint.
The “double-tap” re-entry occurs once per winning cycle to avoid drift-chasing loops.
Historical stats ≠ future performance. Size positions responsibly.
STMDUpdated Setup Rules
Buy condition:
SMA 8 > SMA 13 > SMA 20 (aligned and pointing up).
All 3 averages are rising (positive slope).
Entry candle is a power candle (bullish elephant bar).
SELL condition:
SMA 8 < SMA 13 < SMA 20 (aligned and pointing down).
All 3 averages are falling (negative slope).
Entry candle is a power candle (bearish elephant bar).
Intraday & Annual CAPM AlphaIntraday & Annual CAPM Alpha
This TradingView™ Pine v6 indicator computes and plots a stock’s CAPM α (alpha) on both intraday and daily/annualized timeframes, allowing you to monitor relative performance against a chosen benchmark (e.g. SPX, NDX).
⸻
Key Outputs
1. Intraday α per Bar (blue line)
• Calculates α from a rolling-window linear regression of the last N bars’ returns (default 60).
• Expressed as “extra return per bar” vs. the benchmark.
2. Intraday α Daily-Equivalent (stepped blue line)
• Scales the per-bar α to a full trading day (390 minutes), showing “if this pace held all day, outperformance (%)”.
3. Annualized α (yellow line)
• Performs the same CAPM regression on daily returns over a D-day lookback (default 252), then annualizes α by multiplying by 252.
• Indicates longer-term relative strength/weakness vs. the benchmark.
⸻
Inputs
• Benchmark Symbol: Choose any index or ETF (e.g. “SPX”, “NDX”).
• Intraday Lookback Bars: Number of bars for intraday α regression (default 60).
• Daily Lookback Days: Number of trading days for daily CAPM regression (default 252).
• Use Log Returns?: Toggle between arithmetic vs. log returns.
⸻
How to Use
• Short-Term Signals:
• Watch the blue α/bar line on 1–15 min charts. A cross from negative to positive suggests intraday outperformance; a reversal warns of weakening momentum.
• The blue daily-equivalent α gives a smoother view—e.g. > +1% signals strong intraday bias, < –1% signals underperformance.
• Long-Term Trends:
• On daily charts, focus on the yellow annualized α. A sustained positive α implies this stock has historically beaten the benchmark; sustained negative α implies the opposite.
• Combining Timeframes:
• Use intraday α for timing entries/exits within the session, and annualized α to confirm whether you want a bullish or bearish bias over days to weeks.
⸻
Install & Configure
1. Copy the Pine v6 script into the TradingView Pine Editor.
2. Set your favorite benchmark, lookback periods, and returns type.
3. Add to your chart to start visualizing real-time CAPM α signals!
Feel free to adjust the lookback windows and threshold levels to suit your trading style.
Advanced VWAP (Webull-style + Bands + Anchor)//@version=6
//© 2025 YourNameHere (optional)
//This script plots an advanced VWAP with optional bands and anchoring
/*
────────────────────────────────────────────────────────────
🔹 Advanced VWAP (Webull-style + Bands + Anchor)
────────────────────────────────────────────────────────────
This indicator replicates Webull-style VWAP behavior by:
• Calculating VWAP during only regular trading hours (9:30 AM – 4:00 PM ET)
• Optionally including pre-market and post-market sessions
• Supporting VWAP bands at ±1σ and ±2σ for volatility analysis
• Optional anchor feature to start VWAP from a custom price level
────────────────────────────────────────────────────────────
📌 Features:
────────────────────────────────────────────────────────────
✅ VWAP calculated using (High + Low + Close) / 3
✅ Optional inclusion of extended hours
✅ Toggleable ±1σ and ±2σ bands (standard deviation)
✅ Anchor VWAP to any price breakout (e.g., yesterday's high)
────────────────────────────────────────────────────────────
🛠 How to Use:
────────────────────────────────────────────────────────────
1. Toggle "Include Extended Hours" to match your broker (like Webull).
2. Use anchor mode to begin VWAP when price crosses a key level.
3. Use bands to identify overbought/oversold zones.
4. Combine with price action for momentum/bounce trades.
────────────────────────────────────────────────────────────
🔔 Tips:
────────────────────────────────────────────────────────────
• Use this VWAP on 1m–15m charts for intraday momentum.
• Set anchor to a specific price like previous day open/high/low.
• Bands are useful for scalping and mean-reversion entries.
────────────────────────────────────────────────────────────
📧 Created by: Adebola| © 2025
────────────────────────────────────────────────────────────
*/
Simple Sessions & LevelsWhat this indicator does:
This script marks out two essential types of price levels for intraday and swing traders:
The high and low of a customizable 15-minute opening range after the market/session open.
The previous day’s high, midpoint (“halfback”), and low.
How it works:
The script lets you set the session start time (hour and minute) to match your market.
It then calculates the high and low of the first 15 minutes after the session opens and plots those as solid lines.
It also plots the prior day’s high, halfback (midpoint), and low on your chart for easy reference.
Each line and each label can be toggled on or off independently in the settings for maximum customization.
Colors for each level are also fully customizable.
How to use it:
Add the script to your chart.
Set the session start hour and minute to match the open of the market or instrument you trade.
Choose which levels and labels you want displayed by using the toggles in the settings.
The indicator will automatically draw the session range and prior day levels for you.
Use these lines as reference for key support, resistance, and potential trade entry/exit points.
What makes it unique and useful:
This tool combines a flexible session opening range with classic daily reference levels in one package. You have complete control over which levels and labels are shown, making it adaptable for any trading style. It’s especially useful for day traders who want to quickly identify volatility windows and the most important price levels from the previous session.
Relative Strength Index + Golden Cross + MACDThis script is a high-performance, cleanly visualized indicator designed for swing traders and intraday scalpers. It combines multiple classic and modern techniques to help identify momentum trends, crossover signals, and smart entry zones.
🔧 Key Features:
RSI (Relative Strength Index) with gradient bands (overbought/oversold zones)
Golden Cross & Death Cross (SMA 50/200) with green/red + markers
SMA 50 over 150 (bullish crossover) with a blue + marker
MACD Crossover Dots (green for bullish, red for bearish)
Supertrend Dots for direction confirmation (lime/fuchsia)
Smart Entry Dot when RSI > 50, MACD bullish, and SMA50 > SMA200 (teal triangle)
Background Highlight for strong trend momentum using custom ADX + RSI filter
🎯 Ideal For:
Scalping with momentum confirmation
Swing trading on multi-timeframe alignment
Combining traditional indicators with clean visuals
🧪 Suggested Use:
Use this indicator in combination with support/resistance or price action. Filter out low-probability trades by focusing on:
Smart Entry signals during momentum backgrounds
Cross-check with Supertrend direction and RSI slope
Stock World 23.0Stock World is an authorised training partner of BFSI Sector skill council of India ...
We have our own trademark...
if you want to use this indicator then you should have proper strategy , money management & hedging ...
all the best
MACD Candle HighlightCandle close above previous low and MACD negative crossover state can be sell signal
and vice versa... higher time frame view is important to follow this
Señal Divina 2If 1 point is worth \$12.50, you're trading the **E-mini S\&P 500 Futures (symbol: ES)**. Each tick is 0.25 points and worth \$12.50, so 1 full point = 4 ticks = \$50. This means you're trading 1 contract of ES, not the Micro (MES), which is only \$1.25 per tick.
If 1 point is worth \$12.50, you're trading the **E-mini S\&P 500 Futures (symbol: ES)**. Each tick is 0.25 points and worth \$12.50, so 1 full point = 4 ticks = \$50. This means you're trading 1 contract of ES, not the Micro (MES), which is only \$1.25 per tick.
RSI Divergence With RRI have included the levels by default 20,38,40,60,65 And 80.
Divergence is marked Automatically.
3BULLINK - Bullish EMA Bundle with RSITimeframes: 15m, 1H, 4H, Daily
EMAs 20, 50, 100 above EMA200
A single bullish candle links EMA 20, 50, 100
RSI must be between 50 and 65
Cooldown of 10 candles
Prints orange label "3BULLINK" and creates a ready-to-use alert