DonkeyKong 3 minuteTis is a test script for ema movement
Deselect the yellow for quicker entry and exit for 3 minute
المؤشرات والاستراتيجيات
UTC-5 Time MarkersFor model 110 of DTT use flout with this as a bias and you will catch high wr high rr trades for this certain time window of continuation or reversal
Daily Open/Close Vertical LinesDaily Open/Close Vertical Lines
by LG1234
📈 **Mark your custom session opens and closes with clean vertical lines**
**Features:**
• Set ANY open hour/minute (e.g. 08:00, 08:30, 09:30 London)
• Set ANY close hour/minute (e.g. 16:00, 16:30, 17:00)
• **Perfect for London (08:00-16:30), NY (09:30-16:00), Tokyo (00:00-09:00)**
• Full-height vertical lines (no horizontal mess)
• Custom colours, line styles (solid/dashed/dotted), thickness
• **Independent settings per chart** - London times on EURUSD, NY times on SPX
• Works on ALL symbols/timeframes
**Setup (2 minutes):**
1. Chart Settings → Timezone → Europe/London (or your preferred timezone)
2. Add indicator → Set your open/close hours
3. Done! Lines appear at exact times each day
**Pro tip:** Use on multiple charts with different sessions:
- EURUSD 5m: 08:00/16:30 London ✅
- NAS100 15m: 09:30/16:00 NY ✅
- BTC 1H: 14:00/22:00 Crypto ✅
**Settings persist forever** - close browser, reopen, settings stay perfect.
Perfect for session trading, prop firm challenges, or any strategy needing clean daily markers.
⭐ **Love it? Leave a review!**
Day SeparatorTitle: Professional Day Separator & Custom Session Labels
Description: This indicator is a clean and essential tool for intraday traders (M1, M5, M15) who need a clear visual separation between trading days. Unlike the standard TradingView period breaks, this script allows full control over the appearance and the exact timing of the separators to match your broker's server time.
Key Features:
Deep Black Vertical Lines: High-contrast separators for better chart clarity.
Customizable Thickness: Adjust the line width to suit your visual preference and chart background.
Custom Session Start: Perfect for traders whose "day" starts at a specific time (e.g., 23:00) due to broker offsets or specific session focus.
Centered Day Labels: Day-of-the-week labels (M O N, T U E, etc.) are placed at the bottom of the chart and can be perfectly centered between the separators.
Stability: Built using Pine Script V5 with absolute vertical alignment logic to prevent "leaning" or horizontal line glitches.
How to use:
Line Thickness: Adjust the "Linien Dicke" in the settings to make separators more or less prominent.
Align to Broker Time: If your broker starts the new daily candle at 23:00, simply set the "Tagesbeginn" to 23. The separator will then snap to that exact candle.
Perfect Label Centering: Use the "Label Stunde" slider to move the day labels left or right until they are centered between your lines (usually around 11:00 or 12:00 depending on your offset).
Why use this? Standard session breaks often look cluttered or don't align with local time zones/broker sessions. This script keeps your chart professional and ensures you always know exactly which day of the week you are trading.
Break-Retest-Confirm (v10.3 - Stock Boss BRC)Break-Retest-Confirm (BRC)
This indicator is designed to visualize structured price behavior using a multi-step evaluation process through structural price behavior modeling rather than static level-based conditions.
The script analyzes price displacement, retracement behavior, and candle structure alignment to evaluate whether directional price expansion reflects meaningful participation or weak price acceptance.
Instead of relying on static levels or traditional indicators, the BRC methodology evaluates how price moves away from and returns to prior structure, then assesses continuation intent through candle-based conditions.
The indicator highlights three distinct phases:
• Break — identification of directional displacement exceeding recent candle structure
• Retest — controlled pullback behavior toward the displacement zone
• Confirm — continuation candles that meet structural alignment criteria
This approach is designed to help traders visually distinguish impulsive price expansion from weak directional attempts and reduce discretionary interpretation.
The script does not generate trade signals, does not predict direction, and is not intended to replace risk management. It functions as a structured visualization framework for execution planning.
How to use
Traders typically apply higher-timeframe context to establish directional bias.
Once price produces displacement, the indicator helps visualize whether subsequent pullbacks maintain structural integrity and whether continuation candles demonstrate acceptance in the directional expansion context.
The tool is intended for educational and analytical use and should be combined with proper trade management.
Important notes
This indicator is not a strategy and does not guarantee outcomes.
It is designed to support consistent execution through repeatable structure analysis.
TradeX Guru Scalping premium SetupThe TXG Scalping System is a rule-based intraday analytical tool designed for traders who prioritize clarity and discipline over market noise. This indicator is built to identify high-probability expansion phases using a multi-layered confluence of trend, momentum, and volume flow.
🔹 The Core Framework
Trend Tracking: The system uses a multi-layered moving average basis to identify the primary directional bias for the current session.
Momentum Confirmation: We utilize standardized momentum indicators to ensure that signals are only generated when the market is in an "Expansion" phase, avoiding choppy range-bound zones.
Volume & Flow Analysis: The script incorporates volume-weighted data to confirm that market participation is actively supporting the price movement.
Dynamic Volatility Scaling: Risk management levels (Safety SL and Goal Targets) are automatically scaled based on real-time market volatility to adapt to changing conditions.
Actionable Visuals: Clearly marked Bullish and Bearish zones that only appear when all internal conditions are met.
Trigger-Based Execution: Includes a "Trigger Level" logic based on the high/low of signal candles to prevent entering trades too early.
Zero Repainting: All logic is calculated on bar close; once a signal is confirmed, it stays fixed on the chart.
Optimized Performance: Fine-tuned for high-liquidity assets like Nifty50, Bank Nifty, Silver, Gold, Index Futures and Major Crypto pairs like Bitcoin, Ethereum.
Best Practice
Wait for the Setup : Monitor for the visual Bullish/Bearish signal.
Confirm the Break: A setup is considered active only when price breaks the designated Trigger Level. For Visual Clarity. I have color coded it to Orange candle for bullish entry confirmation and purple candle for bearish entry confirmation
Manage with Discipline: Use the tiered Goal Levels to secure points as the trend progresses.
Signal Invalidation: If the price touches the Red Safety Line (SL) before breaking the Trigger Level, the setup is automatically cancelled. You will see the label change to a grey "❌" to signal that the trade is no longer valid.
RACHERO (Z-Div)RACHERO (Z-Div) (Rachero Preview – Limited Version) is a proprietary market-pressure indicator that highlights unusual participation and momentum shifts often preceding key price moves. It emphasizes normal versus extreme conditions and marks early inflection zones where price behavior becomes unstable, helping traders anticipate potential reversals or strong continuations with minimal clutter.
EMA 8 Break & Retest ScalperEMA 8 Break & Retest, Candle Close und Wick
BUY / SELL Signale
Scalping
EMA 8 Break & Retest, Candle Close and Wick
BUY / SELL Signals
Scalping
NL Session High/Low ticks (16:30-17:30) - 5mthis is a 5 minut chart open and close off the new york open highs and lows
Martell Liquidation Reversal Premium📊 Recommended Settings by Timeframe
⏱️ 1‑Minute Timeframe (Aggressive Scalping)
Best for traders seeking fast entries during high‑volatility conditions.
Z Score Length: 150
Z‑Score Threshold: 3.5
Liquidation Timeout Bars: 12
Min Transparency: 40
Max Transparency: 80
Bullish Base Color: Bright Green
Bearish Base Color: Bright Red
Neutral Candle Color: Light Gray
🔍 Higher threshold to reduce noise. Faster reaction time for quick scalps.
⏱️ 3‑Minute Timeframe (Moderate Scalping)
Balanced configuration for precision and stability.
Z Score Length: 200
Z‑Score Threshold: 3.2
Liquidation Timeout Bars: 18
Min Transparency: 30
Max Transparency: 70
Bullish Base Color: Standard Green
Bearish Base Color: Standard Red
Neutral Candle Color: Medium Gray
🔍 Ideal balance between sensitivity and confirmation.
⏱️ 5‑Minute Timeframe (Conservative Scalping / Intraday)
Designed for cleaner signals and reduced drawdown.
Z Score Length: 300
Z‑Score Threshold: 3.0
Liquidation Timeout Bars: 24
Min Transparency: 30
Max Transparency: 70
Bullish Base Color: Dark Green
Bearish Base Color: Dark Red
Neutral Candle Color: Dark Gray
🔍 More filtered signals, fewer false reversals, stronger trend confirmation.
TPO + Gann Complete SystemTPO + GANN Complete Trading System
A comprehensive Market Profile and Gann analysis indicator combining:
- TPO Levels: POC, VAH, VAL with Value Area fill
- Initial Balance: IB High/Low with 1.5x and 2x extensions
- Gann Square of 9: Price projections at 90°, 180° angles
- Gann Lines: Price space divisions (50%, 25%, 75%)
- Fibonacci: Key retracement levels (38.2%, 50%, 61.8%)
- Confluence Detection: Alerts when multiple levels align
SIGNALS:
▲ VAL - Long setup at Value Area Low
▼ VAH - Short setup at Value Area High
IB↑/IB↓ - Initial Balance breakout signals
R - Mean reversion (rotation) signals
C - Confluence zone signals
STATUS TABLE:
- Real-time Position status (Above VA / In Value / Below VA)
- Confluence detection (Active/None)
- All key levels displayed
Works on Futures, Forex, Stocks, and Crypto. Optimized for 30-minute charts.
Based on W.D. Gann's Square of Nine methodology and Market Profile auction theory.
TPO + Gann Complete SystemTPO + GANN Complete Trading System
A comprehensive Market Profile and Gann analysis indicator combining:
- TPO Levels: POC, VAH, VAL with Value Area fill
- Initial Balance: IB High/Low with 1.5x and 2x extensions
- Gann Square of 9: Price projections at 90°, 180° angles
- Gann Lines: Price space divisions (50%, 25%, 75%)
- Fibonacci: Key retracement levels (38.2%, 50%, 61.8%)
- Confluence Detection: Alerts when multiple levels align
SIGNALS:
▲ VAL - Long setup at Value Area Low
▼ VAH - Short setup at Value Area High
IB↑/IB↓ - Initial Balance breakout signals
R - Mean reversion (rotation) signals
C - Confluence zone signals
STATUS TABLE:
- Real-time Position status (Above VA / In Value / Below VA)
- Confluence detection (Active/None)
- All key levels displayed
Works on Futures, Forex, Stocks, and Crypto. Optimized for 30-minute charts.
Based on W.D. Gann's Square of Nine methodology and Market Profile auction theory.
[Saga Trading] Volume ProThis indicator is designed to provide context on market participation, not trading signals.
Its purpose is to help traders distinguish between normal trading activity and statistically abnormal volume, which often appears during emotional or forced phases of the market.
Rather than relying on fixed thresholds, the script evaluates traded volume relative to its own recent behavior in order to highlight periods of excess participation. These situations may occur during panic selling, capitulation, or late-stage momentum, when risk tends to increase for late entries.
Volume expansion alone does not imply direction. Instead, it serves as a risk and exhaustion context, helping traders assess whether price movement is driven by structural participation or emotional imbalance.
This indicator is designed as a contextual and adaptive tool, allowing consistent interpretation across different assets and timeframes without manual optimization.
It does not provide buy or sell signals and should be used in conjunction with price action and market structure analysis.
ICT Killzones/Opening Prices/RELS/REHSThis TradingView indicator delivers clean, enhanced plotting of key trading session Highs and Lows (Asian, London, New York, and/or any custom sessions) in true ICT/SMC style — with thoughtful adjustments to cut noise, highlight high-probability levels, and give you full control for faster, clearer analysis.
Core features:
Plots Session Highs and Session Lows as customizable horizontal lines with optional labels, colors, styles, thickness, and fade-out for older levels
Marks Quality Highs and Quality Lows — visually distinguishing more reliable/significant extremes (e.g., unmitigated, displacement-backed, or liquidity-magnet levels based on ICT criteria)
Detects and highlights Relative Equal Highs and Relative Equal Lows — those subtle but powerful liquidity pools where price fails to push new extremes on retests, often acting as draws for sweeps or reversal confirmations
Customizable Key Opening Price Points — mark and highlight critical opens (e.g., midnight, 8:30 AM, NY open, 4H candle opens, or any user-defined times) as lines or labels to frame premium/discount zones, order blocks, or intraday bias shifts
100% customizable settings: session times/timezones, quality/relative equality thresholds (tolerance for 'relative' matching), mitigation/sweep removal, lookback periods, line behavior on breach, label visibility, and more — dial it in exactly how you trade without chart clutter
Built for ICT traders targeting liquidity grabs, PD Arrays, session reversals, or clean intraday structure. No more default-tool overload or guessing on relative levels — this gives precision, reduces visual fatigue, and lets you focus on high-edge setups.
If you're tired of noisy charts but still want deep ICT alignment (session extremes + relative equals + key opens), this one's designed to actually help you trade better. Solid upgrade path from basic session tools
Alternating Candles (1m) + Multi Range + Alert by SAUOAlternating Candles (1m) + Multi Range + Alert by SAUO
CapitalFlowsResearch: Sensitivity BandsCapitalFlowsResearch: Sensitivity Bands — Expected-Move Projection from Cross-Asset Beta
CapitalFlowsResearch: Sensitivity Bands builds on the idea of cross-asset sensitivity by turning beta into a set of projected price boundaries around the prior day’s close. Instead of showing beta as a standalone number, this tool translates it into real price levels that represent the expected magnitude of movement—up or down—given a typical shock in a chosen market driver.
The script measures how strongly the price asset has been responding to moves in the driver over a rolling window, then uses that relationship to calculate a dynamic “band width.” That width is applied symmetrically around the previous daily close to create two horizontal bands: an upper range and a lower range. These lines update intraday, offering a real-time sense of whether current price action is unfolding within normal sensitivity limits or pushing into statistically unusual territory.
Traders can choose how the driver’s changes are interpreted (basis points, absolute moves, or percent changes), and optionally replace the rolling band with a running mean to emphasise longer-term structural sensitivity. The resulting overlay acts much like an expected-move model—similar in spirit to options-derived ranges, but powered by beta dynamics rather than implied volatility.
In practice, Sensitivity Bands serves as a clean framework for contextualising market movement:
Inside the bands: price behaviour aligns with typical cross-asset sensitivity.
Touching a band: movement is strong but still consistent with historical response.
Breaking a band: indicates a regime shift, a driver disconnect, or unusually high momentum.
All of this is achieved without exposing the underlying beta calculations or normalisation logic.
Swing Dashboard - Titan [RatMutant]NSE:TITAN Titan by Ratmutant is an advanced rule-based swing trading system built around multi-strategy confirmation, higher-timeframe alignment, momentum filtering, and strict risk control.
It is designed to help traders participate only in high-quality market moves while avoiding noise, news volatility, and correlated market risk.
This indicator focuses on BUY-side swing trades with fully automated trade management and real-time performance analytics.
🎯 Core Trading Framework
Titan combines three independent strategies, each validated by multiple filters before any trade is allowed:
📈 Strategy 1 – Fibonacci Reversal
0.618 / 0.382 Fibonacci retracement zones
Volume confirmation
ATR-based zone tolerance
Trend-aligned reversal logic
📉 Strategy 2 – Bollinger Band Squeeze
Volatility contraction detection
Breakout confirmation from squeeze
Designed to capture expansion moves
⚡ Strategy 3 – MACD Reversal
MACD crossover confirmation
Trend-filtered momentum reversals
Each strategy can trigger independently, but final entries require full system alignment.
🧭 Trend & Market Filters
Trades are only allowed when all key conditions agree:
Primary Trend Filter (EMA / SMA, user-selectable)
Higher-Timeframe (HTF) Trend Confirmation
Momentum Spike Filter (range expansion validation)
Market Correlation Filter (index sync awareness)
News Shield System (ATR-based volatility protection)
If volatility spikes abnormally, the system enters LOCKED mode, preventing risky entries.
🛡️ Risk & Trade Management
Titan includes a complete professional trade management engine:
ATR-based or Fixed-% Stop Loss
R:R-based Take Profit targeting
Automatic Break-Even protection
Optional Trailing Stop
Fixed-risk position sizing (₹-based)
Visual Entry, SL, TP levels plotted on chart
All exits are handled systematically, removing emotional decision-making.
📊 Smart Dashboard (Real-Time)
The built-in dashboard provides instant situational awareness:
Trend & HTF alignment status
Momentum & News Shield state
Strategy activation status (Fib / BB / MACD)
Position size & risk/reward
Trade state: READY / LOCKED / IN TRADE
Overall Win Rate
Last-5-Trades (L5) performance analytics
Net P&L
Win rate
Gains vs losses
Designed for zero-gap clarity without chart clutter.
🏷️ Visual Trade Labels
BUY entry labels with active strategies
SELL labels for Target / Stop exits
Break-Even activation alerts
Live P&L holding labels during trades
🔔 Alerts Included
BUY Entry
READY state
LOCKED (News Shield active)
SELL at Target
SELL at Stop Loss
Break-Even activation
Alerts are suitable for manual execution or automation.
🔐 Protection & Usage Integrity
This indicator includes dynamic watermarking based on:
Chart symbol
Timeframe
This helps discourage unauthorized redistribution and protects intellectual property.
👥 Best Suited For
Swing traders
Positional traders NSE:AXISBANK
Rule-based traders
Dashboard-driven decision makers
Works on Stocks, Indices, Crypto, Forex, Commodities.
⚠️ Disclaimer
This indicator is a decision-support tool, not financial advice.
Past performance does not guarantee future results. Always manage risk responsibly.
⭐ If you find this useful, please Like ❤️, Comment 💬, and Follow for future system upgrades.
FVG + Manip (optimized)
This indicator detects **Fair Value Gaps (FVGs)** using a **3-candle confirmation rule**, draws each FVG as a **boxed zone** on the chart (optionally with a **50% midpoint dashed line**), then monitors price action to:
1. flag a **“reaction”** when price touches the zone **and the candle body closes completely outside the zone**, and
2. **delete** the zone once it has been **fully filled** (either by wick or by body, depending on user settings).
Additionally, it colors the candle **green or red** only when a **manipulative candle** occurs *and* a matching **FVG reaction** is detected (bullish or bearish).
---
## Inputs and User Settings
### 1) FVG fill (“close”) method
**`closeMethod`** can be:
* **BODY**: the FVG is considered filled only when the **candle body** fully fills it.
* **WICK**: the FVG is considered filled when the **wick** fully fills it.
This setting affects when zones are deleted.
### 2) Manipulative candle detection mode
**`manipMode`** can be:
* **BASE**
* **BASE + BREAK**
* **DISPLACEMENT**
If **DISPLACEMENT** is selected, it also uses:
* **`dispPct`** = minimum body size as a % of candle range (0–1).
Example: `0.5` means the candle body must be at least **50%** of its full range.
### 3) Visual styling
You can set:
* Bull and bear FVG fill/border colors
* Fill transparency
* Border thickness
* Whether to show the **50% midpoint line**
* Midline colors and thickness
---
## Candle Measurements (for displacement logic)
For each candle it computes:
* **bodyHigh** = max(open, close)
* **bodyLow** = min(open, close)
* **bodySize** = abs(close − open)
* **rangeSize** = max(high − low, minimum tick)
* **hasDisp** = true if `bodySize >= rangeSize * dispPct`
So in DISPLACEMENT mode, a candle qualifies only if its body is “big enough” relative to its range.
---
## Manipulative Candle Logic
The script defines “manipulative” candles separately for bullish and bearish directions.
### BASE mode
* **Bullish (c1Green):**
The candle makes an equal/lower low vs the previous candle (`low <= low `) and closes bullish (`close > open`).
* **Bearish (c1Red):**
The candle makes an equal/higher high vs the previous candle (`high >= high `) and closes bearish (`close < open`).
### BASE + BREAK mode
* **Bullish (c2Green):**
It makes a lower low (`low < low `) and closes back above the previous low (`close > low `), and is bullish (`close > open`).
* **Bearish (c2Red):**
It makes a higher high (`high > high `) and closes back below the previous high (`close < high `), and is bearish (`close < open`).
### DISPLACEMENT mode
Same as BASE + BREAK, but also requires **hasDisp**:
* **Bullish (c3Green):** `c2Green and hasDisp`
* **Bearish (c3Red):** `c2Red and hasDisp`
Finally:
* **manipGreen** is true if the selected mode’s bullish condition is true
* **manipRed** is true if the selected mode’s bearish condition is true
---
## FVG Detection (3-candle confirmed)
It defines an FVG using candles `0`, `1`, and `2` (current candle = 0):
### Bullish FVG confirmed
```pine
bullFvgConfirmed = low > high
```
Meaning the **current candle’s low** is above the **high of two candles ago** → an “upward gap” across 3 candles.
### Bearish FVG confirmed
```pine
bearFvgConfirmed = high < low
```
Meaning the **current candle’s high** is below the **low of two candles ago** → a “downward gap”.
---
## Zone Creation and Drawing
When an FVG is confirmed, the script creates:
* a **box** representing the zone
* an optional **dashed midpoint line** at 50%
### Bullish zone geometry
* **Top = current low**
* **Bottom = high **
The box starts at the current bar and extends right by:
* **`extendBars = 500`**
### Bearish zone geometry
* **Top = low **
* **Bottom = current high**
### Midline (50%)
Midpoint is:
```pine
mid = (zTop + zBot) / 2
```
A dashed line is drawn across the same 500-bar extension.
If `showMidline` is false, the line is made effectively invisible.
---
## Storage / Object Management (maxKeep)
The script stores:
* bull boxes + their midlines
* bear boxes + their midlines
It keeps at most:
* **`maxKeep = 120`** zones per direction
When exceeded, it deletes the oldest box and its line to stay within limits.
---
## Zone Monitoring: Reaction + Deletion
Every bar, it loops through all stored zones and checks:
### A) “Touch” condition (common)
```pine
touches = (high >= zBot) and (low <= zTop)
```
This means the candle range overlaps the zone at least partially.
---
### B) Reaction rules (strict: body must be outside)
The script’s comment says:
**Reaction requires body OUTSIDE zone (never inside).**
#### Bullish reaction
```pine
if touches and (bodyLow > zTop)
bullReactNow := true
```
So price touched the zone, but the **entire candle body is above the zone** (bodyLow is above the zone top).
This is a “tap + rejection upward” style reaction.
#### Bearish reaction
```pine
if touches and (bodyHigh < zBot)
bearReactNow := true
```
Touched the zone, but the **entire candle body is below the zone** (bodyHigh is below zone bottom).
This is a “tap + rejection downward” reaction.
---
### C) Deletion rules (zone “filled”)
#### Bullish FVG fill
* Wick fill:
```pine
filledW = (low <= zBot)
```
* Body fill:
```pine
filledB = (bodyLow <= zBot)
```
Delete if:
* `closeMethod == WICK` and `filledW`
* OR `closeMethod == BODY` and `filledB`
#### Bearish FVG fill
* Wick fill:
```pine
filledW = (high >= zTop)
```
* Body fill:
```pine
filledB = (bodyHigh >= zTop)
```
Delete if:
* `closeMethod == WICK` and `filledW`
* OR `closeMethod == BODY` and `filledB`
When deleting, it removes:
* the box
* its corresponding midpoint line
* the entries in the arrays
---
## Final Candle Coloring (no overlap)
At the end, it colors candles only if:
* there is a **manipulative candle**, and
* there is a **reaction** in the same direction, and
* the opposite reaction is not simultaneously active
### Bullish candle coloring
```pine
greenFinal = manipGreen and bullReactNow and not bearReactNow
```
→ candle becomes **lime**
### Bearish candle coloring
```pine
redFinal = manipRed and bearReactNow and not bullReactNow
```
→ candle becomes **red**
If neither condition is met, `barcolor(na)` leaves candles unchanged.
---
## In short (one-liner)
This script draws 3-candle FVG zones, keeps them extended forward, deletes them only when fully filled (by wick/body setting), and highlights candles only when a chosen “manipulative” candle pattern happens at the same time as a strict “touch + body rejection” reaction from a bull/bear FVG.
If you want, I can also write a clean “user manual” style description (what signals mean, how to use settings, typical setups for scalping vs swing) in English.
ASIA + ALERT (Touch after 09:00)This script is a pure indicator designed to analyze price action around the Asian session and provide contextual market structure information.
It does not open trades and does not manage positions.
1. Asia Session Box (Core Reference)
The script identifies the Asian session from 23:00 to 07:00 (Rome time).
During this period it:
Tracks the highest high and lowest low.
Draws a visual box on the chart that expands in real time.
This Asia range becomes the main reference framework for the rest of the logic.
2. Yellow Candles (Imbalance / FVG Detection)
The script detects “yellow candles” using a Fair Value Gap–style logic:
Bullish imbalance or bearish imbalance patterns.
Only yellow candles formed outside the Asian session are stored.
These candles represent potential supply or demand origins.
3. Zone Creation (After Asia Ends)
When the Asian session ends (07:00):
The script scans the stored yellow candles.
It creates price zones based on their position relative to the Asia range:
LONG zones → yellow candles below the Asia low
SHORT zones → yellow candles above the Asia high
The user can choose:
To use only the first valid yellow candle, or
To also include the second valid yellow candle (optional).
Zones are drawn as boxes that extend to the right, acting as areas of interest.
4. Zone Touch Alert (After 09:00 Only)
The script can trigger one single alert:
Only after 09:00 (Rome time).
Only when price actually touches the zone entry level:
LONG → touch of the upper boundary of the long zone.
SHORT → touch of the lower boundary of the short zone.
Once a zone is touched:
It can be marked as consumed, preventing further alerts (optional).
The zone changes visual style to indicate it is no longer active.
5. Trend Table (Multi-Timeframe Context)
A compact table is displayed in the top-right corner of the chart.
It shows BULL / BEAR / NA for the following selectable timeframes:
M1, M3, M5, M15, H1, H4, Daily
Trend direction is determined using market structure pivots:
Break above the last pivot high → BULL
Break below the last pivot low → BEAR
No break → NA
All table colors and timeframes are fully customizable.
6. What This Script Is Meant For
Session-based market structure analysis
Supply & demand context
Multi-timeframe directional bias
Precise zone interaction alerts
Discretionary trading support
7. What This Script Does NOT Do
❌ No trades
❌ No backtesting
❌ No risk management
❌ No entries or exits
It is designed to support decision-making, not to automate trading.
DF Stock Rating TableDF Stock Rating Table.
This indicator provides a comprehensive "at-a-glance" Scorecard for any stock. It is designed for growth traders and investors who follow strategies similar to CAN SLIM or Minervini, helping you instantly separate true Market Leaders from lagging stocks.
It combines Technical Momentum (Price action) with Fundamental Growth (Earnings & Sales) to generate a composite "Overall Rating."
📊 What the Metrics Mean
Here is a breakdown of every row in the dashboard and how to interpret the numbers:
1. RS Rating (Est)
What it is: A 1-99 score measuring the stock's price performance over the last 12 months.
How it works: It uses a weighted formula that gives more importance to the most recent 3 months of price action.
The Goal: A score of 80-99 indicates the stock is in the top tier of price performers. A score below 50 means it is lagging.
Note: This is a mathematical estimation based on fixed benchmarks, as Pine Script cannot scan the entire market relative to other stocks.
2. vs SPY (Alpha)
What it is: Measures the "Relative Strength" of the stock compared specifically to the S&P 500 (SPY).
How to read it:
Positive (Green/Blue): The stock is moving faster than the general market. It is a Leader.
Negative (Red): The stock is performing worse than the market. It is a Laggard.
Why it matters: In a bull market, you want to own stocks that are outperforming the index, not just following it.
3. EPS Growth (YoY)
What it is: Earnings Per Share Growth (Year-Over-Year).
The Math: Compares the most recent Quarterly Earnings to the same quarter one year ago.
Why it matters: This checks Profitability. We look for big double-digit or triple-digit numbers here. If this is Red/Negative, the company's profits are shrinking.
4. Sales Growth (YoY)
What it is: Revenue Growth (Year-Over-Year).
The Math: Compares the most recent Quarterly Revenue to the same quarter one year ago.
Why it matters: This checks Product Popularity. Sales numbers are harder to manipulate than Earnings. If EPS is up but Sales are down, the growth may be low quality (cost-cutting). Ideally, you want to see +25% or higher.
5. OVERALL RATING
The Verdict: A composite score (0-99) that combines all the above factors plus the stock's long-term trend (Moving Averages).
Blue (90+): Elite status. Strong technicals and strong fundamentals.
Green (70+): Strong status. Worth watching or holding.
Gray/Red: Weak or mixed data.
🚀 Key Features
Timeframe Locked: The data is calculated using Daily charts. You can switch to a 5-minute or 1-hour chart to time your entry, and the Fundamental/RS numbers will stay rock solid and accurate.
Hybrid Analysis: Most indicators are only technical. This pulls live Financial Data from TradingView to give you the fundamental picture instantly.
Customizable Position: Go to Settings to move the dashboard to any corner of your screen (Top Right, Bottom Left, etc.).
Crypto/Forex Friendly: If Financial Data (Earnings) is not available for an asset (like Bitcoin), the script automatically detects this and calculates the rating based purely on Price Performance.
⚠️ Disclaimer
This tool is for educational and analytical purposes only. High ratings do not guarantee future price increases. Always manage risk and do your own due diligence.
TPO + Gann Complete SystemTPO + GANN Complete Trading System
A comprehensive Market Profile and Gann analysis indicator combining:
- TPO Levels: POC, VAH, VAL with Value Area fill
- Initial Balance: IB High/Low with 1.5x and 2x extensions
- Gann Square of 9: Price projections at 90°, 180° angles
- Gann Lines: Price space divisions (50%, 25%, 75%)
- Fibonacci: Key retracement levels (38.2%, 50%, 61.8%)
- Confluence Detection: Alerts when multiple levels align
SIGNALS:
▲ VAL - Long setup at Value Area Low
▼ VAH - Short setup at Value Area High
IB↑/IB↓ - Initial Balance breakout signals
R - Mean reversion (rotation) signals
C - Confluence zone signals
STATUS TABLE:
- Real-time Position status (Above VA / In Value / Below VA)
- Confluence detection (Active/None)
- All key levels displayed
Works on Futures, Forex, Stocks, and Crypto. Optimized for 30-minute charts.
Based on W.D. Gann's Square of Nine methodology and Market Profile auction theory.
Macro Compass: COT+ PCR + Volatility Sentiment w 5-Gate Signals
════════════════════════════════════════════════════════
MACRO COMPASS - Institutional Sentiment & COT Analysis
════════════════════════════════════════════════════════
Macro Compass provides institutional-grade sentiment analysis by combining Commitment of Traders (COT) data with Put/Call Ratios and Volatility indices through a proprietary Five-Gate Signal System .
Unlike simple COT indicators that just display positioning data, this tool implements a confluence-based methodology - signals only fire when multiple uncorrelated conditions align. The indicator automatically adapts its analysis based on asset class, using the appropriate COT report type and contrarian metric for each market.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚦 THE FIVE-GATE SIGNAL SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This is the core innovation. Each gate represents an independent analysis dimension:
🎯 GATE 1: Price Location
Is price at a significant technical level?
ATR Proximity — Price within N×ATR of range extremes
Manual Levels — User-defined support/resistance zones
Percentage Range — Price within X% of 52-week high/low
📊 GATE 2: COT Index Extreme
Is Smart Money positioning at a historical extreme?
Normalizes net positioning over configurable lookback (default: 52 weeks)
Bullish when index ≥ 90 (institutions extremely long)
Bearish when index ≤ 10 (institutions extremely short)
📈 GATE 3: Absolute Position Extreme
Is raw positioning at multi-year extremes?
Uses extended lookback (2× normal period) for longer-term context
Confirms Gate 2 signal with additional validation
Filters noise from short-term normalization
↔️ GATE 4: Smart Money vs Contrarian Divergence
Are institutions positioned opposite to "dumb money"?
Equities: Smart Money vs Retail (Nonreportable)
Commodities: Managed Money vs Commercial Hedgers
Currencies/Bonds: Speculators vs Commercials
Requires minimum spread between groups
🧠 GATE 5: Sentiment Confirmation (PCR + VIX)
Is market sentiment at a contrarian extreme?
BULLISH: High PCR (>1.15) = Fear | High VIX (>25) = Panic
BEARISH: Low PCR (<0.70) = Greed | Low VIX (<12) = Complacency
Configurable: Require BOTH or EITHER to confirm
Signal Generation:
Default Mode: Requires 3 of 5 gates to pass
Strict Mode: Requires all 5 gates
Cooldown period prevents signal spam
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔄 ASSET-CLASS AWARE ANALYSIS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator automatically selects the appropriate COT data source:
📈 Equity Indices (ES, NQ, YM, RTY, VX, BTC, ETH)
→ Report: Financial | Smart: Leveraged Funds | Contrarian: Retail
🥇 Commodities (GC, SI, CL, NG, ZC, ZS, etc.)
→ Report: Disaggregated | Smart: Managed Money | Contrarian: Commercial
💱 Currencies (6E, 6J, 6B, 6A, 6C, 6S, DX)
→ Report: Legacy | Smart: Noncommercial | Contrarian: Commercial
📜 Bonds (ZN, ZB, ZT, ZF)
→ Report: Legacy | Smart: Noncommercial | Contrarian: Commercial
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 HOW TO READ THE CHART
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Main Plot Lines:
🟢 Green Line — Smart Money positioning (0-100 normalized)
🔴 Red/Orange Line — Contrarian positioning (adapts to asset class)
Background Shading:
Green tint = Price in demand zone (Gate 1 bullish)
Red tint = Price in supply zone (Gate 1 bearish)
Gradient intensity = Smart Money conviction level
Signal Labels:
"BULLISH X/5 Gates" = Multiple gates aligned bullish
"BEARISH X/5 Gates" = Multiple gates aligned bearish
Small circles (bottom) = Hidden accumulation detected
Small circles (top) = Hidden distribution detected
Reference Lines:
Upper dashed (90) = Bullish extreme threshold
Lower dashed (10) = Bearish extreme threshold
Middle dotted (50) = Neutral line
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 GATE STATUS PANEL (Bottom Left)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Real-time status of all five gates:
✓ = Gate condition met | ✗ = Gate condition not met
Shows current values for each gate
Gate 5 displays sentiment status (FEAR / GREED / Neutral)
Bottom row shows total confluence count (X/5)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 MAIN DASHBOARD (Top Right)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COT Section:
Smart Money — Current normalized positioning with insight
Contrarian — Retail or Commercial (adapts to asset class)
Z-Score — Statistical deviation (>2 = extreme)
Sentiment Section:
VIX — S&P 500 fear gauge
VXN — Nasdaq volatility / tech fear gauge
PCC — Total Put/Call ratio (primary for Gate 5)
PCCI — Institutional Put/Call (smart money options)
PCCE — Equity Put/Call (retail options activity)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 HIDDEN ACCUMULATION / DISTRIBUTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Detects when Smart Money is quietly positioning opposite to price:
Accumulation — Price falling but Smart Money buying → Bullish
Distribution — Price rising but Smart Money selling → Bearish
This often precedes major reversals as institutions build positions before the move becomes obvious.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 SUPPORTED MARKETS (40+)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Indices: ES, NQ, YM, RTY, VX, BTC, ETH
Metals: GC, SI, HG, PL, PA
Energy: CL, NG, HO, RB
Currencies: 6E, 6J, 6B, 6A, 6C, 6S, DX
Bonds: ZN, ZB, ZT, ZF
Grains: ZC, ZS, ZW, ZL, ZM
Softs: KC, SB, CT, CC
Meats: LE, HE, GF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Data Source — Auto-detects symbol or manual override from 40+ futures
COT Settings — Lookback period (default 52 weeks), optional smoothing
Gate 1 — Detection method (ATR/Manual/Percentage), ATR multiplier
Gate 2 & 3 — Bullish/bearish thresholds, extreme percentile
Gate 4 — Minimum divergence spread, contrarian thresholds
Gate 5 — PCR/VIX thresholds, require both or either confirmation
Signals — Minimum gates required (2-5), cooldown period
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS INCLUDED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Bullish/Bearish Signal (5-Gate Confluence)
Entered Demand/Supply Zone (Gate 1)
COT Extreme Bullish/Bearish (Gate 2)
Sentiment Fear/Greed Extreme (Gate 5)
Hidden Accumulation/Distribution
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ BEST PRACTICES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Use Daily or Weekly timeframes — COT is weekly, sentiment is daily
Wait for 4+ gates — Higher gate count = higher probability setup
Gate 5 confirms extremes — PCR + VIX often mark turning points
Combine with price action — Use as confluence, not standalone
Monitor the spread — Larger Smart/Contrarian gap = stronger signal
Watch hidden signals — Accumulation/distribution precedes moves
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
COT data released weekly (Friday for previous Tuesday)
PCR and VIX data updates daily
Values normalized to 0-100 scale for easy interpretation
Uses TradingView's official LibraryCOT for reliability
Works on any timeframe but data has inherent lag
════════════════════════════════════════════════════════






















