ADX DMI SqueezeThis is my version of the ADX/DMI with added some added features.
J. Welles Wilder Jr. is the creator and originator of the Average Directional Movement Index (ADX) and the Directional Movement Index (DMI) so I encourage you to learn more about this indicator.
I like to scalp the NASDQ and I like taking breakouts above/blow the Bollinger Band (std def one) and or the BB 20 sma . I also use VWAP.
On the chart is my indicator VWAP BB MA which has Vwap and BB if your wanting a combination.
I like taking longs when price is above VWAP, shorts when below VWAP, doing this keeps you on the right side of the market.
You will need to work the settings of the ADX Squeeze to get the best of it for your style of trading. This indicator is just that, It indicates what price has done so, like all indicators it lags however, look at price first then the indicators might support your ideas.
As time evolves I’ll be maintain and doing updates.
ADX DMI Squeeze – How to Use
Overview
This indicator combines:
ADX / DMI → Measures trend strength and direction
ADX Squeeze Histogram → Shows when the trend is accelerating or “squeezing” for a breakout
Triangles → Highlight potential expansion points
Optional DI+ / DI− lines → Show bullish/bearish dominance
ADX Threshold Lines (15 / 20) → Help filter weak trends
Early ADX Acceleration Dots → Provide an early heads-up before a squeeze fires
It can be used standalone or alongside other trend tools like VWAP for better entry timing.
Entry Guidelines
Long Trades (Buy):
Histogram above 0
Green triangle appears
ADX rising or above threshold (15/20 recommended)
Optional: DI+ > DI− confirms bullish strength
Short Trades (Sell):
Histogram above 0
Red triangle appears
ADX rising or above threshold (15/20 recommended)
Optional: DI− > DI+ confirms bearish strength
Avoid trades if:
Histogram negative
Triangles appear but ADX below threshold or trend not confirmed by DI linesOptional Filters
Require ADX acceleration: Only shows signals when ADX is increasing → avoids late or false entries
Require VWAP slope: Only triggers signals in line with VWAP trend → improves confluence
Tips
Best on 30-min or higher timeframes for swing/short-term trend trades
Can be combined with VWAP, support/resistance, or Bollinger Bands
Use DI lines toggle if you want extra visual trend confirmation
Adjust DMI length (sensitivity) and ADX smoothing for your preferred timeframe
Interpretation
Histogram turning green above 0 + triangle → strong bullish move forming
Histogram turning red above 0 + triangle → strong bearish move forming
ADX above 20 → strong trend, more reliable
ADX below 15 → weak trend, signals less reliable
In short:
Long = Green bars above 0 + Green triangle
Short = Red bars above 0 + Red triangle
Confirm with ADX above threshold and optionally DI lines
מדד כיווני ממוצע (ADX)
iFVG 911 Carrera Inversion FVG Market Structure ToolThe iFVG 911 Carrera is a charting and market-structure analysis tool designed to help visualize inversion Fair Value Gaps (iFVGs), price delivery context, and structural conditions during intraday trading.
This indicator analyzes price behavior to highlight:
Bullish and bearish inversion events
Inversion Fair Value Gap zones
Higher-timeframe Fair Value Gap delivery
Liquidity sweep context
Structural target zones
Optional SMT divergence visualization versus ES
Session-based filtering and visualization
When qualifying conditions align, the indicator displays:
Entry reference levels
Structural stop reference levels
Breakeven and target reference levels
A checklist-style grading panel showing which conditions are present
All calculations are based on historical price data and are intended for educational and analytical purposes only .
This script does not execute trades, provide financial advice, or guarantee results.
The indicator is designed to support:
Market structure study
Intraday session review
Visual backtesting
Process-driven trade planning
Users are responsible for their own trading decisions and risk management.
Feature Explanation (How it works)
Close-through iFVG flips (inversions):
The indicator identifies inversion events when price closes through a qualifying FVG level (“close-through flip”).
Optional 5m backup trigger:
If enabled, a 5-minute inversion can be used as a backup trigger when applicable.
Session filtering:
Trades/setups can be filtered to specific market sessions so users can focus on the times they actively trade.
HTF delivery context (PDA):
When enabled, the script checks higher timeframe FVG zones (15/60/240) to help confirm whether price is delivering from HTF PDA.
Targets + trade levels:
When a setup qualifies, the script plots Entry, BE, TP1 (and optional TP2), and SL as short segments (not extended infinitely) for cleaner charting.
Checklist grading:
Each setup receives a grade using the same checklist categories shown on the on-chart grid:
Liquidity Sweep, HTF PDA Delivery, Volume, iFVG, Clear Targets, SMT w/ ES.
The grade is displayed on-chart and in the checklist table.
Alerts (user-controlled):
Users can toggle alerts for: bullish/bearish inversion created, BE hit, TP1 hit, TP2 hit, SL hit. Alerts can also be gated by session settings.
⚠️ Risk Disclaimer
This indicator is provided for educational and analytical purposes only.
The iFVG 911 Carrera does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All information displayed by this script is based solely on historical price data and technical analysis concepts.
Trading financial markets involves significant risk and may result in losses. Past performance is not indicative of future results. Users are solely responsible for their own trading decisions, risk management, and compliance with applicable laws and regulations.
Use of this indicator is entirely at your own discretion and risk.
Setup Monitor v2 - Pato WarzaThe Multi-Metric Setup Monitor is a sophisticated data dashboard designed for scalpers and day traders who need a "bird's-eye view" of market conditions without leaving their current timeframe. It consolidates trend strength, momentum, and proximity to key levels into a clean, non-intrusive table.
This monitor acts as a logical filter: it cross-references different technical dimensions to prevent you from entering high-risk trades during low-volatility periods or against a strong prevailing trend.
Key Metrics Explained
ADX (1m & 5m): Measures trend intensity. Values over 25 indicate a strong trending market (Red/Green), while values below 20 suggest a sideways/choppy market (Gray).
MACD Trend: A momentum filter that identifies if the immediate buying or selling pressure is accelerating. It ensures you are on the right side of the "current move."
vDist (T) - Distance to Target: A proprietary proximity sensor. It calculates how far the price is from the next major Support or Resistance zone.
Value 0-1: You are "at the door" of a key level. High probability of bounce or breakout.
High Values: Price is in "no man's land." Risky to enter as you are far from a safe stop-loss level.
Target Sentiment: Detects whether the market is currently being "pulled" toward a Bullish or Bearish objective, or if it's in a Neutral state of equilibrium.
Global Trend: The final verdict. It synthesizes multiple timeframes to tell you the path of least resistance: LONG or SHORT.
Why Use This Monitor?
Stop "Chasing" Price: The vDist metric forces you to wait for the price to reach a high-probability zone before clicking "Buy" or "Sell."
Avoid Choppy Markets: By monitoring the 1m and 5m ADX simultaneously, you can stay out of the market when there isn't enough "gasoline" (volatility) to move the price to your take-profit.
Visual Confirmation: The color-coded cells allow for instant decision-making. When the table is mostly Green, the probability of a successful Long is significantly higher.
Technical Implementation
Non-Repainting Logic: All data is fetched and updated in real-time based on closed-bar data to ensure accuracy.
Screen Space Optimized: The table is positioned in the corner of the chart to maintain full visibility of your price action and candles.
Fast Refresh: Optimized for low-latency performance on 15-second charts.
MTF Vitals Decision DashboardMTF Vitals Decision Dashboard is a multi-timeframe “vitals monitor” for the market.
Instead of guessing off one candle or one timeframe, it checks the core vitals—trend, strength, and direction—across 5 timeframes so you diagnose conditions correctly before you act.
🩺 The Vitals Concept
Think of price like a patient:
RSI = temperature (overheated / too cold / stable)
ADX = strength / urgency (is the move strong enough to matter?)
DI Net = directional pulse (bulls vs bears—who actually has control?)
Trend ribbon = posture / gait (is the market walking forward or limping sideways?)
Dir Score = diagnosis score (how many vitals agree?)
This dashboard is designed to help you avoid the most common trading mistake:
treating noisy, mixed signals like a clean trend.
What You Get (Features + Why They Matter)
1) 5-Timeframe Vitals Panel (TF1–TF5)
Defaults: 5 / 15 / 60 / 240 / D, fully editable.
Each timeframe column reports the same vitals so you can instantly see:
Alignment (multiple TFs “agree on the diagnosis”)
Conflict (mixed readings = higher risk)
Transition zones (near-flip conditions where traders get chopped)
Rows Included:
RSI (color-coded)
Green / red bias based on above/below 50
Orange highlights extremes (>70 / <30) so you know when the “patient is overheated/frozen”
ADX (strength / regime)
Two thresholds:
Anchor TF (TF5): ADX Driver
Other TFs: ADX Support
Helps you avoid acting on “weak trend” conditions that look exciting but don’t have force behind them
DI Net (directional pulse)
Shows who’s winning: DI+ vs DI−
Highlights your tight-zone threshold (near flip / indecision zone)
Dir Score (0–4)
A simple “diagnosis score” based on:
Direction agreement (trend vs DI)
RSI confirmation (above/below 50)
ADX above threshold
DI Net outside the tight-zone
Higher score = cleaner multi-factor agreement
Δ / Notes row
Includes deltas for context:
ADX2Δ, RSI2Δ, DI2Δ
Bottom-right Notes cell = TF5 Anchor MA state
“Above / Below / At MA” (default EMA length = 50)
This helps confirm if the anchor timeframe supports the current bias or conflicts with it
2) Trend Ribbon (Chart TF) — “Walk Test”
A thick band that acts like your immediate “go/no-go environment” read:
Uses HMA short vs HMA long for trend direction
Confirms with DMI alignment
Turns neutral (gray) when the diagnosis is unreliable:
DI is tight (near flip)
ADX is weak
HMA trend and DI direction disagree
Purpose: help you avoid forcing trades when the market is technically “alive” but not directionally healthy.
3) Optional Markers (Low Noise, High Meaning)
Toggle each on/off depending on your style.
RSI “R” Release markers (pressure normalization)
RSI was extreme 2 bars ago and has now returned inside normal range
Useful for identifying “pressure release” transitions without adding signal spam.
Bollinger “B” Re-entry markers (reversion context)
Price re-enters the Bollinger Band range from outside
Helpful when you want to see mean-reversion context while still respecting trend/strength.
DI Cross Diamonds (filtered)
Marks DI crossovers only when separation clears your tight-zone threshold
This reduces “false alarms” that happen when DI lines cross inside chop.
How to Use (Doctor Workflow)
Start with the Anchor (TF5):
If TF5 ADX is weak or DI Net is tight, treat conditions like a low-confidence diagnosis.
Look for stacking:
When multiple timeframes show higher Dir Scores with matching DI Net direction, conviction rises.
Check the ribbon:
Neutral ribbon = market is in a “non-diagnostic” state → be selective.
Directional ribbon + alignment = conditions are cleaner.
Use Notes (MA state):
TF5 Above/Below MA gives you one more anchor confirmation check.
Inputs You Control
TF1–TF5 timeframes
ADX thresholds:
ADX Driver (TF5)
ADX Support (TF1–TF4)
DI Net Tight-Zone (±) threshold
MA length for TF5 Notes cell
Display toggles: Ribbon / Markers / Diamonds / Table position + compact mode
Performance limiter: restrict drawing to recent history if needed
Performance & Design Intent
This script is built for clarity over clutter:
One consistent dashboard view
Optional visuals that can be disabled
A history limiter to reduce chart load if desired
Notes
This indicator is a decision support dashboard, not a predictive system.
It helps you interpret conditions across timeframes so you can avoid acting on incomplete or conflicting “vitals.”
Personal trading use only. Not investment advice.
ADX-DMI-HMD1This indicator combines the ADX with the DMI oscillator.
In addition to the ADX, it also includes the ADXR, which is displayed as a black/gray line.
The lower portion below the value of 20 is colored red.
F4 + MACD + RSI + ADX MTF Dashboard📊 F4 + MACD + RSI + ADX Multi-Timeframe Dashboard
A comprehensive at-a-glance view of market conditions across 11 timeframes in one elegant dashboard.
🎯 Overview
This indicator combines four powerful technical analysis tools into a single, easy-to-read multi-timeframe dashboard. Get instant clarity on trend direction, momentum, and strength across all major timeframes without cluttering your chart.
✨ Key Features
Four Proven Indicators in One View:
F4 (Four EMAs Alignment) - Identifies clean trend direction when price aligns above or below all four EMAs
MACD Histogram - Captures momentum shifts and trend changes
RSI (14) - Spots overbought/oversold conditions with dynamic color coding
ADX - Measures trend strength to filter choppy markets
11 Timeframes Monitored Simultaneously:
Intraday: 1m, 3m, 5m, 15m, 30m, 60m, 75m, 188m
Higher Timeframes: Daily, Weekly, Monthly
Color-Coded Clarity:
🟢 Green = Bullish signal
🔴 Red = Bearish signal
⚪ Gray = Neutral/Sideways/Weak
🔧 How It Works
F4 Logic:
Long: Price trades above all 4 EMAs (5, 13, 21, 50)
Short: Price trades below all 4 EMAs
Sideways: Mixed EMA alignment
MACD Signal:
Based on histogram position relative to zero line
RSI Interpretation:
>60 = Bullish momentum
<40 = Bearish momentum
40-60 = Neutral zone
ADX Strength:
>20 = Strong trending market
<20 = Weak/choppy market
💡 Ideal For
✅ Day traders seeking multi-timeframe confirmation
✅ Swing traders identifying trend alignment
✅ Scalpers checking higher timeframe context
✅ Anyone wanting to avoid analysis paralysis with a clean, organized view
⚙️ Customizable Settings
EMA Lengths: Adjust all four EMAs to your preference
MACD Parameters: Customize fast, slow, and signal periods
RSI & ADX Lengths: Fine-tune sensitivity
Table Position: Choose any corner of your chart
📈 Trading Applications
Trend Confirmation: When multiple timeframes align (all green or all red), it signals a strong directional bias
Divergence Spotting: When lower timeframes contradict higher timeframes, anticipate potential reversals
Entry Timing: Use lower timeframe signals for entries while higher timeframes confirm overall trend
Strength Filtering: ADX column helps avoid trading during low-volatility, choppy conditions
🎨 Clean & Professional Design
Minimal screen real estate usage
Clear visual hierarchy with color coding
No chart clutter - pure tabular organization
Updates automatically on each bar close
BK AK-Crosswind Falcon🦅👑 BK AK–Crosswind Falcon (Falcon) 👑🦅
All glory to Gd — the true source of wisdom, restraint, and right timing.
AK is honor — my mentor’s standard: clarity, patience, no shortcuts, no gambling.
A previous version of this publication was hidden by PineCoders moderation Demons for “insufficient description.” This republish includes a complete, self-contained explanation (what it does, how it works, and how to use it).
Falcon is a non-overlay oscillator that compresses classic DMI/ADX into one signed momentum line called Zenith, built to do one thing clean: separate real wind from fake wind.
🧠 What It Does
Falcon plots:
Zenith (signed momentum): derived from +DI/-DI dominance and trend strength
Signal line: configurable MA smoothing of Zenith
TREND vs RANGE regime: via an ADX threshold
Bands / extreme zones: dynamic (stdev) or static, for stretch/exhaustion context
Peak / Valley signals: two modes (instant vs confirmed)
Background engines: multiple modes to “paint the legs” or highlight turns
HUD panel: compact table with regime/bias/scores and status
⚙️ How Zenith Is Built (Core Logic)
Falcon computes classic DMI:
diff = +DI − -DI (directional dominance)
ADX (trend strength)
Then Zenith uses one of 3 formulas:
DI Spread × ADX: direction × trend weight
ADX Signed: ADX with sign from DI dominance
DX Signed (default): signed DX for a raw directional read
Signal line is a selectable MA of Zenith (EMA/SMA/WMA/HMA/ZLEMA/DEMA/TEMA/VWMA/RMA).
Also tracked internally:
Velocity: zenVel (1st derivative of Zenith)
Acceleration: zenAcc (2nd derivative)
🧱 Regime + Bias (What the colors mean)
TREND when ADX ≥ Trend Threshold
RANGE when below threshold
Bias: bull when diff ≥ 0, bear when diff < 0
Optional flash on regime/bias switches.
🎨 Background Mode (Pick how the pane “reads”)
Background Mode controls how Falcon paints legs/turns:
Original (Regime/Dir Flash)
Trend bull/bear tint, range gray, optional flash.
Peak↔Valley Legs (Signals)
Background turns green after Valley, red after Peak (uses your signal engine).
Turn Legs (Hybrid: Extreme+Vel+Price) (default)
Attempts the closest “turn read” without repainting:
Extreme zone + velocity flip + optional price confirmation + optional swing location.
Turn Legs (Slope+Extreme)
Uses Zenith slope flips inside extreme zones.
Slope Direction
Simple: green when Zenith rising, red when falling.
Slope Flip Flash
Flashes only on slope flips.
📏 Bands / Extremes + Dot Cooldowns
Bands can be:
Dynamic: stdev(Zenith, lookback) × multiplier
Static: fixed ± value
Extremes are defined by Extreme Zone % (e.g., 0.65 of the band distance).
Extreme dots (OB/OS) can be enabled and now include cooldowns:
OB Dot Cooldown (bars)
OS Dot Cooldown (bars)
Set to 0 to allow dots every bar in extreme.
This prevents “dot spam” when Zenith rides the band.
🎯 Peak / Valley Signals (Two Modes)
Falcon can signal turns inside extreme zones:
1) Instant Cross
Fires immediately when:
Zenith crosses below Signal near/inside upper extreme (Peak)
Zenith crosses above Signal near/inside lower extreme (Valley)
Includes Extreme Lookback so it can catch crosses right at the edge.
2) Confirmed Pivot (default)
Uses pivots on Zenith:
Peak = confirmed pivot high in extreme
Valley = confirmed pivot low in extreme
Important: Pivot mode confirms after Pivot Right Bars, but plots on the pivot bar using an offset, so you understand where the pivot formed.
Signals also respect:
Cooldown bars
Session filter (optional)
⏱️ Session Filter (Optional)
“Block Off-Hours Signals” suppresses signals outside your defined window (start/end hour/min). This is purely a time gate for signals; Zenith itself still calculates.
🧾 Fixed Calculation Timeframe (Optional)
“Use Fixed Calculation TF” runs the DMI/ADX/Zenith math on a selected timeframe using request.security, while you view it on any chart TF (useful for smoothing).
🖥 HUD (One-glance status)
The HUD shows: TF, signal mode, session status, regime, bias, ADX, Zenith, velocity, exhaustion flag, OB/OS state, and a blended master score.
✅ Practical Use
Regime first: TREND = actionable, RANGE = caution.
Bias next: DI dominance is the directional “wind.”
Signals last: use Peaks/Valleys as permission/awareness, not prophecy.
If it’s too chatty: increase cooldowns, tighten Extreme %, or use Confirmed Pivot.
👑 Solomon Lens (Proverbs) — weigh what’s real, strip what’s noise.
Falcon is that: direction × strength, measured, not vibes.
🙏 Respect + Seal
Respect to AK — discipline, patience, clean execution.
All glory to Gd — the source of wisdom and endurance.
🦅👑 BK AK–Crosswind Falcon — read the wind, earn the move. 👑🦅
Swingtrend Regime [A0A_Indicator]A regime-style oscillator designed to help read swing context and shifting conditions. Clean visuals, configurable display elements, and optional alerts for key state changes.
Allyhshn - Trend Reversal Indicator Allyhshn – Trend Reversal Indicator
Multi-Timeframe RSI & TSI Climax Detection System
Is an advanced multi-timeframe reversal and climax detection tool designed to identify buying and selling exhaustion zones across multiple intraday and higher timeframes.
The script combines RSI extreme conditions, price-location validation, and TSI (True Strength Index) confirmation to isolate high-probability reversal events, filtering noise and avoiding premature signals.
1) Core Concept
The indicator focuses on identifying trend exhaustion and climax events, rather than continuous signals.
A valid signal requires three layers of confirmation:
a) Momentum extreme (RSI Buying or Selling Climax);
b) Price context (price reaching statistically relevant zones);
c) Trend exhaustion confirmation (TSI and TSI EMA thresholds).
This structure makes the indicator particularly suitable for:
* Mean-reversion setups;
* Scalping reversals;
* End-of-move detection;
* Liquidity exhaustion zones.
2) Multi-Timeframe Architecture
Automatic Timeframe Detection
The script automatically detects the active chart timeframe and maps it to an internal enumeration:
Supported Timeframes:
* 5s, 10s, 15s, 30s
* 1m, 5m, 15m, 30m
* 1h, 3h, 6h
Each timeframe has independent parameters, allowing precise tuning per market microstructure.
3) Timeframe-Specific Configuration
For each supported timeframe, the user can independently configure:
RSI Parameters:
* RSI Length – Sensitivity of momentum detection.
* RSI Buying Climax – Upper RSI threshold indicating buying exhaustion.
* RSI Selling Climax – Lower RSI threshold indicating selling exhaustion.
Lookback Context
* Lookback (N candles) – Defines how far price extremes are evaluated to confirm exhaustion.
* Prevents signals from triggering in irrelevant price areas.
Trend & Signal Parameters:
* Trend Overbought / Oversold – Trend context values.
* Trend Signal – Smoothing parameter for internal calculations.
4) Price Location Validation (Context Filter)
To avoid false signals, RSI extremes are not enough on their own.
The script validates whether price is:
* Near the lowest price region of the lookback (bullish exhaustion);
* Near the highest price region of the lookback (bearish exhaustion).
This ensures that:
* Selling climaxes occur near downside extremes;
* Buying climaxes occur near upside extremes.
5) TSI (True Strength Index) Confirmation
Purpose
TSI is used as a trend exhaustion and momentum decay filter.
A signal is validated only when:
* TSI crosses into a predefined bullish or bearish exhaustion zone;
* TSI EMA confirms the loss of directional momentum.
This avoids:
* Counter-trend signals during strong trends;
* Early reversals without momentum decay.
6) Selling Climax Detection (Bullish Reversal)
A Selling Climax is detected when:
* RSI is at or below the Selling Climax threshold;
* Price reaches a statistically relevant lower zone;
* TSI is below the bullish signal threshold;
* TSI EMA confirms momentum exhaustion.
Visualization
* A green upward label (“Selling Climax”) is plotted below price.
* Only the most extreme event within the lookback window is retained.
This highlights zones where:
* Sellers are exhausted;
* Absorption or capitulation may be occurring;
* A bullish reversal becomes statistically favorable.
7) Buying Climax Detection (Bearish Reversal)
A Buying Climax is detected when:
* RSI is at or above the Buying Climax threshold;
* Price reaches a statistically relevant upper zone;
* TSI is above the bearish signal threshold;
* TSI EMA confirms momentum exhaustion.
Visualization:
* A red downward label (“Buying Climax”) is plotted above price.
* Only the most extreme event within the lookback window is retained.
This highlights zones where:
* Buyers are exhausted;
* Distribution or rejection may be occurring;
* A bearish reversal becomes statistically favorable.
8) Signal De-Duplication & Quality Control
To maintain chart clarity and signal quality:
* Only one active signal per direction is maintained within the lookback window;
* New signals replace old ones only if they occur at more extreme price levels;
* The total number of visible labels is capped via user input.
This prevents:
* Signal clustering;
* Visual noise;
* Over-interpretation of repeated RSI extremes.
9) Visual Placement & Chart Integration
* Labels are positioned using ATR-based vertical padding to avoid overlap with candles.
* Signals are drawn directly on the price chart (`overlay=true`).
* Designed to remain readable on ultra-low timeframes (seconds charts).
10) Display Controls
Global Controls:
* Show Flags – Enable or disable all signals.
* Only in Event – Optional filter to restrict display to true event transitions.
* Display (N) Flags – Limits the number of historical signals shown.
11) Intended Use Cases
This indicator is designed for traders who:
* Trade reversals and mean reversion;
* Operate on scalping and intraday timeframes;
* Look for exhaustion rather than continuation;
* Combine RSI with structural price context.
It works especially well when combined with:
* Order Flow / Volume Delta tools;
* Liquidity and absorption analysis;
* Support & resistance frameworks.
12) Account & Data Compatibility
* Uses only native TradingView indicators (RSI, ATR, EMA, TSI).
* Works on all TradingView accounts.
* No external data or proprietary feeds required.
13) Key Strengths
* True multi-timeframe independence;
* Strong noise filtering;
* Context-aware RSI usage;
* Clear, non-repainting climax signals;
* Professional-grade reversal logic.
14) Account Compatibility
* Does not require proprietary order book or footprint data.
* Works on all TradingView accounts.
* Uses only publicly available TradingView Information.
Scalping Dashboard by Jitendra396Scalping Dashboard with Multi Time Frame Signal
Overview Summary of This Indicator
Scalping Dashboard is an advanced multi timeframe Trading Dashboard designed for scalpers, intraday traders, and swing traders.
It combines trend, momentum, volatility, volume, and sniper-entry logic into a single clean panel — helping traders make faster and more confident decisions.
This indicator works on any market (Stocks, Indices, Futures, Crypto, Forex)
Key Features / What This Indicator Does
View market strength across multiple timeframes in one table:
5m, 15m, 30m, 60m, 120m, 240m, Daily (customizable)
Each timeframe shows:
VWAP Position (Above / Below)
MACD Momentum
RSI Strength
ADX Trend Power
Stochastic Direction
EMA 5 / 13 / 21 Position
Final Trade Bias (BUY / SELL / WAIT)
Smart Sniper Entry System
High-probability entry signals based on:
RSI breakout confirmation
Stochastic reversal zone
MACD crossover
Pivot bottom/top confirmation
Multi-Timeframe validation (15m / 60m / Both)
Entry Mode: ANY or ALL conditions
BUY arrows at demand zones
SELL arrows at supply zones
Sniper Entry Logic (Chart Signals)
BUY Triggered only when:
RSI crosses above 40 (coming out of oversold)
RSI is above RSI 14 SMA
Stochastic %K crosses above %D from oversold (<20)
MACD line crosses above signal
Signal occurs at a confirmed swing bottom (pivot low)
Confirmed on 15-minute, 1-hour, or both (user-selectable)
Sniper SELL Triggered only when:
RSI crosses below 60 (coming down from overbought)
RSI is below RSI 14 SMA
Stochastic %K crosses below %D from overbought (>80)
MACD line crosses below signal
Signal occurs at a confirmed swing top (pivot high)
Confirmed on 15-minute, 1-hour, or both
Supertrend Trend Filter
Visual trend confirmation directly on chart:
Helps avoid counter-trend trades
Green = Uptrend
Red = Downtrend
High Volume Candle Detection
Highlights High activity:
Blue candle → Strong buying volume
Black candle → Strong selling volume
Great for spotting breakout & trap moves.
Fully Customizable Dashboard UI
Enable / Disable any column
Enable / Disable any timeframe
Table size: Small / Medium / Large
Table position:
Top / Middle / Bottom
Left / Center / Right
Setting Details
Snapshot/ Image to Understand Changes after Enabling Setting
Snapshot/ Image to Understand Changes after Disabling Setting
Code Summary How This Script Fetches and Calculates Data
High Volume Candle Detection
volMA = ta.sma(volume, volMaLen)
isHighVol = volume > volMA * volMultiplier
barcolor(
enableHighVol and isHighVol and close > open ? color.blue :
enableHighVol and isHighVol and close < open ? color.black :
na)
Sniper BUY / SELL Engine
c1 = ta.crossover(rsi,40)
c2 = rsi > rsiS
c3 = ta.crossover(k,d) and k < 20
c4 = ta.crossover(m,s)
Pivot Confirmation Filter
isBottom = not na(ta.pivotlow(low,pivotLen,pivotLen))
isTop = not na(ta.pivothigh(high,pivotLen,pivotLen))
Thanks
Trading View Community
ULTIMATE SMC FUSION HIGHER TIME FRAMES🔥 ULTIMATE SMC FUSION ADAPTED FOR HIGH TIME FRAMES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The high-performance, refined edition of the v4.1 Fusion suite. This Core version brings the signature "Balanced Entry" logic to your charts with enhanced HTF optimization and a zero-latency interface.
🚀 KEY FEATURES:
• BALANCED SIGNAL ENGINE: A proven mix of structure breaks and momentum-based institutional entries.
• HTF TURN DETECTION: Enhanced logic for Higher Timeframes to find major swing reversal opportunities.
• ON-CHART PERFORMANCE PANEL: Live tracking for win rates and growth stats to keep you in the flow.
• DYNAMIC ATR TARGETS: Take Profit and Stop Loss levels that adapt automatically to market volatility.
• OPTIMIZED SMC OVERLAYS: Clean, professional structure lines and order block visualizers.
• PURE LOCAL PROCESSING: No external API overhead—maximum responsiveness for fast decision making.
BEST FOR: Forex Scalp/Swing, Professional Charting, and Multi-Asset Analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Feel free to adjust the settings to your own needs.
Make your own decisions when you trade, do not put all confidence into a script, it may fail also.
ULTIMATE SMC FUSION 💎 ULTIMATE SMC FUSION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A premier Smart Money Concepts (SMC) indicator that masterfully combines multi-dimensional structure analysis with precision momentum filtering. This edition is optimized for manual SMC traders looking for clarity and performance.
🚀 KEY FEATURES:
• FULL SMC SUITE: Automated Break of Structure (BOS) and Change of Character (CHoCH) detection.
• HTF ADAPTIVITY: Fine-tuned logic specifically for $30m$, $1h$, and $4h$ charts to catch the major institutional moves.
• PRECISION REVERSAL ENGINE: Advanced detection for Pinbar and Engulfing patterns at key liquidity zones.
• SMART SCORING SYSTEM: Integrated analysis of ADX (Trend Strength), RSI (Momentum), and Volume.
• ZERO-API ARCHITECTURE: Streamlined for maximum efficiency on your local TradingView terminal.
• 2026 V2026 VISUALS: Modern, premium interface with glassmorphic stats and high-contrast signals.
BEST FOR: SMC Traders, Prop Firm Challenges, and High-Precision Analysis.
Feel free to adjust the settings to your own needs.
Do not put your full confidence into a script, make your own decisions allways.
Trade at your own risk.
Regime-Filtered Overbought/Oversold V1 (Ariston)《Regime-Filtered Overbought/Oversold V1(Ariston)》是一个overlay主图型的“状态识别”工具,用超买超卖阈值去捕捉极端动量区间,同时用Regime Filter把同样的超买/超卖拆分成“趋势延伸”与“震荡反转”两类完全不同的交易语境,并将结论直接投射到价格图上。
“Regime-Filtered Overbought/Oversold V1 (Ariston)” is an on-chart overlay state-identification tool. It uses overbought/oversold thresholds to capture extreme momentum conditions, and applies a regime filter to split the same OB/OS readings into two very different trading contexts—trend extension versus range reversal—then projects the result directly onto the price chart.
指标的第一层是 Stochastic 计算,它不是一个频繁给出提示的 oscillators,而是更偏“极端状态报警器”:当一致性进入极端区间,才进入可执行的观察窗口。
Layer one is the Stochastic calculation. It is not designed to fire frequent oscillator prompts; it functions more like an “extreme-state alarm.” Only when the signal aligns and enters an extreme zone does it open an actionable observation window.
第二层是 Regime Filter:这个过滤器的意义在于同一个“超买”在趋势中常常代表“强势延伸的顺势机会”,在震荡中更接近“均值回归的反向机会”,两者不应被同一种颜色、同一种心理预期去处理。
Layer two is the Regime Filter. Its purpose is to reframe the same “overbought” reading: in trends it often represents a continuation-friendly extension opportunity, while in ranges it is closer to a mean-reversion fade setup. These two contexts should not be handled with the same color coding or the same mental model.
你也可以关闭 useRegime,此时指标退化为“震荡风格”的展示(超买=黄,超卖=蓝),保持简单。
You can also disable useRegime, in which case the indicator falls back to a simplified range-style display (Overbought = Yellow, Oversold = Blue).
可视化层面,该指标把状态映射成四种主图背景色(可调透明度):趋势背景下的超买显示红色(Trend+OB=Red),趋势背景下的超卖显示绿色(Trend+OS=Green);震荡背景下的超买显示黄色(Range+OB=Yellow),震荡背景下的超卖显示蓝色(Range+OS=Blue)。
Visually, the indicator maps states into four on-chart background colors (with adjustable transparency): Trend+OB is Red, Trend+OS is Green; Range+OB is Yellow, Range+OS is Blue.
这四种颜色本质上是在告诉你“同样是 OB/OS,当前更像 continuation 还是 mean-reversion”,从而在交易执行上自动切换思维框架。
These four colors are effectively telling you: “For the same OB/OS reading, does the current context look more like continuation or mean reversion?”—so you can switch execution mindset accordingly.
在“趋势且极端”的红/绿场景下,指标还会额外绘制分段趋势线(Segment Trendlines),用来给出更贴近价格的动态参考。红色状态(Trend+OB)会在K线下方生成一条红色上行分段线;绿色状态(Trend+OS)会在K线上方生成一条绿色下行分段线。
In “trend and extreme” red/green scenarios, the indicator additionally draws Segment Trendlines as a closer-to-price dynamic reference. In Red state (Trend+OB), it prints a red rising segment line below candles; in Green state (Trend+OS), it prints a green falling segment line above candles.
线条只在 useRegime=true 且趋势过滤达到趋势阈值时启用,且每一段状态结束后都会保留历史,不会回收删除,方便你回看过去的极端区间是如何展开与终结的。
These lines only activate when useRegime = true and the trend filter meets its threshold, and each segment is kept historically after the state ends (no cleanup/deletion), making it easy to review how prior extreme regimes evolved and resolved.
使用上,这个指标更适合作为“仓位管理与情境提示器”而不是机械开平仓信号机。
In practice, this indicator is better used as a “position management and context prompt” rather than a mechanical entry/exit signal engine.
参数方面,你主要会动三组:Stochastic 的 kLen/dLen/阈值决定“极端”的敏感度;ADX 长度与阈值决定趋势/震荡分界;背景透明度与 ATR 偏移决定视觉与线条贴合程度。
Parameter-wise, you will mainly adjust three blocks: Stochastic kLen/dLen/thresholds define extreme sensitivity; ADX length and threshold define the trend/range boundary; background transparency and ATR offset tune visual fit and line proximity.
若你希望信号更少更“干净”,通常提高 ADX 阈值或加大 kLen 会更有效;若你希望更快捕捉极端,降低 kLen 或降低 OB/OS 阈值即可,但要接受噪声上升。Debug 选项会在红/绿状态打点,用于检验状态触发是否符合预期。
If you want fewer, cleaner signals, raising the ADX threshold or increasing kLen tends to be effective. If you want faster extreme detection, reduce kLen or relax OB/OS thresholds—at the cost of more noise. The Debug option prints markers in red/green states to validate triggers against your expectations.
免责声明:该指标输出的是“条件状态与市场语境”,不保证对未来收益率有确定性预测价值;在低流动性品种、跳空频繁品种或极端新闻驱动阶段,Stochastic 与 ADX 的解释力可能下降,建议结合你自己的风险框架与执行规则使用。
Disclaimer: this indicator outputs conditional states and market context; it does not guarantee predictive edge or deterministic future returns. In low-liquidity markets, gap-prone instruments, or extreme news-driven regimes, the explanatory power of Stochastic and ADX may degrade. Use it alongside your own risk framework and execution rules.
Hull DMI - MattesHull DMI - Mattes
A Directional Movement Index enhanced with Hull Moving Average smoothing for refined trend detection.
This indicator reimagines the classic Directional Movement Index (DMI) by incorporating Hull Moving Average (HMA) smoothing on high and low prices. It calculates the +DI and -DI components based on changes in these hulled values, then derives the ADX for trend strength. The core plot displays the difference between +DI and -DI, colored to indicate bullish (blue) or bearish (purple) dominance when ADX is rising. Additionally, it overlays colored candles on the price chart to visually represent the prevailing trend direction.
Key Features:
Hull-Smoothed Inputs: Applies HMA to highs and lows before computing directional changes, reducing noise and lag compared to standard DMI.
Customizable Lengths: Adjustable periods for HMA, DI, and ADX smoothing to suit various timeframes and assets.
Trend Visualization: Plots DI difference with dynamic coloring and overlays trend-colored candles for at-a-glance analysis.
Alert Conditions: Built-in alerts for long (bullish) and short (bearish) signals when conditions shift.
How It Differs from Standard DMI/ADX:
Unlike the traditional DMI, which uses raw price changes and true range, this version employs Hull Moving Averages on highs and lows for smoother, more responsive directional calculations. This minimizes whipsaws in choppy markets while preserving sensitivity to genuine trends. The ADX is integrated to filter signals, ensuring color changes and alerts only occur during strengthening trends, setting it apart from basic oscillator-based indicators. Why It's Useful:
Enhanced Trend Identification: The HMA smoothing provides clearer signals in volatile environments, helping traders spot emerging trends earlier.
Visual Clarity: Colored DI plot and candle overlays make it easy to interpret market bias without cluttering the chart.
Versatility: Suitable for stocks, forex, crypto, and more; excels in trend-following strategies or as a filter for other systems.
Risk Management Aid: By focusing on ADX-confirmed moves, it reduces false signals, potentially improving win rates in systematic trading.
This Hull DMI variant offers several practical advantages that can directly improve trading decisions and performance:
Reduced Lag with Smoother Signals: By applying Hull Moving Average smoothing to highs and lows, the indicator responds faster to genuine trend changes than the standard DMI while filtering out much of the noise that causes false signals in ranging or choppy markets. Traders get earlier entries into trending moves without excessive whipsaws.
Built-in Trend Strength Filter: The optional ADX confirmation (enabled by default) ensures bullish signals and blue coloring only activate when trend strength is increasing (ADX rising). This helps traders avoid entering long positions during weakening or sideways trends, focusing capital on higher-probability setups.
Clear Visual Bias at a Glance: The single oscillator line (+DI – -DI) centered on zero, combined with dynamic blue/purple coloring and full candle overlay on the price chart, instantly shows the dominant trend direction. No need to interpret multiple lines—traders can quickly assess market bias across multiple charts or timeframes.
Versatile Across Markets and Styles: Works effectively on stocks, forex, futures, and cryptocurrencies. Trend-following traders can use it standalone for entries/exits, swing traders can use it for bias confirmation, and scalpers/day traders benefit on lower timeframes due to the reduced lag.
Improved Risk Management: By prioritizing ADX-confirmed directional moves, the indicator naturally filters low-conviction setups. This can lead to higher win rates and better risk-reward ratios when used systematically, especially when combined with proper stop-loss placement below/above recent swings.
Easy Integration: Built-in alert conditions and simple long/short logic make it straightforward to incorporate into automated strategies, watchlists, or as a confirming filter alongside other indicators (e.g., moving averages, RSI, volume profile).
Customizable Sensitivity: Separate inputs for Hull length, DI period, and ADX smoothing allow traders to optimize the indicator for specific assets, volatility regimes, or personal trading horizons—making it adaptable rather than one-size-fits-all.
Signals & Interpretation
The oscillator plots the difference between +DI and -DI (positive = bullish dominance, negative = bearish).
Bullish Signal (Long): +DI crosses above -DI, and (if ADX confirmation enabled) ADX is rising — triggers blue coloring, candle overlay, and long alert.
Bearish Signal (Short): -DI crosses above +DI — triggers purple coloring, candle overlay, and short alert.
Zero line acts as neutrality; crossings indicate potential trend shifts.
Best used in trending markets; ADX rising filter helps avoid whipsaws.
// Example Usage in Strategy
strategy("Hull DMI Strategy Example", overlay=true)
if L
strategy.entry("Long", strategy.long)
if S
strategy.entry("Short", strategy.short)
Great Inventions Require great care
Disclaimer: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Past performance is not indicative of future results. Always backtest thoroughly on your specific assets and timeframes, and consult a qualified financial advisor before making trading decisions. The author assumes no responsibility for any losses incurred from its use.
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.
Adaptive Trend Mapper-ATM [Arjo]Adaptive Trend Mapper (ATM) is a directional pressure indicator designed to visualize how buying and selling commitment evolves during market trends.
Instead of focusing on price direction alone, ATM maps who is exerting stronger pressure —buyers or sellers—and how that pressure expands, weakens, or compresses over time.
Idea
ATM is built around a single concept:
Directional pressure is best understood by weighting trend strength against directional imbalance .
To achieve this, the indicator transforms trend strength into two opposing pressure measures:
Bull Pressure Index
Bear Pressure Index
These indices expand, contract, and converge based on how strongly buyers or sellers are committing, rather than simply tracking momentum or price changes.
How It Works
1. Bull & Bear Pressure Indices
ATM derives two pressure curves by weighting trend strength against directional imbalance:
The Bull Pressure Index increases when upward pressure strengthens.
The Bear Pressure Index increases when downward pressure strengthens.
Both indices operate on a 0–100 scale and are designed to diverge during strong trends and converge during non-directional or compressed phases.
Optional smoothing can be applied to reduce noise and improve readability.
2. Compression / Squeeze Detection
When:
Trend strength weakens,
Bull and Bear pressure converge,
And convergence continues over time,
ATM highlights a compression zone, signaling reduced directional conviction.
These zones often precede directional expansion once pressure rebuilds.
3. Adaptive Trend Context
An adaptive smoothed price curve is displayed on the chart to provide trend context.
Color changes reflect short-term directional shifts, helping align pressure signals with price structure.
This component is contextual only and does not generate signals by itself.
4. Optional Trend Bias Reference
An optional EMA-50 can be enabled to help identify broader directional bias and align pressure behavior with the prevailing trend.
5. Step-Based Visualization
The pressure indices can be optionally step-compressed, improving clarity on fast or noisy charts by reducing minor fluctuations.
How to Use ATM
Rising Bull Pressure → strengthening buyer commitment
Rising Bear Pressure → strengthening seller commitment
Wide separation between indices → strong directional trend
Convergence with compression highlight → range or pre-breakout environment
Notes
ATM uses widely known market concepts such as trend strength, directional imbalance, and adaptive smoothing as conceptual inputs.
All calculations, pressure mapping logic, and compression detection are original implementations developed specifically for this script.
ATM is effective when used to assess participation quality, not as a standalone signal generator.
Disclaimer
This indicator is intended for analysis and educational purposes only.
It does not generate buy or sell signals.
Always apply proper risk management.
Happy Trading.
B + A + D v0.4This script combines a momentum histogram (B-Xtrender) with trend strength and direction filters (ADX + DI).
The histogram is built from EMA differentials processed through RSI, showing short- and long-term momentum shifts around the zero line. ADX with DI+ / DI− is used to confirm whether the market is trending and in which direction.
Bullish signals appear when the histogram turns positive and DI+ dominates DI− with sufficient trend strength.
Bearish signals appear when the histogram turns negative and DI− dominates DI+ with sufficient trend strength.
Important note for users:
The strongest and most reliable signals are those that appear immediately after the histogram crosses the zero line (from negative to positive or from positive to negative). Signals that appear later, while the histogram is already extended in the trend, tend to be weaker and should be treated as continuation signals rather than high-probability reversals.
Credits:
Special thanks to the authors of the original concepts and scripts:
ADX-CCI Trend Entry Signals ADX-driven to understand intensity of move.
CCI-cross over/under "0-line" indicator.
Simple yet effective.
FMT_TRENDFOLLOWiNGThis indicator is developed based on the Average Directional Index (ADX) , which is used to measure the strength of a trend, regardless of price direction. It has been custom-modified and optimized specifically for the FCPO market, with the following usage structure:
• 30-Minute Timeframe (HTF)
Used to identify the major market movement.
When the ADX value is above 25, it indicates that the market is entering a strong trending phase.
• 5-Minute Timeframe (LTF)
Acts as a confirmation for trend change or continuation, indicated by color changes (Green/Red) and the appearance of a Reconnect Dot when momentum becomes active again.
• 1-Minute Timeframe
Used for Buy or Sell entries at the nearest trading zones, aligned with the trend direction and strength from higher timeframes.
This indicator is suitable for Day Trading and Momentum Trading strategies, especially for FCPO traders who focus on market structure and momentum confirmation.
⚠️ DISCLAIMER: This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or a trading recommendation. All signals are derived from technical calculations and may produce false signals depending on market conditions. Users are fully responsible for their trading decisions, including risk management and position sizing. Past performance does not guarantee future results, and users are encouraged to conduct paper trading or backtesting before using it in live trading.
Relative Strength Index_YJ//@version=5
indicator(title="MACD_YJ", shorttitle="MACD_YJ",format=format.price, precision=2)
source = close
useCurrentRes = input.bool(true, title="Use Current Chart Resolution?")
resCustom = input.timeframe("60", title="Use Different Timeframe? Uncheck Box Above")
smd = input.bool(true, title="Show MacD & Signal Line? Also Turn Off Dots Below")
sd = input.bool(false, title="Show Dots When MacD Crosses Signal Line?")
sh = input.bool(true, title="Show Histogram?")
macd_colorChange = input.bool(true, title="Change MacD Line Color-Signal Line Cross?")
hist_colorChange = input.bool(true, title="MacD Histogram 4 Colors?")
// === Divergence inputs ===
grpDiv = "Divergence"
calculateDivergence = input.bool(true, title="Calculate Divergence", group=grpDiv, tooltip="피벗 기반 정/역배 다이버전스 탐지 및 알람 사용")
lookbackRight = input.int(5, "Lookback Right", group=grpDiv, minval=1)
lookbackLeft = input.int(5, "Lookback Left", group=grpDiv, minval=1)
rangeUpper = input.int(60, "Bars Range Upper", group=grpDiv, minval=1)
rangeLower = input.int(5, "Bars Range Lower", group=grpDiv, minval=1)
bullColor = input.color(color.new(#4CAF50, 0), "Bull Color", group=grpDiv)
bearColor = input.color(color.new(#F23645, 0), "Bear Color", group=grpDiv)
textColor = color.white
noneColor = color.new(color.white, 100)
res = useCurrentRes ? timeframe.period : resCustom
fastLength = input.int(12, minval=1)
slowLength = input.int(26, minval=1)
signalLength= input.int(9, minval=1)
fastMA = ta.ema(source, fastLength)
slowMA = ta.ema(source, slowLength)
macd = fastMA - slowMA
signal = ta.sma(macd, signalLength)
hist = macd - signal
outMacD = request.security(syminfo.tickerid, res, macd)
outSignal = request.security(syminfo.tickerid, res, signal)
outHist = request.security(syminfo.tickerid, res, hist)
// 가격도 같은 res로
hi_res = request.security(syminfo.tickerid, res, high)
lo_res = request.security(syminfo.tickerid, res, low)
// ── Histogram 색
histA_IsUp = outHist > outHist and outHist > 0
histA_IsDown = outHist < outHist and outHist > 0
histB_IsDown = outHist < outHist and outHist <= 0
histB_IsUp = outHist > outHist and outHist <= 0
macd_IsAbove = outMacD >= outSignal
plot_color = hist_colorChange ? (histA_IsUp ? color.new(#00FF00, 0) :
histA_IsDown ? color.new(#006900, 0) :
histB_IsDown ? color.new(#FF0000, 0) :
histB_IsUp ? color.new(#670000, 0) : color.yellow) : color.gray
macd_color = macd_colorChange ? color.new(#00ffff, 0) : color.new(#00ffff, 0)
signal_color = color.rgb(240, 232, 166)
circleYPosition = outSignal
// 골든/데드 크로스 (경고 해결: 먼저 계산)
isBullCross = ta.crossover(outMacD, outSignal)
isBearCross = ta.crossunder(outMacD, outSignal)
cross_color = isBullCross ? color.new(#00FF00, 0) : isBearCross ? color.new(#FF0000, 0) : na
// ── 플롯
plot(sh and outHist ? outHist : na, title="Histogram", color=plot_color, style=plot.style_histogram, linewidth=5)
plot(smd and outMacD ? outMacD : na, title="MACD", color=macd_color, linewidth=1)
plot(smd and outSignal? outSignal: na, title="Signal Line", color=signal_color, style=plot.style_line, linewidth=1)
plot(sd and (isBullCross or isBearCross) ? circleYPosition : na,
title="Cross", style=plot.style_circles, linewidth=3, color=cross_color)
hline(0, "0 Line", linestyle=hline.style_dotted, color=color.white)
// =====================
// Divergence (정배/역배) - 피벗 비교
// =====================
_inRange(cond) =>
bars = ta.barssince(cond)
rangeLower <= bars and bars <= rangeUpper
plFound = false
phFound = false
bullCond = false
bearCond = false
macdLBR = outMacD
if calculateDivergence
// 정배: 가격 LL, MACD HL
plFound := not na(ta.pivotlow(outMacD, lookbackLeft, lookbackRight))
macdHL = macdLBR > ta.valuewhen(plFound, macdLBR, 1) and _inRange(plFound )
lowLBR = lo_res
priceLL = lowLBR < ta.valuewhen(plFound, lowLBR, 1)
bullCond := priceLL and macdHL and plFound
// 역배: 가격 HH, MACD LH
phFound := not na(ta.pivothigh(outMacD, lookbackLeft, lookbackRight))
macdLH = macdLBR < ta.valuewhen(phFound, macdLBR, 1) and _inRange(phFound )
highLBR = hi_res
priceHH = highLBR > ta.valuewhen(phFound, highLBR, 1)
bearCond := priceHH and macdLH and phFound
// 시각화 (editable 파라미터 삭제)
plot(plFound ? macdLBR : na, offset=-lookbackRight, title="Regular Bullish (MACD)",
linewidth=2, color=(bullCond ? bullColor : noneColor), display=display.pane)
plotshape(bullCond ? macdLBR : na, offset=-lookbackRight, title="Bullish Label",
text=" Bull ", style=shape.labelup, location=location.absolute, color=bullColor, textcolor=textColor, display=display.pane)
plot(phFound ? macdLBR : na, offset=-lookbackRight, title="Regular Bearish (MACD)",
linewidth=2, color=(bearCond ? bearColor : noneColor), display=display.pane)
plotshape(bearCond ? macdLBR : na, offset=-lookbackRight, title="Bearish Label",
text=" Bear ", style=shape.labeldown, location=location.absolute, color=bearColor, textcolor=textColor, display=display.pane)
// 알람
alertcondition(bullCond, title="MACD Regular Bullish Divergence",
message="MACD 정배 다이버전스 발견: 현재 봉에서 lookbackRight 만큼 좌측.")
alertcondition(bearCond, title="MACD Regular Bearish Divergence",
message="MACD 역배 다이버전스 발견: 현재 봉에서 lookbackRight 만큼 좌측.")
ADX CornerShows the current ADX value along with the average ADX over the last N candles in a small table on the chart.
It’s meant as a quick reference to see whether the market is generally trending or stuck in chop, without needing a separate indicator pane.
Directional Movement Index (SHADED)Shaded red in between DMI lines when DMI- > DMI+
Shaded blue in between DMI lines when DMI+ > DMI-






















