Mongoose Capital: WTI Execution Overlay v1Overview
The WTI Execution Overlay v1 is a decision-support overlay designed to improve execution quality in crude oil markets by filtering when trades are allowed, not what to trade.
It integrates macro confirmation, volatility regime awareness, demand pressure, and flow confirmation into a single execution gate. The goal is simple:
reduce false breakouts, avoid low-quality conditions, and prioritize trades when macro and flow are aligned.
This tool is intended for CL / WTI futures, CFDs, and related energy instruments, and works best alongside an existing technical or order-flow strategy.
How to Use
Apply the indicator to a WTI / CL chart.
Use your existing setup (levels, structure, order flow, strategy logic).
Treat this overlay as an execution permission layer:
When the overlay is ON, conditions are favorable for breakout or continuation trades.
When the overlay is OFF, risk of failed moves is elevated.
Practical guidance:
ON → Normal execution allowed.
OFF → Reduce size, wait for confirmation, or stand aside.
Best used on 15m–4H timeframes, but adapts across horizons.
This indicator does not generate buy/sell signals and does not predict price direction.
Methodology (High Level)
The overlay evaluates execution quality through a composite framework:
1. Macro & Regime Confirmation
Identifies whether price action aligns with a supportive macro regime.
Prevents breakout participation when broader conditions are hostile.
2. Volatility & Flow Confirmation
Uses volatility expansion and momentum behavior to confirm participation.
Rising volatility is treated as confirmation, not a trigger.
3. Demand & Impact Filters
Incorporates demand pressure and impact weighting to distinguish:
Real participation vs. low-liquidity noise.
Acts as a reminder that not all breakouts are created equal.
4. Execution Gating Logic
Trades are allowed only when:
Macro regime is permissive or
Breakout conditions are confirmed and not vetoed by risk filters.
Prevents “technical breakouts” that lack macro or flow support.
What This Indicator Is
An execution filter
A risk management overlay
A confirmation layer for discretionary or systematic traders
What This Indicator Is Not
Not a trading strategy
Not a signal generator
Not predictive or forward-looking
Intended Audience
Active discretionary traders
Futures and macro traders
Energy market participants
Traders who already understand structure, levels, or order flow
If you rely solely on indicators for entries, this tool is not designed for that use case.
Credits
Developed by Mongoose Labs, a research arm of Mongoose Capital, focused on:
Macro-aware execution frameworks
Regime-based risk management
Institutional-style confirmation logic
This script is provided for educational and analytical purposes only.
Disclaimer
This indicator does not constitute financial advice. Trading futures and leveraged products involves substantial risk. Past behavior does not guarantee future results. Use at your own discretion.
趨勢分析
Ichimoku SSB 0.5% Risk Strategy v6basic strategy Ichimoku, follow trades only risking 0.5% per trade via SL.
Pure for 30min timeframe on SUI (Crypto)
Fractal Wave Hunter [JOAT]
Fractal Wave Hunter - Multi-Method Fractal Detection System
Introduction and Purpose
Fractal Wave Hunter is an open-source overlay indicator that identifies key reversal patterns using multiple fractal detection methods. The core problem this indicator solves is that different fractal methods catch different types of reversals. Williams' classic 5-bar fractal is reliable but slow; Hougaard's 4-bar method is faster but noisier. Using only one method means missing valid signals that the other would catch.
This indicator addresses that by combining both methods plus HOLP/LOHP detection, giving traders a comprehensive view of potential reversal points.
Why These Methods Work Together
Each fractal method has different characteristics:
1. 4-Bar Fractal (Hougaard Method) - Faster detection, identifies momentum shifts when close exceeds recent highs/lows. Best for catching early reversals.
2. Classic 5-Bar Fractal (Williams) - Traditional pivot detection requiring the middle bar to be the highest/lowest of 5 bars. Best for identifying significant swing points.
3. HOLP/LOHP - High of Low Period and Low of High Period signals identify when price makes a new extreme within a defined lookback. Best for trend exhaustion detection.
By combining these methods, traders can:
Use 4-bar fractals for early entry signals
Use 5-bar fractals for confirmation and stop placement
Use HOLP/LOHP for trend exhaustion warnings
How the Detection Works
4-Bar Fractal (Hougaard):
bool fractal4BuyBase = close > high and close > high
bool fractal4SellBase = close < low and close < low
Classic 5-Bar Fractal:
bool fractalHigh = high > high and high > high and high > high and high > high
bool fractalLow = low < low and low < low and low < low and low < low
Signal Types
4B (4-Bar Buy) - Close exceeds high and high - early bullish signal
4S (4-Bar Sell) - Close below low and low - early bearish signal
FH (Fractal High) - Classic 5-bar swing high - confirmed resistance
FL (Fractal Low) - Classic 5-bar swing low - confirmed support
HOLP - High of low period - potential bullish exhaustion
LOHP - Low of high period - potential bearish exhaustion
Dashboard Information
4-Bar Fractal - Count of bullish/bearish 4-bar fractals
Classic Fractal - Count of 5-bar fractal highs/lows
HOLP/LOHP - Reversal signal counts
Total Signals - Combined pattern count
How to Use This Indicator
For Counter-Trend Entries:
1. Wait for 4-bar fractal signal at key support/resistance
2. Confirm with 5-bar fractal forming nearby
3. Enter with stop beyond the fractal point
For Stop Placement:
1. Use 5-bar fractal highs/lows as stop-loss references
2. These represent confirmed swing points that should hold if trend continues
For Trend Analysis:
1. Track swing structure using fractal highs and lows
2. Higher fractal lows = uptrend structure
3. Lower fractal highs = downtrend structure
Input Parameters
Show 4-Bar Fractals (true) - Toggle Hougaard method signals
Show Classic Fractals (true) - Toggle Williams method signals
Show HOLP/LOHP (true) - Toggle exhaustion signals
ATR Filter (false) - Only show signals during volatile conditions
Swing Lines (true) - Connect significant swing points
Timeframe Recommendations
1H-Daily: Best for reliable fractal detection
15m-30m: More signals but higher noise
Weekly: Fewer but more significant fractals
Limitations
5-bar fractals have inherent 2-bar lag (need confirmation)
4-bar fractals can produce false signals in choppy markets
HOLP/LOHP signals work best at trend extremes
Not all fractals lead to significant reversals
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Fractal detection does not guarantee reversals. Always use proper risk management.
- Made with passion by officialjackofalltrades
Swing Confluence SystemA professional-grade Smart Money Concepts (SMC) confluence indicator combining institutional tools, multi-factor filters, macro bias, trap detection, and automatic risk management. Designed for swing and intraday traders seeking high-probability setups with robust noise filtering.
This indicator visualizes order blocks, fair value gaps, support/resistance zones, trend lines, session VWAP, and a comprehensive dashboard. It includes dynamic confluence scoring, institutional volume detection, chop/dead zone filters, high-liquidity session restriction, and an auto-calculating position size tool.
Ideal for forex, indices, metals, oil, stocks, and crypto.
Key Features
Institutional Tools: Order Blocks (OB) with retest detection, Fair Value Gaps (FVG), Session VWAP
Market Structure: Automatic Support/Resistance zones with dynamic flip, auto trend lines, structure cycle label (Bull/Bear/Range/Expand)
Advanced Filters: Choppiness Index, ADX trend strength, relative volume dead zones, higher timeframe trend alignment, high-liquidity session filter (London/NY)
Macro Fundamental Bias: Multi-factor dashboard using DXY, US10Y, VIX, S&P500 with asset-class specific logic (forex, gold, risk currencies, crypto)
Trap Detection: Retail exhaustion traps + VWAP fakeout logic with visual labels
Confluence System: Point-based scoring with structure bonuses (OB/FVG/EMA/VWAP bounces) and customizable alert threshold
Risk Management: Auto lot size calculator based on account balance, risk %, ATR stop distance, leverage, and contract size detection
Dashboard: Real-time analysis panel with status, scores, trend, bias, volume state, session, and active confluences
Alerts: Dynamic confluence alerts, high-confluence trap alerts, macro bias shift alerts
Inputs & Settings Explained
💰 Money Management (Auto-Calc)
Lot Size Mode: Auto detects contract size (e.g., 100000 for forex, 100 for gold/oil) or manual fixed size
Account Balance / Risk %: Used to calculate position size
Stop Loss Width: ATR multiplier for risk distance
Show Stop Loss Lines: Toggle dotted ATR-based stop lines
🏦 Leverage Settings
Custom leverage values for accurate margin calculation across asset classes (auto-detected).
Fundamental (Macro Dashboard)
Use Multi-Factor Bias: Enable/disable macro filtering
Analyzes DXY strength, yields, VIX (risk-off), S&P500 (risk-on) with tailored logic for JPY, AUD/NZD/CAD, Gold, Crypto, and others
Displays bias text/color and allows/blocks longs/shorts accordingly
Institutional Tools
Session VWAP: Cumulative daily VWAP for trend/filtering
Fair Value Gaps: Standard 3-candle imbalance gaps
Order Blocks
Bullish/Bearish OBs after Break of Structure (BOS)
Retest detection with "ACTIVE ZONE" label
Proximity bonus for confluence
🛡️ CHOP & NOISE FILTERS
Choppiness Index: Filters ranging markets (gray background when choppy)
Low Volume/Dead Markets: Relative volume filter
Trend Filter Settings
Trend EMA: 200 EMA (fallback if VWAP off)
ADX: Requires rising ADX > threshold for strong trend
Higher Timeframe Filter: Daily EMA alignment
Institutional Volume Multiplier: Adaptive threshold for "institutional" volume detection
Strategy Trigger Settings
MACD confluence with 50/100/200 EMAs displayed
Session Filter
Only Allow Signals in High Liquidity Sessions: Restricts alerts/traps to London (08:00-12:00 UTC) or New York (13:30-17:00 UTC)
Support & Resistance (TUNED)
Pivot-based zones with configurable sensitivity and width
Dynamic color flip (support ↔ resistance)
Trend Lines (Auto)
Connects recent swing highs/lows
🔔 Notifications
Min Confluences to Alert: Threshold for confluence alerts (1-5)
How to Use
Add to Chart: Apply on 1 hr timeframe.
Interpret Dashboard (middle-left panel):
Status: Green "READY" when all filters pass and score is decent
Scores: Raw potential vs final tradeable (red/green if ≥75)
Trend / HTF: Current and daily direction
Fund Bias: Macro context
Volume: Institutional/Retail/Trap states
Session: Active or waiting
Active Conf: Confluence count and structure hits
LOTS / Margin: Auto-calculated position size
Wait for Confluence Alerts:
Set alert on "🔔 Any Confluence Alert" for dynamic messages
Additional alerts for traps and bias shifts
Trade Logic:
Look for high confluence (≥ threshold) in direction of trend + macro bias
Bonus for OB retest, FVG fill, EMA/VWAP bounce
Trap labels highlight potential reversals
Use ATR stop lines as reference (hl2 ± ATR × multiplier)
Risk Management:
Input your balance/risk % — lots auto-calculate for 1R risk
Adjust leverage if needed
Alerts Setup Recommendations
Main Alert: Create alert on "🔔 Any Confluence Alert" → gets dynamic BUY/SELL messages
Trap Alert: "🔥 HIGH CONFLUENCE TRAP" for strong trap setups
Bias Shift: Automatic alert on macro changes
Use "Once Per Bar" or "Once Per Bar Close" to avoid spam.
Important Notes & Disclaimer
This is an indicator, not an automated strategy. Use discretion and combine with price action.
Filters are designed to reduce noise — no signals in chop, dead zones, or off-session (if enabled).
Risk calculator is educational — verify with your broker's specs.
Trading involves substantial risk. Past performance is no guarantee of future results. Use only risk capital.
Enjoy responsible trading!
TLC INOUT "One line represents an uptrend, signaling an opportunity to buy. When it becomes two lines, be cautious of a reversal and consider selling."
varenleongv1🔑 Core Features
1️⃣ Higher Timeframe Trend Bias
The indicator uses a higher-timeframe EMA to define the overall market direction.
This helps filter out lower-timeframe noise and keeps trades aligned with the bigger picture.
2️⃣ Local Trend Confirmation
Two EMAs (Fast & Mid) with slope analysis confirm short-term momentum.
Trades are only considered when price structure and momentum agree with the higher-timeframe bias.
3️⃣ Market Structure Detection
The indicator automatically identifies:
Higher Highs & Higher Lows (uptrend)
Lower Highs & Lower Lows (downtrend)
This structure-based logic avoids lag and provides realistic trend confirmation instead of reacting to every candle.
4️⃣ Automatic Trendline Drawing
Confirmed swing highs and lows are used to draw:
Rising support lines in uptrends
Falling resistance lines in downtrends
Trendlines are based on confirmed pivots, meaning they do not repaint once formed.
5️⃣ ADX Chop Filter (Optional)
An optional ADX filter helps identify sideways or low-momentum markets.
When ADX is below the chosen threshold, the indicator will classify conditions as chop / no-trend, helping prevent forced trades.
6️⃣ Clear Visual Feedback
Background color highlights the current market state:
Green = Uptrend
Red = Downtrend
Grey = No Trend / Chop
EMAs and trendlines are plotted directly on price for clarity.
Support and Resistance Dual Lookback Triple EMA
This professional-grade overlay indicator visualizes dynamic support and resistance structure using two independent lookback periods:
- Short lookback (default 200 bars) – active, high-probability zones with full labeling, boundary lines, and semi-transparent zone fills.
- Long lookback (default 1000 bars) – broader context structure shown as faint dotted lines and matching zone fills (supply 100–80%, mid 55–45%, demand 20–0%).
Core Features
- Percentage-based levels: Supply (100%), High (70%), Mid (50%), Low (30%), Demand (0%)
- Asymmetric mid-zone flip detection (default 55% / 45% thresholds) with persistent SUPPLY ↔ DEMAND label
- Zone fills: Supply (100–80%), Mid (55–45%), Demand (20–0%) with configurable transparency (default 80% on boundaries, fill color opacity adjustable)
- Triple EMA ribbon (fast/medium/slow) calculated on close price:
- Independent smoothing levels (1–5 nested EMAs)
- Optional volume-based coloring (strong/weak when volume >/< volume EMA)
- Right-offset labels with customizable size, style, and distance
- Long structure displayed with reduced opacity (80%) for clean visual hierarchy
- Mid-flip alerts available for both short and long regimes
Intended Usage
Designed for swing, position, and multi-timeframe traders seeking confluence between short-term price action and longer-term market structure. The triple EMA overlay provides trend context and volume confirmation directly on the price chart.
Recommended Settings
- Higher timeframes (4H, Daily, Weekly) on volatile instruments
- Adjust short/long lookbacks to match your trading horizon
- Disable long fills/labels for minimalistic charts when focusing on short-term action
Alerts
- Configurable mid-flip alerts (short & long) on regime change (DEMAND ↔ SUPPLY)
A precise, non-repainting tool for structure-based decision making.
Dollar Real Value Composite (CPI + REER + Gold)//@version=5
indicator("Dollar Real Value Composite (CPI + REER + Gold)", overlay=false, max_lines_count=500)
//=== 1. 데이터 로딩 ===//
reer = request.security("FRED:RBUSBIS", timeframe.period, close) // 실질 실효환율
gold = request.security("OANDA:XAUUSD", timeframe.period, close) // 금 가격
cpi = request.security("FRED:CPIAUCSL", "M", close) // CPI는 월간이므로 월봉으로 호출
// 월간 CPI를 현 타임프레임으로 FWD-fill
cpi_tf = request.security("FRED:CPIAUCSL", timeframe.period, close)
//=== 2. 기준 시점 설정 (첫 유효 데이터) ===//
var float reer0 = na
var float gold0 = na
var float cpi0 = na
if na(reer0) and not na(reer)
reer0 := reer
if na(gold0) and not na(gold)
gold0 := gold
if na(cpi0) and not na(cpi_tf)
cpi0 := cpi_tf
//=== 3. 각 축의 로그 변화 (달러 약세 방향) ===//
// CPI ↑ => 달러 실질 구매력 ↓
cpi_idx = cpi0 > 0 and cpi_tf > 0 ? math.log(cpi_tf / cpi0) : na
// REER ↑ => 달러 강세이므로 부호 반대로
reer_idx = reer0 > 0 and reer > 0 ? -math.log(reer / reer0) : na
// Gold ↑ => 금 1온스를 사려면 더 많은 달러 => 달러 실질 ↓
gold_idx = gold0 > 0 and gold > 0 ? math.log(gold / gold0) : na
//=== 4. 표준화 (rolling 5년, 대략 60개월 = 260거래일 근사) ===//
length = input.int(260, "Std lookback bars (~5y)")
f_z(src) =>
ma = ta.sma(src, length)
sd = ta.stdev(src, length)
sd != 0 ? (src - ma) / sd : 0.0
z_cpi = f_z(cpi_idx)
z_reer = f_z(reer_idx)
z_gold = f_z(gold_idx)
//=== 5. 가중치 설정 ===//
w_cpi = input.float(0.4, "Weight CPI")
w_reer = input.float(0.3, "Weight REER")
w_gold = input.float(0.3, "Weight Gold")
composite = w_cpi * z_cpi + w_reer * z_reer + w_gold * z_gold
//=== 6. 플로팅 ===//
plot(composite, color=color.new(color.white, 0), title="Dollar Real Value Composite")
h0 = hline(0, "Zero line", color=color.new(color.gray, 60))
Trend & ML ScreenerMalama's Enhanced Trend & ML Screener (MLScreen) is a multi-asset dashboard designed to provide a comprehensive health check of your watchlist by fusing standard trend metrics with machine learning trend detection.
Justification for this Combination (The Mashup): Evaluating a ticker's true state often requires checking multiple isolated indicators: Ichimoku for cloud position, ADX for trend strength, ATR for volatility, and Moving Averages for momentum. Checking these one by one across 8 tickers is inefficient. This script solves this problem by consolidating these 5 distinct analytical dimensions into a single, unified "State Dashboard," allowing traders to assess the condition of SPY, QQQ, and 6 custom tickers simultaneously.
Implementing the Dr. David Paul Methodology: This screener is specifically engineered to execute the technical side of Dr. David Paul's high-probability investing checklist.
Step 1 (Your Job - Fundamentals): You populate the custom ticker slots with companies you have identified as Undervalued and showing Strong Earnings Growth.
Step 2 (The Script's Job - Technical Validation): The dashboard validates that these companies are "Rising" and safe to buy based on Dr. Paul's strict technical rules:
General Market Filter: Check the top two rows (SPY & QQQ). Dr. Paul states the general market must be Positive (Above the 21-Day EMA). If SPY or QQQ are below the 21 EMA, long positions are avoided.
The "89" Floor: The specific stock must not be under the 89-Day EMA. The dashboard monitors the 89 EMA interaction to ensure the long-term trend is still valid.
Growing Strongly: The "ML Trend" (Machine Learning Slope) confirms that price action is actually rising ("Growing Strongly") to match the earnings growth.
How the Components Work Together:
Machine Learning Trend (ML Trend): The script calculates a Linear Regression Slope. If positive, it confirms the "Rising" price action required to match strong earnings.
Multi-Timeframe Context (MTF Trend): It pulls trend data from the Weekly timeframe to ensure the macro trend supports the daily move.
EMA Crossovers & Positioning: The script monitors the 10, 21, 50, and 89 EMAs. The dashboard highlights crossovers, allowing you to instantly see if SPY is holding the 21 EMA or if a stock is threatening the 89 EMA floor.
Volatility (ATR/ADX): Confirms if the move has genuine strength (ADX) or if volatility is expanding dangerously.
How to Use:
Market Check (The 21 Rule): Look at SPY and QQQ. Verify they are NOT showing "↓ 21" or trading in a Bearish trend. They must be above the 21-Day EMA.
Stock Check (The 89 Rule): Ensure your target value stock is not showing a "↓ 89" signal or trading below the 89 EMA.
Trend Entry: If Fundamentals are good + Market is > 21 EMA + Stock is > 89 EMA, use the ML Trend (Green) as your confirmation to enter the rising move.
Disclaimer: This tool is for educational analysis only. Past performance is not indicative of future results.
Malama's Institutional Liquidity & Price Action Concepts [ILPAC]Malama's Institutional Liquidity & Price Action Concepts is a comprehensive trading suite that unifies the three pillars of institutional analysis: Market Structure (Context), Liquidity (Targets), and Momentum (Triggers).
Justification for this Combination (The Mashup): Many traders clutter their screens with separate indicators for BOS/CHoCH, Liquidity Runs, and RSI divergences. This fragmentation makes it difficult to see the full narrative. ILPAC solves this by fusing these concepts into a single logic engine. By combining structure with liquidity heatmaps, the script allows you to see where price is going (Liquidity) and when the trend has shifted (Structure) without conflicting visual noise.
Optimizations & Fixes in This Version:
Unified Garbage Collection: Previous iterations of complex scripts often suffer from memory leaks. This version runs a global cleanup function every bar to manage lines and labels, ensuring smooth performance even on lower timeframes.
State-Machine BOS Logic: The Break of Structure (BOS) logic has been upgraded to a state machine. It tracks "Active Pivot Levels" and only fires a signal when a level is physically broken by a close, preventing repainting or flickering signals during live candles.
Physical Liquidity Sweeps: The Liquidity Heatmap now calculates the physical height of the zone in ticks. A zone is only considered "Swept" (mitigated) if price penetrates the interior of the box, not just touches the edge.
Deduplicated Psychological Levels: The logic for round numbers (Psychological Levels) now scans existing drawings to prevent stacking duplicate lines on top of each other when price consolidates around a key level.
Concepts & Underlying Calculations:
Market Structure: Identifies Swing Highs and Lows using a customizable lookback. A "Change of Character" (CHoCH) is flagged when the trend state flips from Bullish to Bearish (or vice versa), while a "Break of Structure" (BOS) indicates trend continuation.
Liquidity Heatmap: Automatically identifies unmitigated swing points where stop-losses are likely clustered. These are drawn as dynamic boxes that extend until price sweeps them.
FOMO Bubbles: A proprietary momentum filter that combines RSI extremes (Overbought/Oversold) with Volume Spikes (Volume > 2x Average). These bubbles highlight moments of retail panic or euphoria, often marking local tops or bottoms.
Auto-Trendlines: Connects the most recent non-breached pivots to project dynamic support and resistance channels.
How to Use:
Identify the Trend: Look for the Market Structure labels (HH, LL) and the colored structure lines (Green for Bullish, Red for Bearish).
Find the Target: Look for the Gold (High) or Blue (Low) Liquidity Zones. Price often gravitates toward these areas to clear liquidity before reversing.
Spot the Trigger: Use the FOMO Bubbles or Trendline Breakouts as your entry confirmation once price reaches a liquidity zone.
Disclaimer: This indicator is for educational analysis only. Past performance does not guarantee future results.
Gold Correlation Dashboard (Locked D1)** **
**Gold Intermarket Correlation Dashboard (Locked Timeframe Edition)**
This indicator is a specialized Intermarket Analysis tool designed specifically for XAUUSD (Gold) traders. It monitors 5 key assets that strongly influence Gold's price and provides a real-time bias (Bullish/Bearish) based on their correlation.
**Key Features:**
1. **Locked Timeframe Logic:**
* The dashboard allows you to "Lock" the analysis to a higher timeframe (Default: Daily/D1).
* This means you can trade on lower timeframes (e.g., 5m or 15m) while the dashboard keeps you aligned with the major Daily trend, preventing you from trading against the main flow.
2. **Intermarket Correlations:**
* **DXY (Dollar Index):** Negative Correlation (DXY Down = Gold Bullish).
* **US10Y (Yields):** Negative Correlation (Yields Down = Gold Bullish).
* **USDJPY & USDCHF:** Negative Correlation.
* **VIX:** Positive Correlation (VIX Up = Gold Bullish/Safe Haven).
3. **Smart Scoring System:**
* The script calculates a "Bullish Percentage" (e.g., 80% BUY or 100% BUY) based on how many of these 5 assets align with a Gold Long position.
4. **Strong Alerts:**
* Alerts are triggered only when the three core drivers (DXY, US10Y, USDJPY) align perfectly.
-------------------------------------------------------
** **
**黃金跨市場相關性儀表板 (鎖定週期版)**
這是一個專為黃金 (XAUUSD) 交易者設計的跨市場分析工具。它自動監控 5 個對黃金價格影響最大的資產,並根據相關性提供即時的多空傾向。
**核心功能:**
1. **鎖定時間級別 (Locked Timeframe):**
* 您可以將儀表板的分析數據鎖定在較大級別(預設:D1 日線)。
* 這意味著當您在 5 分鐘或 15 分鐘圖交易時,儀表板依然顯示日線級別的趨勢,幫助您「順大勢、逆小勢」,避免被短線雜訊誤導。
2. **跨市場相關性邏輯:**
* **DXY (美元指數)**:負相關 (美元跌 -> 黃金漲)。
* **US10Y (美債殖利率)**:負相關 (殖利率跌 -> 黃金漲)。
* **USDJPY & USDCHF**:負相關。
* **VIX (恐慌指數)**:正相關 (恐慌升 -> 黃金漲)。
3. **智能評分系統:**
* 系統會計算有多少資產支持黃金上漲,並給出百分比評分 (例如:80% BUY)。
4. **強力警報:**
* 只有當 DXY, US10Y, USDJPY 三大核心指標方向完全一致時,才會觸發強力買入/賣出警報。
Malama's Market Structure: Malama's Market Structure is a comprehensive price action utility that unifies four essential institutional trading concepts—Supply/Demand, Liquidity, Trendlines, and Key Levels—into a single, optimized toolkit.
Justification for this Combination (The Mashup): Institutional analysis requires monitoring multiple layers of market structure simultaneously. Using separate indicators for S/D zones, liquidity pools, and daily levels creates chart clutter and conflicting visual signals. This script solves this by integrating these components into a single Zone Management Engine. This engine ensures that when a zone is broken, it is automatically invalidated or marked as a "Retest" candidate, creating a cleaner, actionable chart without manual drawing tools.
What Has Been Fixed in This Version:
Zero-Division Protection: Added safety checks in the Liquidity module avg_ph != 0 to prevent runtime crashes on assets with zero values.
Explicit Zone Typing: The code now strictly differentiates between "Standard Supply" and "Liquidity Supply" to apply correct breakout logic (Close > Top vs Close < Bottom).
Smart Garbage Collection: Implemented a FIFO (First-In, First-Out) memory management system that prioritizes deleting inactive/broken zones before active ones, ensuring critical levels remain on the chart longer without hitting TradingView drawing limits.
Optimized Key Levels: Switched from creating new line objects every bar (which causes memory leaks) to updating a single var line object using line.set_xy.
Underlying Calculations & Logic:
Pivot Analysis (The Foundation): The script identifies structural Swing Highs and Lows using a customizable lookback.
Liquidity Logic: It compares adjacent Pivot Highs. If they are within a strict threshold (0.15%), they are flagged as "Equal Highs (EQH)"—a magnet for price.
Zone Management: An internal array tracks every zone. If price closes beyond a zone, the script detects the "Break" event and visually fades the zone to gray. If price touches a valid zone without breaking, the label updates to "Retest."
How to Use:
Entries: Look for price to reject from active Red (Supply) or Blue (Demand) zones.
Targets: Target the Gray "Liquidity" zones (EQH/EQL), as price often gravitates toward these to clear stops.
Confluence: Use the intersection of Auto-Trendlines and Key Levels as high-probability reversal areas.
Disclaimer: This tool is for educational analysis only. Trading involves significant risk.
BO Rule: Full Suite (Auto-Clean)** **
**BO Rule: Ultimate Breakout & Retest Suite (Body Only + Strict Sequence)**
This is a comprehensive Price Action indicator designed for traders who focus on **Structure Break & Retest** setups. Unlike standard fractal indicators, this script employs a strict "New Price Rule" and "Body-Only" logic to filter out noise, combined with a Multi-Timeframe (MTF) Dashboard and Mobile Alerts.
**Key Logic & Unique Features:**
1. **Classic Levels (Body Only):**
* **Logic:** Resistance is defined by a Green candle followed by a Red candle. Support is Red followed by Green.
* **Precision:** The script strictly uses Candle **Bodies** (Open/Close) to define levels and confirm breakouts. Wicks are ignored to avoid volatility fakeouts.
2. **Strict Sequence (New Price Rule):**
* **Reset Logic:** Once a breakout signal is confirmed, all previous structure levels are immediately invalidated.
* The script only scans for *new* structure levels formed *after* the latest confirmed signal. This ensures you are always trading the most current market structure.
3. **Smart Visualization (Auto-Clean):**
* **Queue System:** To keep your chart clean, the script includes a "Display Limit" feature. It only keeps the most recent N signals (e.g., 20) and automatically deletes the oldest ones.
4. **MTF Dashboard & Conflicts:**
* Includes a bottom-right dashboard showing trend directions across 5 user-defined timeframes.
* Displays "Conflict" lines if different timeframes show opposing signals on the same bar.
5. **Filter Duplicates:**
* Option to show only **Trend Reversals** (Buy -> Sell -> Buy) by hiding consecutive signals in the same direction.
6. **Mobile Notifications:**
* Supports custom alerts for specific timeframe reversals, designed to push notifications directly to the TradingView App.
**How to Trade:**
* **Green Dashed Line:** Bullish Confirmation (Body Breakout + Retest).
* **Red Dashed Line:** Bearish Confirmation (Body Breakdown + Retest).
* **Dashboard:** ▲ = Bullish Trend, ▼ = Bearish Trend.
-------------------------------------------------------
** **
**BO Rule: 經典水平突破回踩策略 (實體判斷 + 嚴格序列 + 自動清理)**
這是一個專為裸K交易者 (Price Action) 設計的完整突破回踩系統。它採用了嚴格的「新價格規則」與「僅看實體」邏輯,並整合了多週期儀表板與手機通知功能。
**核心邏輯與獨特功能:**
1. **經典水平 (僅看實體 Body Only):**
* **定義:** 阻力位由「綠K接紅K」形成;支撐位由「紅K接綠K」形成。
* **過濾:** 系統僅使用 K棒實體 (收盤/開盤) 來定義水平與判斷突破,完全忽略影線 (Wicks),有效避免假突破。
2. **新價格規則 (嚴格序列):**
* **重置機制:** 採用「最新優先」原則。一旦當前訊號確認,之前所有的舊結構水平立即作廢。系統只會尋找在「最新訊號之後」形成的新水平,確保交易邏輯符合當下的市場結構。
3. **智能顯示 (自動清理):**
* **佇列系統:** 為了保持圖表整潔,您可以設定「保留最近 N 個訊號」。系統會自動刪除最舊的線段,避免圖表充滿歷史線條。
4. **多週期 (MTF) 儀表板:**
* 右下角面板可同時監控 5 個不同時間級別的趨勢狀態。
* 若不同週期在同一根 K 棒出現相反訊號,會標記為「衝突」。
5. **過濾重複訊號:**
* 可勾選「只顯示反轉」。若當前是多頭,系統會隱藏後續的多頭訊號,直到出現空頭訊號為止 (呈現:多 -> 空 -> 多)。
6. **手機 App 通知:**
* 支援針對特定週期的反轉訊號發送推播通知。
**使用說明:**
* **綠色虛線**:多頭確認 (實體突破 + 回踩)。
* **紅色虛線**:空頭確認 (實體跌破 + 回踩)。
* **儀表板**:▲ = 多頭趨勢,▼ = 空頭趨勢。
RTD- Naturalgas Pivot, Targets and Trend AnalyzerNatural gas
This script is for calculating Natural gas future (not index) Pivots values using present day initial fund flow morning (timing 09:00AM to 09:00AM) and evening (Timing 05:00PM to 06:00PM) candles values.
This script will plot below
1. Pivot calculation table
2. Pivot, resistance and support in dotted lines
3. Targets basis buys above or sell below selection
RTD-BankNifty Pivot, Targets, Vix range and Trend AnalyzerBanknifty
This script is for calculating BankNifty future (not index) Pivots values using present day initial fund flow (timing 09:15AM to 09:30AM) candles values.
This script will lots below
1. Pivot calculation table
2. Pivot, resistance and support in dotted lines
3. Targets basis buys above or sell below selection
4. Intraday vix range and other confirmation
RTD- Sensex Pivot, Targets, Vix range and Trend AnalyzerSensex:
This script is for calculating Sensex future (not index) Pivots values using present day initial fund flow (timing 09:15AM to 09:30AM) candles values.
This script will lots below
1. Pivot calculation table
2. Pivot, resistance and support in dotted lines
3. Targets basis buys above or sell below selection
4. Intraday vix range and other confirmation
RTD-Nifty Pivot, Targets, Vix range and Trend AnalyzerNifty:
This script is for calculating Nifty future (not index) Pivots values using present day initial fund flow (timing 09:15AM to 09:30AM) candles values.
This script will lots below
1. Pivot calculation table
2. Pivot, resistance and support in dotted lines
3. Targets basis buys above or sell below selection
4. Intraday vix range and other confirmation
AIO Advanced Trendlines with TPO-inspired LiquidityOVERVIEW
A professional indicator for trendline detection, breakout signals, support/resistance, and Market Profile–inspired liquidity mapping. It combines rigorous trendline validation, smart breakout confirmation, session-based liquidity discovery, sweep detection, and multi-factor quality scoring to highlight high-probability setups and reduce noise.
**What Makes This Different:**
5-Layer Trendline Validation - Only mathematically sound trendlines appear
Smart Breakout Confirmation - Candle pattern validation eliminates weak breaks
Professional Liquidity Mapping - Session-based order flow zones with sweep detection
Quality Star Ratings - ★/★★/★★★ scoring helps prioritize best setups
Adaptive Structure Logic - Signals self-invalidate and recover based on market structure
CORE FEATURES
1. INTELLIGENT TRENDLINE SYSTEM
Automatic trendline detection with multi-layer filters:
Slope Filter: Excludes near-horizontal lines (default min slope 0.3%).
Pivot Distance (same type): Requires pivot spacing (default ≥1%) to avoid clustered pivots.
Pivot Cross Distance (optional): Minimum spacing between high and low pivots to avoid crossed lines.
No Violations Between Pivots: Rejects lines if price violates the line between the defining pivots.
No Breakout Conflict: Avoids drawing lines that conflict with historical breakouts.
Dynamic Line Management:
Main trendlines extend until broken and optionally extend by an offset post-break.
History lines (configurable count) are shown in lighter colors for past structure.
Independent color/width controls for upper/lower/history lines.
2. BREAKOUT SIGNALS (B Up / B Down)
Robust breakout detection using candle validation and optional scoring:
Trigger Conditions: Close above/below trendline with strong candle criteria (body % of range, close near extreme) or validated multi-candle pattern within a short window.
Candle Validation: Body ≥50% of range or engulfing patterns (2–3 bars) to reduce false breaks.
Quality Scoring (0–100): Combines Volume Spike (40), Candle Strength (30), and Follow-Through (30).
Star Ratings: ★★★ (premium), ★★ (good), ★ (average) based on configurable score thresholds.
3. UP BUY / DOWN SELL SIGNALS
High-probability pullback entries after confirmed breakouts:
Up Buy (after B Up):
Break above pre-B Up TPH (Trendline Pivot High).
New higher TPH forms (new extreme pivot).
Price retraces ≥50% between new TPH and prior TPL; enter on a valid support candle.
Down Sell (after B Down): Mirror logic for short entries.
Quality Scoring (0–100): Pullback Depth (35), Trendline Distance (25), Volume (20), Candle Pattern (20).
Invalidation & Recovery: Signals invalidate when a locked pivot breaks; recover when a new extreme pivot forms.
4. TRENDLINE SUPPORT / RESISTANCE (S/R)
Validated S/R from trendline touches:
Support (S): Touches lower trendline after a genuine pullback (default ≥1%); requires prior pivot and a valid bullish support candle.
Resistance (R): Mirror for upper trendline.
Quality Filters: Minimum spacing (bars and %), pivot confirmation, and reset rules to avoid repeated signals.
Strong S/R: Occurs near recent opposite breakout (default within 100 bars).
Invalidation/Recovery: Locked pivot breaks invalidate signals; new extremes restore them.
5. PROFESSIONAL LIQUIDITY MAPPING (TPO-inspired)
Session-based price discovery with edge-focused liquidity levels:
Session Analysis: Scans configurable past daily sessions (default 10) and optionally excludes the current day.
Bin Counting: Divides session range into configurable bins (default 30) and counts visits per bin.
Edge Focus: Targets bins at the range edges (10–30% from top/bottom) where low activity often implies latent liquidity.
Liquidity Classification & Scoring
Very High (★★★): 1 touch at extremes (top/bottom 10%); highest priority.
High (★★): 1–2 touches at edges (10–30%); strong targets.
Medium (★): 2–3 touches at edges; supportive levels.
Enhanced Scoring (0–100): Distance (35 pts), Volume Spike at line (30 pts), Liquidity Type (25 pts), Session Freshness (10 pts).
Stars: ★★★ (≥80), ★★ (≥55), ★ (≥30) by final score.
Visual & Behavior Features:
Customizable styles (Solid/Dashed/Dotted) and widths per type.
Labels: session number, stars, side (Long/Short), distance %, and optional price.
Consolidation: Merge nearby lines (< configurable %) and retain highest priority (VH > H > M; active > swept).
TRADING GUIDELINES
Strategy Recommendations:
Trend Traders: Prefer B Up/B Down with ★★★/★★, enter on Up Buy/Down Sell, target VH lines first.
Pullback Traders: Use validated S/R touches and MA/HTF filters for confluence.
Liquidity Hunters: Focus on VH/★★★ lines <2% distance, monitor sweeps for continuation or exhaustion.
ALERTS & UI
Alert Types:
Breakout Alerts: B Up / B Down.
Up Buy / Down Sell Alerts.
Support/Resistance Touch Alerts.
Market Structure Table: Shows current trendline status (Up/Down/Broken), market structure (Up/Down/Ranging), and quick stats. Configurable position and size.
IMPLEMENTATION NOTES
Non-Repainting: Signals are confirmed on closed bars; session liquidity is session-locked but may shift slightly on reload due to history order.
Data Requirements: Best results with ≥2000 bars history for full session coverage.
Timeframe Guidance: Liquidity modules intended for multi-minute or higher timeframes; intraday minimum configurable in indicator (recommended ≥2–5 minutes).
Simplified TPO: Uses bin counts (not full time-based profile); designed for performance and clarity.
WHAT MAKES THIS UNIQUE
Combines multi-filter trendlines, validated breakouts, post-break entries with scoring and invalidation logic, and session-based liquidity mapping with sweep detection — all in a highly configurable package.
ENDUSER NOTES
Adjust sensitivity (bins, max days, pivot distances) to match your trading timeframe and instrument volatility.
Use star ratings to prioritize setups rather than as absolute trade signals.
Backtest logic across symbols and timeframes before trading live.
Ingin Menjadi Trader namun enggan Analisa by XennkuIngin menjadi Trader namun Enggan analisa, script aja
Ardley Fund Core IndicatorThe Ardley Fund Core Indicator:
A powerful Kalman Hull Trend strategy enhanced with dynamic RSI, MACD, and VWAP confirmations. Delivers precise, high-probability BUY and SELL signals with adaptive noise filtering for smoother trends and fewer false entries. Ideal for trend-following traders seeking consistent, data-driven performance.
MARUTI TRADERMaruti Trader- Maruti Trader is a rule-based, intraday detection system that combines candle-pattern logic with session-driven support and resistance zones. creating a clean confluence-based signal that removes noise.
This tool is designed for traders who prefer structured rules over subjective drawing, and want clear, event-driven alerts without unrealistic promises or over-optimized behavior.
=> Optional Strike-Price Zones
For symbols that move around round numbers or strike intervals, the script can draw strike-based S/R lines You can choose solid lines and select how many zones to show.
=> *Maruti Trader* is a powerful trading indicator built to simplify decision-making for both swing and intraday traders. It blends precision with clarity, helping you identify potential buy and sell opportunities with confidence. Session Levels Predictor+ plots upper and lower percentile levels based on session data, helping traders identify potential support and resistance zones with precision. It automatically calculates percentile-based projections from intraday sessions and marks them with clean, customizable lines. Ideal for intraday and short-term traders looking for statistical price ranges.
=> Trend line Base Move, simply identify
MARUTI TRADERMaruti Trader- Maruti Trader is a rule-based, intraday detection system that combines candle-pattern logic with session-driven support and resistance zones. creating a clean confluence-based signal that removes noise.
This tool is designed for traders who prefer structured rules over subjective drawing, and want clear, event-driven alerts without unrealistic promises or over-optimized behavior.
=> Optional Strike-Price Zones
For symbols that move around round numbers or strike intervals, the script can draw strike-based S/R lines You can choose solid lines and select how many zones to show.
=> *Maruti Trader* is a powerful trading indicator built to simplify decision-making for both swing and intraday traders. It blends precision with clarity, helping you identify potential buy and sell opportunities with confidence. Session Levels Predictor+ plots upper and lower percentile levels based on session data, helping traders identify potential support and resistance zones with precision. It automatically calculates percentile-based projections from intraday sessions and marks them with clean, customizable lines. Ideal for intraday and short-term traders looking for statistical price ranges.
=> Trend line Base Move, simply identify
Ardley Fund Core IndicatorThe AAC Fund Core Indicator: a powerful Kalman Hull Trend strategy enhanced with Dynamic RSI, MACD, and VWAP confirmations. Delivers precise, high-probability BUY and SELL signals with adaptive noise filtering for smoother trends and fewer false entries. Ideal for trend-following traders seeking consistent, data-driven performance.






















