指标和策略
Directional Movement Index (DMI)This Pine Script is a Directional Movement Index (DMI) indicator for TradingView that provides a comprehensive visualization of trend direction and strength with several enhanced visual features.
📊 Core Indicator Components:
1. Directional Indicators:
+DI (Green line): Measures upward trend momentum
-DI (Red line): Measures downward trend momentum
ADX (Blue line, optional): Measures overall trend strength (can be toggled on/off)
2. Key Calculations:
Uses built-in ta.dmi() function to calculate all three components
isBull condition: Determines current bias based on which DI line is higher
Bull signal: When +DI crosses above -DI
Bear signal: When +DI crosses below -DI
🎨 Visual Design Features:
1. Chart Plotting:
Thick lines (width=3) for +DI and -DI for better visibility
Color-coded plots: Green (+DI), Red (-DI), Blue (ADX)
2. Background Highlighting:
Light green background on bullish crossovers
Light red background on bearish crossovers
Uses 60% transparency for subtle visual cues
3. Real-time Status Panel:
Fixed table in the middle-right of the chart
Displays "↑ Bullish" (green) or "↓ Bearish" (red) in huge text
Updates on every bar to show current market bias
4. Line Labels:
Text labels at the right edge identifying each line
Color-matched to their respective indicators
ADX label only appears when ADX is enabled
⚙️ User Controls:
ADX toggle: Show/hide the ADX line
DI Length: Adjust calculation period (default 17)
ADX Smoothing: Fine-tune ADX smoothing (default 1)
📈 Trading Application:
Trend Identification: Which direction has stronger momentum
Signal Generation: Crossovers indicate potential trend changes
Trend Strength: ADX (when shown) indicates if a trend is strong (>25) or weak
Visual Clarity: Multiple visual cues make signals easy to spot
🖥️ Display Logic:
The script intelligently handles what to display based on user settings
When ADX is disabled, it plots na (not available) to avoid scale distortion
All visual elements update dynamically with each new bar
🎯 Unique Aspects:
Multi-layered visualization: Combines lines, background colors, labels, and a status table
Clean separation: Uses box-drawing characters to organize code sections
Right-edge labeling: Makes indicator identification clear even on crowded charts
Immediate bias recognition: The large text table provides instant market bias assessment
This indicator is particularly useful for traders who want a clear, visually rich representation of trend direction without needing to interpret multiple lines simultaneously. The color-coded background and status panel provide quick visual confirmation of market conditions.
ZigZag with Day Count + AveragesThis indicator plots a ZigZag structure and measures how long each completed trend leg lasts in calendar days. Each confirmed leg is labelled with its duration, positioned away from price using an ATR-based offset so labels remain readable and unobstructed by candles.
Uptrend and downtrend legs are automatically colour-coded, and the indicator tracks rolling averages of trend duration to provide context on how long trends typically persist.
Key features:
ZigZag trend legs based on configurable deviation and depth
Day-count label for every completed leg
Clear, high-contrast labels offset from price
Automatic colouring for up and down trends
Rolling average duration of the last N uptrends and downtrends (default: 20)
Optional extension of the current, in-progress leg
How to use:
Identify potential trend exhaustion by comparing the current leg length to historical averages
Gauge whether a trend is statistically extended or still within normal duration
Combine with price action, support/resistance, or momentum indicators for confirmation
Works on all timeframes. On daily charts, day counts align closely with bars; on intraday charts, durations are calculated using calendar time.
Vishall ForceProVishall ForcePro
Vishall ForcePro
Vishall ForcePro
Vishall ForcePro
Vishall ForcePro
DIMA SETUP | 4 Candle Streak4 candles trade in 3 min time frame
session 20:00-22:00 israel time zone
Smart Money Range + Displacement🧠 How This Indicator Works
This indicator is based on Smart Money Concepts, which follow how institutions actually move the market:
Build liquidity → Take liquidity → Show intent → Move price
It does not predict the market.
It reacts only after confirmation.
1️⃣ Trend Filter (EMA) – Market Direction
What it does:
The Exponential Moving Average (EMA) shows the dominant market direction.
How it’s used:
Price above EMA → bullish bias → only BUY signals
Price below EMA → bearish bias → only SELL signals
Why it matters:
Institutions usually push price in the direction of the higher-timeframe trend.
This filter removes low-probability counter-trend trades.
2️⃣ Smart Money Range – Liquidity Zone
What it does:
The indicator calculates the highest high and lowest low over a fixed number of candles to create a trading range.
Why this range matters:
Equal highs and equal lows form inside ranges
Retail stop-loss orders accumulate at range boundaries
These areas become liquidity pools
Institutions need liquidity to enter large positions — this shows where it is.
3️⃣ Liquidity Sweep – Stop Hunt Detection
What it does:
The indicator detects when price breaks above or below the range but fails to close outside it.
What this means:
Stops above highs or below lows are triggered
Retail traders are trapped
Smart money absorbs liquidity
This is manipulation, not a real breakout.
4️⃣ Displacement Candle – Institutional Entry
What it does:
The indicator checks for a candle with a body significantly larger than recent candles.
Why displacement is important:
Large candle bodies show strong order flow
Confirms that institutions have entered the market
Filters out weak or fake moves
No displacement = no trade.
5️⃣ Trade Confirmation Logic – Final Signal
BUY Signal Conditions
Liquidity taken below the range
Strong displacement candle
Price above EMA
SELL Signal Conditions
Liquidity taken above the range
Strong displacement candle
Price below EMA
Meaning:
Only trade after liquidity is taken and real momentum appears in trend direction.
6️⃣ Signal Plotting – Clear Execution
What you see on the chart:
BUY label below the candle
SELL label above the candle
Signals appear only after candle close, ensuring no repainting.
🔁 Market Behavior This Indicator Reads
Market moves sideways (range formation)
Liquidity builds
Stops are taken (false breakout)
Displacement confirms intent
Price expands in one direction
This is how institutional trading works.
⚠️ Best Usage Guidelines
Best timeframes: 15m, 30m, 1H
Avoid major news releases
Wait for candle close
Use structure-based stop loss, not fixed pips
🎯 Why This Indicator Is Effective
Logic-based, not lag-based
No repainting
Works on Gold, BTC, Forex, Indices
Filters noise and emotional trading
Market Structure Break & OB Probability Toolkit [LuxAlgo]The Market Structure Break & OB Probability Toolkit indicator provides an institutional framework for identifying high-probability liquidity zones and significant market structure transitions using momentum-based filters and volume analysis.
🔶 USAGE
The indicator aims to provide a systematic approach to structural analysis, allowing traders to identify clear institutional footprints. By integrating statistical filters, the tool helps isolate high-conviction signals from market noise.
🔹 Market Structure Breaks (MSB)
Unlike standard fractal-based breaks, the MSB logic in this toolkit utilizes a Momentum Z-Score filter . This ensures that structural shifts are only highlighted when price breaks a pivot with significant conviction.
Pivot Lookback: Custom sensitivity for identifying swing highs and lows.
Volatility Filtering: Only breaks exceeding the statistical threshold are labeled, helping traders avoid low-momentum fakeouts.
🔹 Institutional Order Blocks (OB)
The script automatically detects and manages Order Blocks based on the candle preceding an MSB. Every zone includes a Point of Control (POC) line for precise entry or target consideration.
Standard OBs: Formed during structural transitions, representing potential institutional interest.
High-Probability OBs (HP-OB): Zones identified with exceptionally high impulse and volume signatures (score > 80%). These are visually distinct to highlight their increased significance.
🔹 Session Range Integration
Traders can track the ranges of the London, New York, Tokyo, and Sydney sessions. This allows for the identification of structural breaks occurring at session extremes or during high-liquidity windows.
🔹 Strategy Application
Trend Direction: Identify the prevailing bias through MSB signals. A bullish MSB followed by a retracement into a Bullish OB provides a classic institutional entry scenario.
Zone Confluence: Look for High-Probability OBs that align with Session Highs/Lows for increased trade conviction.
Re-test Analysis: Enable "Extend Broken OBs" to see how price interacts with flipped liquidity zones.
🔶 DETAILS
The toolkit utilizes several advanced logic components to maintain chart clarity and analytical depth:
Intelligent Mitigation Logic: Active zones are managed in real-time. Traders can choose between "Historical" (shows all past zones) or "Present" (shows only active zones) display modes.
Mitigated Extension: A specialized feature to extend recently broken zones, allowing for re-test analysis of formerly active liquidity.
Overlap Filter: Option to hide overlapping Order Blocks to maintain a clean, actionable chart.
🔹 Analytics Dashboard
The built-in dashboard provides a real-time performance suite:
OB Reliability: A percentage-based efficiency metric tracking how many detected zones have been successfully mitigated by price.
High-Prob Zone Count: A live counter of active HP-OBs currently remaining on the chart.
🔶 SETTINGS
🔹 Market Structure
Pivot Lookback: Defines the sensitivity of the market structure detection by adjusting the lookback period for pivots.
MSB Momentum Z-Score: Sets the statistical threshold for a price move to be considered a valid structural break.
🔹 Visuals
Display Mode: Toggles between showing historical mitigated zones or only currently active ones.
🔹 Order Blocks
Max Active OBs: Controls the maximum number of blocks stored and displayed on the chart.
Extend Broken OBs: If enabled, recently mitigated blocks will remain visible to observe potential re-tests.
Hide Overlapping OBs: Removes redundant zones that occupy the same price area as existing ones.
🔹 Sessions
Show Session Ranges: Global toggle for session visualizations.
Session Toggles: Individual controls to enable London, New York, Tokyo, or Sydney ranges with custom time and color inputs.
Institutional trading concepts and Smart Money Concept (SMC) indicators involve significant risk. This tool is designed for educational and analytical purposes. Past performance is not indicative of future results.
Midas Decision Dashboard (XAU)Midas Decision Dashboard (XAU)
Indicator Overview
Midas Decision Dashboard (XAU)** is a high-precision strategic tool specifically engineered for Gold (XAU/USD) scalping on lower timeframes like M1 and M5. Instead of providing a single, lagging signal, the dashboard acts as a "Mission Control" center, synthesizing four core market dimensions and real-time Price Action into a live, weighted scoring matrix.
The Four Strategic Pillars
The dashboard evaluates the market using a weighted logic system to ensure no single indicator triggers a false entry:
📈 TREND ANALYSIS (EMA 200 - 20%): Monitors the 200-period Exponential Moving Average to establish the primary market direction (BULL/BEAR/FLAT).
⚡ POWER & STRENGTH (ADX - 45%): The engine of the strategy. A high weight ensures you only engage when real trend strength is present. **WEAK** power is highlighted in Light Yellow to signal low-volatility caution.
🔥 MARKET ENERGY (CHOP - 25%): A sophisticated volatility meter that identifies BREAKOUT phases while flagging dangerous CONSOLIDATION zones in red to avoid sideways traps.
🌊 MOMENTUM SAFETY (RSI - 10%): Provides a final safety layer to prevent buying at overextended peaks or selling at oversaturated bottoms.
Dynamic Scoring & Signal Hierarchy
The system calculates a live score (0-100%) based on active conditions. The **🎯 SIGNAL** row triggers a verdict using a professional traffic-light system:
🟢 GO (80% - 100%): High-conviction alignment. All major pillars are in sync for an entry.
🟡 WAIT (50% - 79%): The market is developing, but full confirmation is currently missing.
🔴 STOP (Below 50%): Low-probability environment. No trade zone.
Disclaimer
Trading gold involves significant risk. This dashboard is a decision-support tool and should be used in conjunction with a proper risk management strategy.
Range Volatility Oscillator [Session Adjusted]Description
This open-source indicator calculates a volatility oscillator based purely on price range expansion/contraction (High − Low), making it especially suitable for instruments with well-defined trading sessions (FTSEMIB, DAX, ES, NQ, forex majors during London/NY overlap, etc.).
Instead of using price returns or close-based volatility, it compares short-term and long-term simple moving averages of the daily range, then expresses the relative difference as a percentage oscillator — similar in spirit to a MACD-style momentum readout, but applied to volatility itself.
Core Concept
Fast SMA(range, fast × candles_per_session)
Slow SMA(range, slow × candles_per_session)
Oscillator = 100 × (Fast / Slow − 1)
Positive values → recent ranges are expanding compared to the longer-term average (rising volatility / potential trend acceleration or breakout environment).
Negative values → ranges are contracting (falling volatility / potential consolidation or mean-reversion setup).
Zero line acts as the neutral pivot between expanding vs contracting regimes.
Key Features
- Session-aware calculation — user inputs session duration (default 6.5 h) → automatically estimates how many candles = 1 trading day on the current timeframe
- Works on any timeframe (1 min → daily), including irregular ones
- Optional signal line (SMA of the oscillator) for smoother readings and crossover strategies
- Clean, minimalistic plot with customizable colors
- Zero line always visible (dotted)
Typical Usage Ideas
- Rising oscillator + above zero → increasing volatility → favor momentum / breakout / trend-following strategies
- Falling oscillator / below zero → decreasing volatility → consider mean-reversion, tightening stops, or waiting for compression → expansion setups
- Signal line crossovers — fast line crossing above signal = short-term volatility pickup, crossing below = volatility cooling
- Divergences between price and the oscillator can sometimes highlight weakening trends (classic volatility divergence)
Combine with trend filters (EMA, VWAP, SuperTrend), support/resistance or volume for higher-probability setups.
Recommended Starting Settings
Session Duration: 6.5–8.5 hours (adjust to your market — e.g. 8.5 for many European indices, 6.5 for US regular session).
Fast SMA Length: 5 days
Slow SMA Length: 15 days
Signal-line Length: 3 days (if enabled)
Best results usually appear on intraday timeframes (3 min – 30 min) and on instruments with clear session boundaries and meaningful daily ranges.
Notes / Limitations
- Pure range-based → ignores gaps, overnight moves and volume
- Not normalized to ATR or percentage of price → readings are relative within each instrument
- Very low-liquidity / very small-range instruments may produce noisy output
Released under open source — feel free to modify, combine with other logic or use in strategies.
Feedback and improvements are welcome!
Market Memory Layer by TheArchitectProject - COMMUNITY🎭 MARKET MEMORY LAYER by TheArchitectProject
🧠 PRICE REMEMBERS SAME CALENDAR DAYS FROM PAST YEARS
NAS100FT traders discovered → NOW UNIVERSAL
✅ 2023 👻 GREEN High/Low Lines (FREE)
✅ 2021 👻 PURPLE High/Low Lines (FREE)
📈 WORKS PERFECTLY:
• NAS100FT • EURUSD • SPX • BTC • DJ30FT • XAUUSD • XAGUSD
• 1m → Monthly timeframes
• No scam • All brokers
🔥 PRO VERSION ($67/mo):
• 1 Custom Year "Purple Ghosts" (1971-2025)
• ALL 6 years + 2025 live ghosts
• Discord setups • PDF manual
👻 patreon.com/TheArchitectProject
#MarketMemory #GhostTrading #NAS100FT
ICT Macros & Visual Risk CalculatorThis "all-in-one" indicator is specifically designed for ICT (Inner Circle Trader) methodology practitioners who trade high-volatility time windows (Macros). It combines automated visual identification of these sessions with an advanced risk calculator that dynamically draws position blocks (Long/Short) based on pips, ensuring fast and precise execution.
1 MIN SCALP TRADER fixed//@version=5
indicator("15MIN SCALP TRADER", overlay=true)
// ============================================
// SETTINGS
// ============================================
length_rsi = input(14, "RSI Length", group="Indicators")
length_ma = input(20, "MA Length", group="Indicators")
rsi_overbought = input(70, "RSI Overbought", group="Signals")
rsi_oversold = input(30, "RSI Oversold", group="Signals")
// ============================================
// CALCULATIONS
// ============================================
// RSI
rsi = ta.rsi(close, length_rsi)
// Moving Averages
ma_fast = ta.sma(close, length_ma)
ma_slow = ta.sma(close, length_ma * 2)
// Volume
vol = ta.sma(volume, 20)
vol_spike = volume > vol * 1.5
// Support/Resistance
highest = ta.highest(high, 20)
lowest = ta.lowest(low, 20)
// ============================================
// SIGNALS
// ============================================
// BUY Signal: Price breaks above MA + RSI < 50 + Volume
buy_signal = close > ma_fast and close > ma_slow and rsi < 50 and vol_spike
// SELL Signal: Price below MA + RSI > 50
sell_signal = close < ma_fast and rsi > 50 and vol_spike
// ============================================
// TAKE PROFIT / STOP LOSS LEVELS
// ============================================
atr = ta.atr(14)
tp_long = close + (atr * 2)
sl_long = close - (atr * 1)
tp_short = close - (atr * 2)
sl_short = close + (atr * 1)
// ============================================
// PLOT
// ============================================
// Moving Averages
plot(ma_fast, "MA20", color.new(color.blue, 50), linewidth=2)
plot(ma_slow, "MA40", color.new(color.red, 50), linewidth=2)
// Support/Resistance
plot(highest, "Resistance", color.new(color.orange, 60), linewidth=1, style=plot.style_circles)
plot(lowest, "Support", color.new(color.green, 60), linewidth=1, style=plot.style_circles)
// ============================================
// ALERTS & ARROWS
// ============================================
// Buy Signal
plotshape(buy_signal, title="BUY", style=shape.labelup, location=location.belowbar,
color=color.new(color.green, 0), textcolor=color.white, text="BUY", size=size.small)
// Sell Signal
plotshape(sell_signal, title="SELL", style=shape.labeldown, location=location.abovebar,
color=color.new(color.red, 0), textcolor=color.white, text="SELL", size=size.small)
// ============================================
// ALERTS
// ============================================
alertcondition(buy_signal, title="BUY SIGNAL 15MIN", message="🟢 BUY - Check chart now!")
alertcondition(sell_signal, title="SELL SIGNAL 15MIN", message="🔴 SELL - Check chart now!")
// ============================================
// TABLE INFO
// ============================================
var table info = table.new(position.top_right, 2, 5, border_color=color.gray,
frame_color=color.blue, frame_width=2)
table.cell(info, 0, 0, "RSI", text_color=color.white, bgcolor=color.navy)
table.cell(info, 1, 0, str.tostring(math.round(rsi, 2)), text_color=color.white, bgcolor=color.navy)
table.cell(info, 0, 1, "Close", text_color=color.white, bgcolor=color.navy)
table.cell(info, 1, 1, str.tostring(math.round(close, 2)), text_color=color.white, bgcolor=color.navy)
table.cell(info, 0, 2, "MA20", text_color=color.white, bgcolor=color.navy)
table.cell(info, 1, 2, str.tostring(math.round(ma_fast, 2)), text_color=color.white, bgcolor=color.navy)
table.cell(info, 0, 3, "Volume", text_color=color.white, bgcolor=color.navy)
table.cell(info, 1, 3, str.tostring(math.round(volume / 1000000, 2)) + "M", text_color=color.white, bgcolor=color.navy)
table.cell(info, 0, 4, "ATR", text_color=color.white, bgcolor=color.navy)
table.cell(info, 1, 4, str.tostring(math.round(atr, 4)), text_color=color.white, bgcolor=color.navy)
YesterWAPThe VWAP describes intra-day price action in "value-space" (quantity * price). By weighting prices based on the volume transacted, the VWAP attempts to reflect the "fair-market" value of an asset.
The VWAP is reset periodically, often at daily open, creating a "gap."
The YesterWAP tracks the gap for you.
Every time the VWAP is about to reset to LastPrice, the YesterWAP resets to it, first.
When yesterday's players clock back in today, they'll try to sort their (losing) positions out, at yesterday's VWAP, the YesterWAP.
Bank CRE Stress & Short Risk Overlay + Dashboard
🏦 Bank CRE Short-Selling Dashboard:
- Expands the static database to better match the dashboard's highCRE + shortCandidates.
- Uses CRE ratio thresholds from dashboard (e.g., critical ~>500%, high ~400-500%, etc.).
- Keeps price stress logic (you can tweak it).
- Includes more failed/failed-like flags.
Access the Live Risk Monitoring & Trade Opportunities 🏦 Bank CRE Short-Selling Dashboard
claude.ai
SessionsBuilt to display useful time sessions, mostly Frankfort and NY.
It also display the Asian range and fractal bars.
All three sub indicators are toggable separatly.
Works best for french trades as it's how it's been coded for.
If you want adapt it to your timezone, edit the "Fuseau horaire" option to match yours.
I intend to add another big indicator to make a cool package in the future.
I will soon try to make everything editable so you can chose what you can display (dont ask for when)
This is a full vibe coded script, feel free to fork it and edit it to your convenience as long as you credit me and share me yours so we can see what can be improved.
Enjoy :)
MTF Key Levels | EMA & Bollinger OverlayConcept and Utility This indicator is a Multi-Timeframe (MTF) technical analysis tool designed for intraday traders who need to monitor significant support and resistance levels from higher timeframes without switching charts. It automatically projects key Moving Averages (EMA) and Bollinger Band levels from Daily (D) and Weekly (W) timeframes onto the current chart.
How it Works The script utilizes the request.security function to fetch data from higher timeframes while maintaining the current chart's resolution. It calculates and plots the following levels as horizontal lines extending to the right:
EMAs: Exponential Moving Averages (Default: 9 and 20 periods) which often act as dynamic support/resistance in trending markets.
Bollinger Bands: The Upper and Lower bands (Default: 20 periods, 2.0 StdDev), identifying statistical extremes and volatility ranges on the Daily and Weekly charts.
Visual Features
Clean Overlay: The lines extend to the right (future), allowing traders to anticipate price reactions at these levels before they happen.
Smart Labeling: Labels are positioned directly above the lines to prevent visual clutter and overlapping with price candles.
Customization: Users can toggle specific levels on/off (e.g., show only Weekly levels) via the settings panel to keep the chart clean.
Settings
Weekly/Daily Toggles: Checkboxes to enable or disable specific EMAs or Bollinger Bands for each timeframe.
Indicator Settings: Adjustable lengths for EMA 9, EMA 20, and Bollinger Bands (Period and Deviation).
Style: Options to adjust the text size of the labels for better readability on different screen resolutions.





















