Risk & Position DashboardRisk & Position Dashboard
Overview
The Risk & Position Dashboard is a comprehensive trading tool designed to help traders calculate optimal position sizes, manage risk, and visualize potential profit/loss scenarios before entering trades. This indicator provides real-time calculations for position sizing based on account size, risk percentage, and stop-loss levels, while displaying multiple take-profit targets with customizable risk-reward ratios.
Key Features
Position Sizing & Risk Management:
Automatic position size calculation based on account size and risk percentage
Support for leveraged trading with maximum leverage limits
Fractional shares support for brokers that allow partial share trading
Real-time fee calculation including entry, stop-loss, and take-profit fees
Break-even price calculation including trading fees
Multi-Target Profit Management:
Support for up to 3 take-profit levels with individual portion allocations
Customizable risk-reward ratios for each take-profit target
Visual profit/loss zones displayed as colored boxes on the chart
Individual profit calculations for each take-profit level
Visual Dashboard:
Clean, customizable table display showing all key metrics
Configurable label positioning and styling options
Real-time tracking of whether stop-loss or take-profit levels have been reached
Color-coded visual zones for easy identification of risk and reward areas
Advanced Configuration:
Comprehensive input validation and error handling
Support for different chart timeframes and symbols
Customizable colors, fonts, and display options
Hide/show individual data fields for personalized dashboard views
How to Use
Set Account Parameters: Configure your account size, maximum risk percentage per trade, and trading fees in the "Account Settings" section.
Define Trade Setup: Use the "Entry" time picker to select your entry point on the chart, then input your entry price and stop-loss level.
Configure Take Profits: Set your desired risk-reward ratios and portion allocations for each take-profit level. The script supports 1-3 take-profit targets.
Analyze Results: The dashboard will automatically calculate and display position size, number of shares, potential profits/losses, fees, and break-even levels.
Visual Confirmation: Colored boxes on the chart show profit zones (green) and loss zones (red), with lines extending to current price levels.
Reset Entry and SL:
You can easily reset the entry and stop-loss by clicking the "Reset points..." button from the script's "More" menu.
This is useful if you want to quickly clear your current trade setup and start fresh without manually adjusting the points on the chart.
Calculations
The script performs sophisticated calculations including:
Position size based on risk amount and price difference between entry and stop-loss
Leverage requirements and position amount calculations
Fee-adjusted risk-reward ratios for realistic profit expectations
Break-even price including all trading costs
Individual profit calculations for partial position closures
Detailed Take-Profit Calculation Formula:
The take-profit prices are calculated using the following mathematical formula:
// Core variables:
// risk_amount = account_size * (risk_percentage / 100)
// total_risk_per_share = |entry_price - sl_price| + (entry_price * fee%) + (sl_price * fee%)
// shares = risk_amount / total_risk_per_share
// direction_factor = 1 for long positions, -1 for short positions
// Take-profit calculation:
net_win = total_risk_per_share * shares * RR_ratio
tp_price = (net_win + (direction_factor * entry_price * shares) + (entry_price * fee% * shares)) / (direction_factor * shares - fee% * shares)
Step-by-step example for a long position (based on screenshot):
Account Size: 2,000 USDT, Risk: 2% = 40 USDT
Entry: 102,062.9 USDT, Stop Loss: 102,178.4 USDT, Fee: 0.06%
Risk per share: |102,062.9 - 102,178.4| + (102,062.9 × 0.0006) + (102,178.4 × 0.0006) = 115.5 + 61.24 + 61.31 = 238.05 USDT
Shares: 40 ÷ 238.05 = 0.168 shares (rounded to 0.17 in display)
Position Size: 0.17 × 102,062.9 = 17,350.69 USDT
Position Amount (with 9x leverage): 17,350.69 ÷ 9 = 1,927.85 USDT
For 2:1 RR: Net win = 238.05 × 0.17 × 2 = 80.94 USDT
TP1 price = (80.94 + (1 × 102,062.9 × 0.17) + (102,062.9 × 0.0006 × 0.17)) ÷ (1 × 0.17 - 0.0006 × 0.17) = 101,464.7 USDT
For 3:1 RR: TP2 price = 101,226.7 USDT (following same formula with RR=3)
This ensures that after accounting for all fees, the actual risk-reward ratio matches the specified target ratio.
Risk Management Features
Maximum Trade Amount: Optional setting to limit position size regardless of account size
Leverage Limits: Built-in maximum leverage protection
Fee Integration: All calculations include realistic trading fees for accurate expectations
Validation: Automatic checking that take-profit portions sum to 100%
Historical Tracking: Visual indication when stop-loss or take-profit levels are reached (within last 5000 bars)
Understanding Max Trade Amount - Multiple Simultaneous Trades:
The "Max Trade Amount" feature is designed for traders who want to open multiple positions simultaneously while maintaining proper risk management. Here's how it works:
Key Concept:
- Risk percentage (2%) always applies to your full Account Size
- Max Trade Amount limits the capital allocated per individual trade
- This allows multiple trades with full risk on each trade
Example from Screenshot:
Account Size: 2,000 USDT
Max Trade Amount: 500 USDT
Risk per Trade: 2% × 2,000 = 40 USDT per trade
Stop Loss Distance: 0.11% from entry
Result: Position Size = 17,350.69 USDT with 35x leverage
Total Risk (including fees): 40.46 USDT
Multiple Trades Strategy:
With this setup, you can open:
Trade 1: 40 USDT risk, 495.73 USDT position amount (35x leverage)
Trade 2: 40 USDT risk, 495.73 USDT position amount (35x leverage)
Trade 3: 40 USDT risk, 495.73 USDT position amount (35x leverage)
Trade 4: 40 USDT risk, 495.73 USDT position amount (35x leverage)
Total Portfolio Exposure:
- 4 simultaneous trades = 4 × 495.73 = 1,982.92 USDT position amount
- Total risk exposure = 4 × 40 = 160 USDT (8% of account)
Educational
Economic Macro Dashboard (DeadCat)This indicator provides a compact, data-driven view of key U.S. macroeconomic conditions and market sentiment — directly on your TradingView chart.
The dashboard aggregates several fundamental datasets from TradingView’s built-in *economic data feeds* (such as CPI, GDP growth, Fed Funds Rate, NFP, and Unemployment), along with major market benchmarks (VIX, DXY, Gold, and 2-Year Treasury Yield). It tracks the latest value and change from the previous update to evaluate short-term macro trends.
Each group of indicators contributes to four composite scores:
Growth: Based on changes in GDP and Retail Sales.
Inflation: Tracks CPI and Core PCE directionality.
Employment: Evaluates NFP and Unemployment Rate dynamics.
Interest Rates: Interprets movement in the Federal Funds Rate.
These metrics are converted into normalized 0–100 “condition scores,” color-coded as *Rising, Neutral,* or *Declining* for easier interpretation.
The script then summarizes the overall macro tone (growth, inflation, employment, rates) in a structured table that updates automatically.
On the market side, it uses moving average relationships (EMA crossovers on VIX, DXY, and Gold, plus SMA trend on 2-Year Treasury yields) to infer short-term momentum in risk sentiment, the dollar, and safe-haven assets. This helps traders contextualize market positioning relative to macro developments.
Core concept:
The script acts as a **real-time economic sentiment dashboard**, bridging fundamental data and technical market conditions in one view. It’s designed for traders who want to visually monitor macro shifts without leaving their charts — useful for both short-term market bias and long-term context.
How to use:
Apply the indicator to any chart or timeframe.
Use the table position and size inputs to arrange it on your layout.
Watch for consistent trends:
-Rising growth + strong employment → supportive macro tone.
-Rising inflation + hawkish rates → tightening bias.
-DXY/VIX trends can confirm or contradict the macro tone.
Note:
No future data is used. All economic series are fetched via TradingView’s `request.economic()` and market benchmarks via `request.security()` in daily resolution.
This tool is for visualization and analysis only — not a buy/sell signal generator.
Institutional AbsorptionHighlights potential zones where institutional participants may be absorbing aggressive buying or selling pressure.
It analyzes candle structure and volume to detect possible bullish and bearish absorption events, providing a visual cue for traders studying market imbalance and liquidity dynamics.
The script compares each candle’s wick–body ratio and volume relative to its moving average.
A bullish absorption setup occurs when strong volume appears after a sharp downward move with long lower wicks, while bearish absorption occurs after upward moves with long upper wicks, suggesting the presence of large counter-orders.
+ Features
Detects bullish and bearish absorption candles.
Customizable wick to body ratio and volume multiple thresholds.
Optional filter to require candle color alignment with trend (green/red).
Option to ignore tiny body (doji-like) candles.
+ How to Use
Adjust wick–body ratio, volume multiplier, and lookback length under “Conditions (Absorption)”.
Enable “Require candle color” to strengthen directional context.
Use alerts to receive notifications when new absorption signals appear.
+ Notes
This tool aims to visualize possible absorption behavior, not confirm institutional activity.
Combine it with your broader market structure, volume, or order flow analysis for a more comprehensive analysis.
True Opens (TDO/TWO/NYAM etc.)+ First FVG - Milana TradesThis indicator combines multiple "True Open" levels with the visualization of the first Fair Value Gap (FVG) following key market opens.
Key Features:
True Opens (TDO, TWO, TAO, TLO, NYAM, TNY):
TDO (True Day Open): Displays the start of the trading day (00:00 NY time) with customizable line style, color, and label.
TWO (True Weekly Open): Marks the start of the week (Monday 18:00 NY time) with visual lines and optional labels.
TAO (True Asian Open): Highlights the opening of the Asian session (19:30 NY time), allowing traders to track early Asian session activity.
TLO (True London Open): Marks London session open (01:30 NY time), providing insight into the first European market activity.
NYAM (New York AM Open): Marks 09:30 NY time, often a key liquidity spike period.
TNY (True New York Open): Highlights the full New York session open (07:30 NY time), useful for pre-market and early NY session trading.
All lines are fully customizable in color, style, width, and label visibility. Lines can also be extended to the right for better visual tracking.
First FVG After Open:
Automatically detects the first Fair Value Gap (FVG) following each session open.
Supports both bullish and bearish FVGs, displayed with distinct colors and transparency.
Mitigation detection highlights gaps that have already been touched or partially filled, using a softer color for clarity.
Why the first FVG matters:
The first gap after an open often indicates the initial imbalance of the session.
These gaps can act as high-probability zones for retracement or continuation trades, providing early-session trade opportunities.
Daily & Weekly Initial Range Boxes:
Visualize daily (00:00–01:00 NY) and weekly (Monday 18:00–19:00 NY) initial ranges.
Boxes update dynamically with price movement during the session.
Optional range info in pips to quantify volatility and potential targets.
Customizable Appearance:
Choose colors for bullish, bearish, and mitigated FVGs.
Adjust line styles (solid, dashed, dotted), widths, labels, and extensions for all opens.
Transparency settings for IB boxes allow clear chart readability without clutter.
Historical Options:
Enable prior day/week visualization to analyze session behavior and recurring patterns.
Why Traders Use This Indicator:
Early session clarity: Knowing the true session opens and first FVGs helps traders spot high-liquidity zones and potential reversals.
Structure-based trading: Combines session open levels with FVGs, aligning with professional market structure strategies.
Quantum Leap by GSK-Vizag-AP-IndiaQuantum Leap by GSK-Vizag-AP-India
This indicator detects strong impulse price movements, also known as "quantum leaps," in bullish and bearish directions. Using the Average True Range (ATR) to measure market volatility, it identifies candles with body sizes significantly larger than recent average ranges, suggesting strong momentum surges.
The script groups consecutive impulse candles into blocks, highlighting zones of sustained bullish or bearish strength on the chart. These visual blocks aid traders in quickly spotting powerful price moves that may indicate key market shifts or reversals. Additionally, this tool can be effectively used to identify Fair Value Gaps (FVG) in price action, making FVG detection easier and more intuitive for users.
Inputs allow customization for ATR length, impulse strength threshold, and minimum consecutive candles, enabling adaptation to different markets or timeframes.
Important Disclaimer:
This indicator is for educational and informational purposes only. It is not financial advice and does not guarantee future results. Users should conduct their own research and seek professional guidance before making any trading decisions. Trading involves risk, including the potential loss of capital.
MACD Overlay v1 [JopAlgo]Meet the MACD you can trade directly from the chart.
MACD Overlay v1 doesn’t just plot an oscillator somewhere below—
it puts value, momentum, and participation on your candles, and it refuses to fire inside chop.
When a triangle prints, it’s because energy released (expansion), not because the chart looked cute.
What it is:
An execution-ready MACD overlay with phase gating (Expansion-Only), participation gating (Weakness-Lite), and one-click Classic vs VW-MACD Compare—all adaptive, with minimal inputs.
What’s in v1 (feature set)
Overlay ribbon on price: Fast/Slow MACD value rendered as a price-level ribbon with contextual fill and optional candle tint.
Dual value model: Classic MA-MACD (EMA/SMA) and VW-MACD (Rolling VWAP fast/slow).
Compare mode: A/B Classic vs VW-MACD with a VW ghost ribbon.
Weakness-Lite (1-bar, adaptive): Gates/fades low-participation crosses using
RVOL deficit, Effort-vs-Result failure, and over-extension vs value/ATR (Strict adds wick pressure).
Expansion-Only (Impulse/Squeeze): Triangles print only when a cross coincides with a true-range burst and a histogram-slope ignition out of compression.
Signal hygiene: ±1-bar proximity around crosses, slope awareness, 2-bar debounce.
Explainable filtering: Tiny gray dots show crosses that were intentionally filtered (weak and/or no expansion).
How to use:
Use defaults: Mode Classic, Gate by Weakness ON, Expansion-Only ON, Sensitivity Auto.
Read signals fast:
Solid triangle = cross + expansion confirmed (+ not weak if gate is ON).
Faded triangle = cross + expansion but weak participation (visible only when gate is OFF).
Gray dot = there was a cross, but it was filtered (no genuine expansion or weak & gated).
Validate quickly: Flip Compare to check VW-MACD agreement. Classic + VW alignment usually improves confidence.
Why overlay > sub-pane oscillator
You see where the cross occurs: relative to value, local structure, and S/R, right on price.
The ribbon exposes regime shifts; tint hints expansion vs contraction at a glance.
Execution becomes more context-aware and less “signal-in-a-vacuum.”
Signals & visuals
Triangles (solid): MACD crossed Signal and market showed expansion out of compression; if Gate by Weakness is ON, triangle prints only with acceptable participation.
Triangles (faded): Same as above but weak (shown only when you turn the gate OFF).
Gray dots: Crosses that were filtered (no expansion and/or Weakness gate).
Ribbon: Fast vs Slow value (Classic or VW, according to Mode). Fill and candle tint reflect expansion/contraction.
Inputs
Calculation Mode: Classic | VW | Compare
VW uses Rolling VWAP fast/slow.
Compare: Classic is primary; VW shows as a ghost ribbon for A/B checks.
Gate triangles by Weakness: ON/OFF
Uses RVOL, Effort-vs-Result, extension vs value/ATR (Strict adds wick-pressure).
Sensitivity: Off / Auto / Strict (default Auto).
Expansion-Only (Impulse/Squeeze): ON/OFF
Requires compression → release: tight ribbon + flat momentum, then TR/ATR burst with hist slope flip / cross proximity.
Display: Ribbon / Candle Tint / Weakness Markers.
Advanced (optional): Evaluate Weakness only near signals, Channel (k × |MACD|), Style Preset.
No numeric thresholds to tune—all filters self-calibrate from rolling stats.
Best practices
4H crypto: Defaults are strong—Auto, Gate ON, Expansion-Only ON.
Clean trends: If you feel you miss some tidy resumptions, briefly toggle Expansion-Only OFF.
Choppy regimes: Set Sensitivity → Strict to cut more noise without adding lag.
Confirmation: Use Compare; Classic + VW alignment typically yields better follow-through.
Alerts
MACD Signal Cross Up/Down — execution-grade (use Once per bar close).
Weakness-Lite Flag — optional context alert to help audit filtered crosses.
Attribution & License
Attribution: Based on the algorithmic concept of TradingView’s built-in MACD (fast MA – slow MA, signal, histogram).
No original TradingView source code is redistributed; overlay rendering, VW-MACD, Weakness-Lite, Expansion-Only, gating visuals, and UX are new work.
License: MPL-2.0. Educational purposes only—not financial advice.
Session Vertical Lines (Custom Colors, NY Time, Dotted)indicator which marks Asia, London, and New York open.
Power Bar [MMT]Identify and trade powerful market thrusts with precision. Power Bar detects high-momentum bullish and bearish candles that break recent support or resistance, combine proximity to a key moving average, and offer automated multi-TP trade management.
Features
Power Bar Detection : Spots large-bodied candles (relative to ATR) with minimal opposing wicks, originating near the 20 SMA, and breaking key support/resistance zones.
Fully Configurable : Adjust ATR length/multiplier, wick size ratio, SMA proximity, display style (most recent/historical) and more.
SMA Overlay : Optionally plot configurable SMA for context with proximity checks.
Support/Resistance Lines : Detect and visualize dynamic S/R based on recent swing highs/lows, with customizable lookback, style, color, and tolerance.
Trade Managemen t: Automated lines and labels for entry, stop loss, and up to three profit targets (ATR or risk multiples). Choose display mode and extend historical trades.
Visual Alerts : Color-coded bar highlights, up/down arrow label overlays, customizable colors for bullish/bearish power bars.
Use Cases
Rapidly spot and respond to strong market moves, often signaling trend initiation or continuation.
Integrate with multi-timeframe setups, momentum strategies, and discretionary trading.
Set up actionable alerts when a power bar triggers in real time.
Inputs
ATR length and multiplier
Wick ratio and SMA proximity
Support/resistance lookback, tolerance, style, color
Trade management toggle and TP calculation modes
Historical/max recent bars/trades limit controls
Alerts
Alert conditions for bullish, bearish, and any power bar event, supporting automated trading workflows.
5mn London-Newyork best entry by Profitcosmos)This indicator is engineered for scalpers and day traders who trade during the London and New York sessions — the most volatile and liquid market hours.
It automatically detects high-probability breakout structures, filters false moves using ATR-based volatility logic, and dynamically projects Entry, Stop Loss (SL), and Take Profit (TP) levels directly on the chart.
⚙️ Core Features
🧠 Smart Market Structure Detection:
Automatically identifies bullish and bearish structure shifts using swing highs/lows.
📊 ATR Volatility Filter:
Uses an adaptive ATR multiplier to confirm genuine breakouts and filter noise.
🕒 Session Filter (Optional):
Restrict signals to your chosen trading hours — ideal for London and New York overlap.
🎯 Auto Entry / SL / TP Projection:
SL: Placed below (for BUY) or above (for SELL) the two previous candle extremes.
TP: Automatically calculated at 3× the distance from Entry to SL.
Projection: Visual lines and labels extend 100 bars into the future, clearly marking your trade levels.
🔁 Alternating Signal Logic:
Prevents consecutive duplicate signals to keep the chart clean and trades logical.
📈 Visual Clarity:
Each trade setup is plotted with colored lines (Entry, SL, TP) and labels pointing left for easy visibility.
🔔 Alerts Ready:
Built-in alerts for both BUY and SELL signals to automate or notify your entries.
🪙 Why you will Love It
This tool helps identify the cleanest momentum-based entries in the 5-minute chart during high-volume hours.
It’s especially effective for XAUUSD, NAS100, and major Forex pairs, where breakout structure shifts happen fast and decisively.
🧭 Recommended Settings
Timeframe: 5 minutes
Sessions: London (3–10 AM EST) & New York (8 AM–4 PM EST)
ATR Multiplier: 1.2–1.5 (adjust for volatility)
Livelli OI-PNCOI-PNC Levels is a script that displays the open interest (OI) and net short positions (PNC) of a selection of 20 of the most significant stocks in terms of traded value on the Italian market.
PNC are indicated by red dotted lines starting from the close of the last reported change date;
The most significant open interest by number of contracts (Top 10 Calls and Top 10 Puts) are displayed using labels, all on a single line (Strike, CALL, PUT);
A summary table can be activated.
the data is hardcoded using static arrays and must be updated periodically. Data updated of 03/11/2025
########### Italiano ############
Livelli OI-PNC è uno script che permette di visualizzare gli open interest (OI) e le Posizioni Nette Corte (PNC) di una selezione di 20 titoli tra i più significativi per controvalore movimentato del mercato italiano.
Le PNC vengono indicate tramite Linee tratteggiate rosse che partono dal close della data di ultima variazione comunicata;
Sono riportati tramite labels, gli Open Interest più significativi per num.Contratti (Top 10 Call e top 10 Put) tutto su una unica riga per ogni strike (Strike, CALL, PUT);
E' attivabile una Tabella di riepilogo.
Poiché Pine Script non può leggere direttamente file da URL esterni, i dati sono hardcorati tramite array statici e vanno aggiornati periodicamente. Dati aggiornati al 03/11/2025
Minervini breakout - AndurilThis indicator checks the Mark Minerivini trend template as well checks consolidation areas and breakout.
Checks the highest closing price of last x days (default 20 days), exluding current day and draws a white dashed line, Calculates the relative volume of the current day. Calculates EMA 21, EMA50 and EMA200 and draws on the graph to define trend.
Gives a buy signal in green (writing relative strength of that day inside of green arrow) if:
1) Current price> breakout price* 0.98
2) Current price > EMA21 >EMA50>EMA200
3) Current price > 52 week high*0.75
4) Current price > 52 week low*1.3
5) EMA 200 of today > EMA 200 of 10 bar ago > EMA 200 of 20 bar ago
6) Relative volume of the day > 1.5
Breakout line - AndurilThis line shows the highest daily closing price of last 20 days default (can be adjusted from the settings). to help you to understand consolidation points and breakouts.
Opening Range HarmoniX
This is an all-in-one, modular toolkit designed for intraday traders, especially those focusing on the New York session. It combines a fully customizable Opening Range (OR) with a suite of essential indicators (Moving Average, VWAP, Supertrend, and Pivots) to provide a complete and clean view of the market.
All modules (indicators) can be toggled on or off individually, and the entire settings menu is fully translated in both English and Farsi (Persian).
Key Features
1. Customizable Opening Range (OR):
Range Timeframe: Set your OR timeframe (5, 15, or 30 min).
Precise Start Time: Define the exact start hour and minute (default 9:30 NY Time).
Key Levels: Includes OR High, OR Low, and a crucial Mid Line for price equilibrium.
Extension Method: Choose how lines extend: "Until NY Session Close" (16:00) or for a fixed "Number of Bars".
Full Styling: Complete control over color, width, and line style (solid, dashed, dotted) for all levels.
2. Dynamic Day Label:
Automatically displays the day of the week (in English or Farsi) and the selected OR timeframe (e.g., "Monday - 15m") at the start of the range.
3. Built-in Indicator Suite (All Toggleable):
Moving Average (MA):
Multiple Types: Choose from SMA, EMA, WMA, HMA, or VWMA.
Dynamic Coloring: MA line color automatically changes based on its upward (Uptrend) or downward (Downtrend) slope.
VWAP (Daily):
Features similar dynamic coloring to quickly identify the intraday trend bias.
Supertrend:
A classic trend-following tool with customizable ATR Period and Factor.
Dynamic trend-based coloring (uptrend/downtrend).
Pivot Points:
Classic high/low pivots with customizable lookback periods (left/right) to spot key turning points in the market.
💡 Core Concept
Use the Opening Range levels (High, Low, and Mid) as primary support/resistance and to establish the bias for the day. Then, use the additional indicators (MA, VWAP, Supertrend) to confirm trend direction and identify entry/exit opportunities in relation to the OR levels.
DTC Killzones ICT🕐 DTC Killzones ICT — Visualize Market Sessions Like a Pro
The DTC Killzones ICT indicator is a clean and intuitive tool designed for traders who want to analyze and visualize institutional trading sessions directly on their charts.
Inspired by ICT’s Killzone concept , this script makes it easy to identify overlapping market sessions — such as London, New York, and Asian — and track how price behaves within each zone.
💡 What It Does
This indicator automatically highlights key market sessions (Killzones) on your chart with fully customizable colors, labels, and transparency.
Each zone dynamically updates to reflect real-time highs and lows, helping you identify:
Session ranges and liquidity zones
Volatility windows and breakout areas
Institutional footprints across sessions
Whether you trade Forex, Indices, or Crypto , this script gives you visual clarity on when and where smart money is likely to move.
⚙️ Main Features
✅ Up to four customizable sessions (New York, London, Asian, and London Close)
✅ Adjustable timeframes and timezone options — sync with your exchange or custom UTC offset
✅ Dynamic high/low range tracking for each session
✅ Toggle range outlines, session labels , and transparency levels
✅ Optional daily dividers and session transition markers
✅ Works on any timeframe and any symbol
🧠 How Traders Use It
ICT-based traders can easily mark Killzones to align with setups like FVGs, liquidity grabs, or Silver Bullet entries.
Intraday traders can visualize session volatility and overlap periods for potential entries.
Swing traders can identify daily structure shifts by tracking range-to-range behavior.
🛠️ Customization
You can fully rename, recolor, or disable each session block.
Adjust the range transparency for visual comfort, and toggle session or daily dividers to fit your workflow.
Everything is designed to be clean, light, and modular — no clutter, no confusion.
⚡ Recommended Settings
For ICT-style analysis:
London Session: 02:00–05:00
New York Session: 07:00–10:00
Asian Session: 19:30–24:00
London Close Session: 10:00–12:00
These time windows are fully editable to suit your timezone or strategy.
🧩 Compatibility
Works seamlessly with TradingView’s built-in timezone tools
Compatible with all instruments and timeframes
Designed to overlay directly on your price chart
🏁 Final Notes
The DTC Killzones ICT indicator focuses purely on market session visualization — no alerts, entries, or trading signals.
It’s designed to complement your existing strategies and enhance clarity when analyzing market behavior across global sessions.
📈 Built for traders who value precision, structure, and timing.
WIN1! • Crossing EMAs• (By Mesquita, v7)Moving average crossover strategy for intraday movements, especially in the continuous index (WIN1!) on the Brazilian stock exchange B³. The strategy is customizable for time windows, has a filter for trades only above the long-term average, whether only long, only short, or both, with or without stop loss.
KZ One — Scalping Training StrategyKZ One is a scalping strategy developed for M1 and M5 timeframes. It is designed to help traders study and practice short-term market behavior by using structured zones to highlight potential entry and exit areas. The strategy allows customization of Risk (USD) and Take Profit (R multiple) parameters for flexible trade management. Additional tools include ATR-based filters to skip low-volatility conditions and a Pre-Alert Lead (bars) option that notifies users ahead of possible setups. KZ One is intended for educational and analytical purposes, promoting disciplined and consistent trading practice.
RAFEN-G - Kill Zones & Institutional Gaps🔍 What It Does
Kill Zones (KZ1, KZ2, KZ3)
Automatically highlights the main intraday liquidity windows such as the London open, NY AM, and NY PM sessions — customizable by time, color, and transparency.
Perfect for timing setups, identifying liquidity sweeps, or backtesting session behavior.
Institutional GAP Detection (NY 11:00 → 03:00)
Anchored on the New York H1 clock, the script automatically draws the “institutional gap” between the 11:00 close and the 03:00 open of the next trading day.
Each gap is drawn as a transparent box with a label showing its size in price units.
Dynamic Cleanup & Color Updates
Automatically removes old boxes beyond your chosen history limit and keeps all visuals perfectly synchronized in real-time.
⚙️ Key Features
3 fully independent and editable Kill Zones
Adjustable timezone (default: America/New_York)
Works on all intraday timeframes
Auto-management of historical data
Clean and lightweight visuals (up to 2000 boxes)
Real-time color and transparency updates
Alerts when each Kill Zone starts
🧠 Ideal For
Traders using ICT, SMC, or institutional frameworks who want clear visual separation of market sessions and automatic tracking of session-to-session gaps for confluence or imbalance analysis.
🕐 Recommended Use
Apply on 5 min / 15 min / 1 h charts, align timezone to NYC, and combine with liquidity or FVG tools for maximum insight.
EMA Channel – Multi-Timeframe Adaptive Bands📘 Short Description (for TradingView listing)
A powerful, adaptive EMA channel indicator with independent timeframes for each band (Lower / Median / Upper), dynamic colors, and a smart configurable resistance line that can follow price, EMA, or ATR-based volatility.
Perfect for multi-timeframe confluence analysis, support/resistance mapping, and identifying early trend reversals.
🔹 Overview
The EMA Channel – Multi-Timeframe Adaptive Bands creates a dynamic price corridor that adapts to volatility and structure across multiple timeframes.
Each of the three bands (Lower, Median, and Upper) is independently configurable with its own:
Timeframe
EMA length
Source (close, hl2, ohlc4)
Line width, color logic, and visibility
The indicator also features automatic color shifts depending on price position, providing instant trend context.
🔹 Core Features
✅ Lower/Base EMA (Support)
Anchored EMA that defines the lower boundary of the trend channel.
Turns blue when price is above (bullish control) and red when price breaks below.
✅ Median Line (Neutral / Balance Zone)
Can either be its own EMA or automatically calculated as the midpoint between lower and upper bands.
Yellow below price, red above – clear mid-zone visualization.
✅ Upper Band (Dynamic Resistance)
Built above the selected anchor (Lower EMA, Median, Own EMA, or Price).
Configurable by ATR, Percentage offset, or ATR + Percentage combo.
Additional fine-tuning options:
Minimum gap (ATR or % based)
Absolute offset (price units)
EMA smoothing for a cleaner visual curve
Turns green when above price (active resistance) and red if price breaks through.
✅ Multi-Timeframe Engine
Each band is computed in its own timeframe (5D, 1D, 4H, etc.), making the tool highly adaptable for cross-TF confluence setups.
The "Hold HTF value between bars" option ensures smooth visualization when switching chart timeframes.
✅ Optional Channel Fill
Soft gray background fill between Lower and Upper bands for quick recognition of the dominant structure.
🔹 Typical Use Cases
Identify multi-timeframe trend channels and reversals.
Use the Upper band as adaptive resistance and the Lower EMA as dynamic support.
Combine with volume and RSI/MACD for confirmation of breakouts or retests.
Works for crypto, forex, indices, and stocks.
🔹 Technical Notes
Uses request.security() with barmerge.gaps_off and optional lookahead_on to preserve higher-timeframe integrity.
Compatible with all symbols and chart timeframes.
Designed for traders who rely on visual confluence and precision trend detection rather than single EMA signals.
🧠 Credits & Author Note
Developed by Bogdan TOMOIAGA – built for precision trend tracking, multi-timeframe analysis, and dynamic color feedback.
Inspired by institutional-grade volatility envelopes and enhanced with Pine v5 adaptive plotting.
⚠️ Disclaimer
This script is provided for informational and educational purposes only.
It does not constitute financial advice, trading advice, or investment guidance of any kind.
Past performance does not guarantee future results.
Trading involves risk — including the possible loss of capital.
Always do your own research and consult a licensed financial advisor before making any trading decisions.
The author and publisher of this script assume no responsibility or liability for any losses or damages resulting from its use.
VCP ScreenerThis screener:
• Detect tight price contraction using ATR
• Check for volume contraction
• Confirm trend strength using moving averages
• Flag stocks near recent resistance
Ultra & CalculadoraThis proprietary, closed-source indicator is designed to provide traders with a distinct daily advantage by establishing and projecting critical support and resistance levels based on the market's initial reaction to the New York (NY) trading session open. It also features a fully integrated risk management utility.
Detailed Methodology & Usefulness
1. NY Open Price Action Levels (Closed-Source Logic):
This script generates dynamic Buy and Sell lines using a proprietary calculation based on the opening range of the New York trading session.
Underlying Concept: The market’s reaction during the first hour of major session overlaps often sets the volatility and direction for the remainder of the day. Our methodology uses a dynamically defined "Opening Price Box" anchored to a specific time interval around the NY open.
Level Projection: Instead of using standard pivot points or fixed percentages, the Buy and Sell lines are given by the High and Low points of the 30-minute candle before the market opens.
Buy Line: Represents a calculated support level, suggesting an area for potential long entry or short-covering if held.
Sell Line: Represents a calculated resistance level, suggesting an area for potential short entry or long profit-taking if rejected.
Value to the Community: This method provides objective, session-specific price targets and boundaries, helping users move beyond purely discretionary range identification.
2. Integrated Risk Calculator:
The indicator includes a transparent, functional utility to manage position size, addressing the requirement for usefulness and providing actionable utility to the user.
Functionality: The calculator determines the optimal contract or share position size based on three user inputs: Total Capital, Percentage Risk per Trade, and Stop Loss Size (in Pips/Ticks).
Formula: It utilizes the foundational risk formula: Position Size = (Capital * Risk %) / Stop Loss Value. This helps traders adhere strictly to their risk limits and prevents over-leveraging.
Author's Instructions and UI Text Translation
All User Interface (UI) elements are provided with their mandatory English translation first.
Show_NY_Levels: Show NY Open Projected Levels (Boolean)
NY_Open_Time: New York Session Open Time (Time/Session Input)
Capital_Input: Total Trading Capital ($)
Risk_Percent: Risk Percentage per Trade (%)
Stop_Size: Stop Loss Size (Pips/Ticks/Points)
Calculated_Size: Calculated Position Size (Contracts/Shares)
[KF] Multi-Duration Rate Expectations IndicatorAfter last fed cut in Oct then following jump in rates, I was frustrated at not having access to good rate expectations vs actual because the market usually prices in prior to fed action. This indicator was developed to make futures market rate expectations accessible and interpretable without requiring professional bond analytics systems.
Summary
This Pine Script indicator reveals what the futures market expects for interest rates across three key durations: Fed Funds (overnight), 2-Year, and 10-Year Treasury yields. By comparing futures-implied rates against current spot yields, it provides a clear visual signal of whether the market expects rates to rise, fall, or remain steady.
Understanding Rate Futures
Fed Funds futures (ZQ1!) use a simple design where the expected rate equals 100 minus the futures price. If ZQ1! trades at 96.12, the market expects a 3.88% Fed Funds rate. Treasury futures work differently - they trade as bond prices (typically 102-115) that move inversely to yields. Converting Treasury futures to implied yields requires complex bond mathematics involving duration and conversion factors.
This indicator solves the Treasury futures complexity by implementing a self-calibrating sensitivity model. It observes the historical relationship between futures prices and yields, then uses this to project rate expectations. The model also compares front-month to next-month contracts to detect expected rate direction, automatically adapting as market conditions change.
How to Use
Add the indicator to any chart and select your desired duration in the settings. The display shows the futures-implied rate, current yield, and the difference between them. Green indicates the market expects higher rates, red means lower expectations, and gray shows expectations in line with current rates.
The indicator excels at identifying divergences between market expectations and current rates, which often precede rate movements or futures repricing. Comparing expectations across different durations reveals insights about yield curve positioning and Fed policy anticipation.
Technical Note
While Fed Funds futures provide exact rate expectations, Treasury futures conversions are sophisticated approximations that provide reliable directional signals and reasonable magnitude estimates sufficient for most trading applications.
💸 DCA Accumulation Strategy (USD‑Based Scaling)Buy when blue arrow appears, if the next arrow is lower than the last increase your position. This will pull your average cost down slowly over time.
Gann Astronomical Turning PointsThis is a comprehensive Pine Script that implements W.D. Gann's astronomical theories to identify potential market turning points. Here's a detailed breakdown of the script:
Overview
The script identifies and displays astronomical events (sun angles, moon phases, and Mercury retrogrades) that Gann theorists believe correlate with market turning points. It also analyzes historical price performance following these events to provide statistical significance.
Key Components
1. Input Parameters
Date Range: Users can set the analysis period (start and end dates)
Display Options: Toggle visibility of different astronomical events and tables
Analysis Settings: Configure the lookback period for price change analysis (1-20 days)
2. Astronomical Calculations
The script includes several functions to calculate celestial positions:
getDaysSinceEpoch(t): Calculates days since January 1, 2000 (reference point)
getSunLongitude(t): Computes the Sun's position in the ecliptic (0-360°)
getMoonPhase(t): Determines the Moon's phase angle relative to the Sun
getMercuryLongitude(t): Calculates Mercury's position in the ecliptic
3. Gann Critical Angles (Sun Events)
The script identifies when the Sun reaches four critical angles that Gann considered significant:
0° Aries (Spring Equinox)
90° Cancer (Summer Solstice)
180° Libra (Fall Equinox)
270° Capricorn (Winter Solstice)
These are detected by tracking when the Sun's longitude crosses these specific angles.
4. Moon Phases
Four key moon phases are identified:
New Moon: Moon passes between Earth and Sun
First Quarter: Moon is 90° east of Sun
Full Moon: Moon is opposite the Sun
Last Quarter: Moon is 270° east of Sun
5. Mercury Retrograde Periods
The script detects when Mercury appears to move backward in its orbit:
Identifies start and end dates of retrograde motion
Displays these periods as highlighted zones on the chart
6. Price Change Analysis
For each astronomical event, the script:
Calculates the percentage price change over a user-defined lookback period
Categorizes changes as positive or negative
Stores this data for statistical analysis
7. Statistical Significance
The script calculates several metrics for each event type:
Average Price Change: Mean percentage change following events
Up/Down Ratio: Number of positive vs. negative changes
Accuracy Percentage: How often the dominant direction occurred
8. Visual Elements
The script includes multiple display components:
Event Labels
Sun Angles: Orange sun symbols displayed above price bars
Moon Phases: Moon phase emojis displayed below price bars
Mercury Retrograde: Red boxes highlighting the retrograde periods
Information Tables
Events Table: Shows upcoming and recent astronomical events
Significance Analysis Table: Displays statistical performance of each event type
Forecast Section: Identifies the next upcoming event and predicted direction
9. Forecasting Functionality
The script predicts market direction for the next astronomical event based on:
Historical average price change for that event type
Statistical accuracy of previous similar events
Color-coded forecast (green for bullish, red for bearish)
This script offers an interesting implementation of Gann's astronomical theories, but should be used as part of a broader analysis rather than as a standalone trading system.
Disclaimer: This indicator is for educational purposes only. Past performance does not guarantee future results. Always conduct your own research and risk assessment before trading.






















