EMA Inversion [MMT]The EMA Inversion indicator is a complete, trend-following price action system that bridges traditional moving average momentum with modern imbalance concepts (Fair Value Gaps and Inversions). It is designed to strictly identify high-probability pullback continuation setups while keeping your chart clean and optimized.
How the Strategy Works
This script looks for a specific sequence of events to trigger a valid entry:
Trend Alignment: The overarching trend is defined by the alignment of the Fast (33), Medium (50), and Slow (200) EMAs.
The Pullback: Price must pull back into the "Value Band" (the shaded area between the 33 and 50 EMAs).
The Imbalance: During this pullback, the script tracks the formation of Fair Value Gaps (FVGs).
The Inversion (Trigger): A signal is fired when price violently reverses out of the pullback, closing completely through the opposing FVG (turning it into an iFVG) while simultaneously closing back in the direction of the EMA trend.
Signal Triggers
🟢 Long Setup: Price is above all 3 EMAs. Price pulls back into the EMA band. A Bearish FVG is formed. Price then rallies, closing above the Bearish FVG (creating a bullish iFVG) AND closing back above the 33 EMA.
🔴 Short Setup: Price is below all 3 EMAs. Price pulls back into the EMA band. A Bullish FVG is formed. Price drops, closing below the Bullish FVG (creating a bearish iFVG) AND closing back below the 33 EMA.
Key Features
[* ]Decoupled FVG & iFVG Tracking : Unlike standard scripts that clutter your screen, this indicator utilizes independent, modular array management. You can set a strict limit on how many "Normal FVGs" and "Inverted FVGs" are drawn on your chart at one time, keeping your workspace incredibly clean.
Dynamic Extension Limits : Choose exactly how many bars you want your unmitigated imbalance boxes to extend to the right, or set it to 0 for indefinite extension until mitigated.
Visual Customization : Fully customize the colors, borders, and backgrounds for your EMAs, normal FVGs, and Inversion FVGs. The indicator visually flips the box colors the exact moment an inversion occurs.
Built-in Automation Alerts : The script includes pre-formatted JSON webhook alerts (ready for Node.js, Python, or 3rd-party execution services) to instantly route buy and sell signals to your live brokerage accounts.
Best Timeframes:
Works well across all intraday timeframes (1m, 3m, 5m, 15m), particularly for index futures (NQ/ES) and forex day trading.
Disclaimer: This script is for educational and technical analysis purposes only and does not constitute financial advice. Indicator

MAO Calc. & TrendMAO Calc. & Trend is an all-in-one trading tool designed exclusively for XAU/USD (Gold) traders. It combines a smart position size calculator, a multi-timeframe trend tracker, and an average entry price manager — all displayed in a clean, fully customizable on-chart table.
🔢 Position Calculator
Automatically calculates your recommended lot size based on your account balance, leverage, and risk percentage. Displays position value in USD and breaks down the lot size into 1/5 portions for staged entries.
📊 Multi-Timeframe Trend Analysis
Manually tag market direction across 5 key timeframes — 5M, 1H, 4H, 1D, and 1W — as Bullish, Ranging, or Bearish. Each status is color-coded (green / orange / red) for instant visual clarity.
📌 Position Averaging & Breakeven
Enter up to 5 Buy and 5 Sell positions with their prices and lot sizes. The indicator automatically calculates:
Buy & Sell average entry prices
Total lots and total position value
A combined Breakeven (BE) price with a persistent horizontal ray plotted directly on the chart Indicator

Adaptive SuperTrend Oscillator [QuantAlgo]🟢 Overview
The Adaptive SuperTrend Oscillator transforms the classic SuperTrend indicator into a normalized momentum score that adapts to changing market conditions. Instead of displaying a simple above/below signal on the price chart, it measures how far price has moved from the SuperTrend line and scales that distance against an Efficiency Ratio-driven ATR that automatically adjusts between trending and ranging environments. The result is a centered oscillator with dynamically calculated overbought and oversold thresholds, helping traders read the strength behind a trend rather than just its direction, across different markets and timeframes.
🟢 How It Works
The foundation of the indicator is the distance between the closing price and the SuperTrend line:
= ta.supertrend(active_multiplier, active_atr_length)
price_distance = close - supertrend_line
A positive distance means price is above the SuperTrend line, indicating a bullish condition. A negative distance indicates price is below it, reflecting a bearish condition. The raw distance alone is not directly comparable across instruments or timeframes, so the indicator normalizes it using an adaptive ATR.
The normalization layer is driven by an Efficiency Ratio, which measures how directionally efficient recent price movement has been. It compares the net price change over the lookback window against the total path length traveled:
price_change = math.abs(close - close )
path_length = math.sum(math.abs(close - close ), active_er_length)
efficiency_ratio = path_length != 0 ? price_change / path_length : 0.0
A high Efficiency Ratio means price is moving in a consistent direction with little back-and-forth. A low ratio indicates choppy, non-directional movement. This reading is then used to blend between a fast and slow ATR period:
adaptive_atr = efficiency_ratio * ta.atr(active_norm_fast) + (1.0 - efficiency_ratio) * ta.atr(active_norm_slow)
score = adaptive_atr != 0 ? price_distance / adaptive_atr * 100 : 0.0
During trending conditions the fast ATR period is weighted more heavily, allowing the score to move more freely. During choppy conditions the slow ATR period dominates, dampening the score and reducing low-conviction readings. The final score is expressed as a percentage of the adaptive ATR, making it directly comparable across different instruments and volatility environments.
Overbought and oversold levels are derived dynamically from the rolling standard deviation of the score itself rather than fixed values:
score_deviation = ta.stdev(score, 100)
ob_extreme = score_deviation * 3
ob_level = score_deviation * 2
os_level = -score_deviation * 2
os_extreme = -score_deviation * 3
This means the threshold levels expand during volatile periods and contract during quiet ones, keeping the overbought and oversold zones statistically consistent relative to recent score behavior.
🟢 Signal Interpretation
▶ Bullish Trend (Score Above Zero, Outside Neutral Zone, Green): When the score is positive and exceeds the neutral threshold, the oscillator confirms that price is above the SuperTrend line and momentum is directionally efficient enough to register. The score's gradient intensity reflects how far momentum has extended relative to the adaptive ATR baseline. The trend remains bullish until the score crosses back below zero or into the neutral zone.
▶ Bearish Trend (Score Below Zero, Outside Neutral Zone, Red): When the score is negative and falls below the neutral threshold, the oscillator confirms that price is below the SuperTrend line. A deeper negative score indicates stronger downside momentum relative to the normalization baseline. The trend remains bearish until the score crosses back above zero or into the neutral zone.
▶ Neutral Zone (Score Within Threshold, Grey): When the absolute score value is within the neutral threshold, the oscillator treats the reading as non-directional regardless of which side of zero it sits on. This filters out low-conviction conditions where the SuperTrend distance is small relative to the adaptive ATR, preventing the indicator from registering trend signals during consolidation or choppy price action.
▶ Overbought and Oversold Levels (2σ and 3σ Bands): When the score reaches the 2σ or 3σ bands, it indicates that momentum has extended significantly relative to its own recent history. These are not reversal signals by themselves, but they mark zones where the trend is stretched and worth monitoring for potential exhaustion.
🟢 Features
▶ Preconfigured Presets: Three parameter sets cover different trading approaches. "Default" uses moderate SuperTrend sensitivity for swing trading on 4-hour and daily charts. "Fast Response" tightens the SuperTrend bands and shortens normalization windows for intraday use on 5-minute to 1-hour charts. "Smooth Trend" widens the SuperTrend bands and extends normalization windows for position trading on daily and weekly timeframes.
▶ Built-in Alerts: Seven alert conditions cover the full range of oscillator states. Trend transition alerts fire when the score crosses into bullish, bearish, or neutral territory. Separate alerts trigger when the score reaches the 2σ overbought or oversold levels and again when it reaches the more extreme 3σ levels, enabling graduated monitoring without requiring constant chart observation.
▶ Visual Customization: Six color presets (Classic, Aqua, Cosmic, Cyber, Neon, plus Custom) coordinate colors across the score line, ribbon fills, overbought/oversold bands, and optional bar coloring. The ribbon uses three fill layers between the score line and zero, each at increasing transparency, creating a gradient that visually represents the weight of momentum behind the current reading. Optional bar coloring applies trend state colors directly to price bars for quick multi-timeframe reference.
Indicator

Indicator

Indicator

Position Calculator xie# Position Calculator - PulseWire Pine Script v5
## Overview
A robust, user-centric position sizing calculator engineered for risk management in leveraged trading (cryptocurrencies, futures, forex). This indicator computes the optimal position size based on your predefined entry price, stop-loss level, maximum acceptable loss, and leverage ratio—empowering traders to control risk exposure with mathematical precision.
## Core Functionality
This script automates disciplined position sizing to mitigate trading risks by:
1. Capturing 4 core trading parameters:
- Entry Price: The price at which you plan to open a trade
- Stop Loss: Your predefined risk-limiting price level
- Max Loss (USDT): The maximum capital you are willing to lose on a single trade (minimum: 0.01 USDT)
- Leverage: The leverage multiple used for the trade (minimum: 1x)
2. Calculating position size via a proven risk-based formula:
Position Size = (Max Loss / (|Entry Price - Stop Loss| × Leverage)) × Entry Price
- Uses absolute value for price difference to support both long and short positions
- Prevents division-by-zero errors (e.g., entry price = stop loss) with clear error prompts
3. Delivering intuitive, visual results:
- A fixed table panel (top-left of the chart) displays all input parameters and calculated position size
- Color-coded alerts: Green for valid results, red for invalid parameter warnings
- Console output for cross-verifying calculation results
## Key Features
- ✅ Risk-first design: Aligns position size with your maximum acceptable loss to protect capital
- ✅ Error handling: Detects invalid inputs (e.g., identical entry/stop-loss prices) and shows user-friendly messages
- ✅ High precision: Displays results with 5 decimal places for accurate position sizing
- ✅ Universal compatibility: Supports all leveraged trading products (1x+ leverage)
- ✅ Intuitive UI: Color-coded table for quick scanning of parameters and results
## Usage Instructions
1. Copy the Pine Script v5 code into the PulseWire Pine Editor
2. Add the indicator to your chart
3. Input your trading parameters in the indicator settings panel
4. View the optimal position size in the top-left table panel
5. Cross-check results via the PulseWire console (bottom of the screen)
## Compatibility
- PulseWire Pine Script v5 (100% compliant with official API)
- All leveraged asset classes: Cryptocurrencies, futures, forex, leveraged stocks
- All PulseWire platforms (web, mobile, desktop) Indicator

Risk AwarenessRisk Awareness - Liquidation Level Indicator
A clean, professional tool for displaying liquidation prices on leveraged positions. Designed for traders who need instant visibility of their risk levels without chart clutter.
KEY FEATURES
Real-time liquidation price calculation for long and short positions
Adjustable leverage from 1x to 200x
Fire engine red (long) and lime green (short) color-coded levels
Two label modes: Compact (minimal) and Detailed (full info)
Horizontal lines extending left from current price
Optional P&L tracking and display
Background alerts when approaching liquidation
Customizable maintenance margin and liquidation fee parameters
HOW IT WORKS
The indicator calculates liquidation prices using the standard formula:
Long Liquidation = Entry Price x (1 - 1/Leverage - Liquidation Fee + Maintenance Margin)
Short Liquidation = Entry Price x (1 + 1/Leverage + Liquidation Fee - Maintenance Margin)
Default parameters (0.5% maintenance margin, 0.5% liquidation fee) are calibrated for major crypto futures exchanges like Binance, Bybit, and OKX.
DISPLAY MODES
Compact Mode: Shows only leverage and price (e.g., "40x: 48750.00")
Detailed Mode: Shows full information including percentage distance and optional P&L
CUSTOMIZATION OPTIONS
Position Settings: Adjust leverage, toggle long/short, select entry price source
Custom Parameters: Fine-tune maintenance margin and liquidation fee for your specific exchange
Visual Settings: Colors, line width, label size, historical bands, disclaimer display
Alert Settings: Set distance threshold for liquidation warnings
Risk Management: Track unrealized P&L based on position size
ALERTS
Built-in alert conditions for:
Price crossing liquidation levels
Approaching liquidation threshold
Critical loss levels (50%+)
IMPORTANT DISCLAIMER
This indicator provides ESTIMATED liquidation levels for Tier 1 positions (small to medium size). Actual liquidation prices may vary due to:
- Position size tiers (larger positions = higher maintenance margins)
- Accumulated funding rates
- Market volatility and order book depth
- Cross margin vs isolated margin mode
- Exchange-specific liquidation engines
Always verify liquidation prices on your exchange platform before trading. This tool is for educational and risk awareness purposes only.
IDEAL FOR
Crypto futures traders on Binance, Bybit, OKX, and similar platforms
Day traders managing leveraged positions
Swing traders monitoring overnight risk
Anyone trading with leverage who needs clear visual risk management
PRO TIPS
Use Compact mode with Tiny/Small label size for minimal chart clutter
Enable the Info Table for detailed metrics when needed
Set Alert Distance to 1-2% for advance warning before liquidation
Toggle "Show Historical Bands" OFF (default) for cleaner charts
Adjust Custom Parameters if trading on exchanges with different fee structures
Stay aware. Trade smart. Manage your risk. Indicator

Indicator

Indicator

Weekly Sunday Close-Open Line for Futures📊 Futures Weekend Transition Marker
Keep your eyes on the gap! 🚀
This lightweight, clean indicator is designed specifically for Futures traders (ES, NQ, YM, GC, etc.) who need to see exactly where the Friday close ends and the Sunday open begins. No more squinting at the time scale to find the start of the trading week! 🧐
✨ Key Features:
● Vertical Dividers: Automatically drops a line at the exact moment the market reopens on Sunday. 🚪🔓
● Fully Customizable: Change the line color, thickness, and style (Solid, Dashed, or Dotted) to match your chart theme. 🎨
● "Sideways" Labels: Features unique vertical-stacked text labels that stay out of the way of your candles. 📏
● Smart Offset: Use the "Vertical Offset" setting to float the label perfectly above the price action so your charts stay clutter-free. ☁️
● Intraday Optimized: Works seamlessly on all intraday timeframes (1m, 5m, 15m, 1h, 4h) where Sunday opening data is present! ⏳
🛠️ How to use:
Load it onto any Futures contract.
In settings, type your custom text (e.g., W E E K) to get that vertical look.
Adjust the Vertical Offset if the text is touching your candle wicks.
Perfect for identifying weekend gaps and weekly opening ranges! If you find this helpful, please drop a like! 👍🔥 Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

SMC Market Structure Signals + Dashboard + TP/SL📊 Full Performance Dashboard — provides a complete statistical overview, including the real-time ADR10 value, total signals, win rates for TP1/TP2, and a log of the last 10 trade outcomes.
✅ Advanced Quality Control Filters — user-configurable inputs for Max Pattern Bars, Max Pattern Height (% of ADR10), and Min Bars Between Signals eliminate low-quality or excessively large patterns and prevent over-signaling.
🔔 Comprehensive Alerts — get a single, detailed alert per signal—including the symbol, timeframe, entry price, SL, TP1, and TP2—formatted for easy integration with automated trading systems. Indicator

XAUMO TIMING DashboardXAUMO Timing Dashboard
Open-source UTC timing dashboard for traders who want better awareness of bar timing, session timing, overlap windows, holidays, and major USD event timing directly on the chart.
This indicator was built around a practical idea:
many traders watch price very closely, but they do not always watch time with the same discipline.
A setup can look good technically, but timing still matters:
- the bar may be seconds away from closing
- the 4H candle may be about to roll
- London may be close to ending
- New York may be opening
- a session overlap may be starting
- a major USD event may be near
This script helps bring that time awareness onto the chart in one compact dashboard.
WHAT THE INDICATOR DOES
XAUMO Timing Dashboard displays:
- current bar countdown
- higher-timeframe countdown
- official session countdown
- pre-market countdown
- after-market countdown
- major session countdowns
- overlap countdowns
- holiday awareness
- next major hard-coded USD event timer
- visual controls for text size, text color, background colors, and visibility toggles
Everything is displayed in UTC to keep the workflow consistent across symbols, brokers, and locations.
WHY IT CAN BE USEFUL
This tool is designed for traders who want to reduce timing mistakes.
It can help answer questions like:
- How much time is left before this candle closes?
- How close is the 4H close?
- Is London still active?
- Is the London / New York overlap running?
- Is a holiday affecting market participation?
- Is a major USD event getting close?
It does not predict market direction.
It improves timing awareness.
WHO IT MAY HELP
This indicator may be useful for:
- intraday traders
- scalpers
- session traders
- gold traders
- FX traders
- CFD traders
- traders who work with UTC-based timing models
- traders who want session and macro timing visible on-chart
HOW IT IS CODED
The script is written in Pine Script and uses an on-chart dashboard table.
The logic includes:
- countdown calculations from the current bar and a selected higher timeframe
- configurable UTC windows for official, pre-market, and after-market phases
- session state detection for major trading sessions
- overlap detection between major sessions
- hard-coded holiday packs
- hard-coded USD tier-1 event timestamps
- user controls for visibility and styling so the board can stay minimal or detailed depending on preference
The goal is practical chart awareness, not signal generation.
IMPORTANT NOTES
- This is a timing and awareness tool, not a buy/sell signal tool.
- It does not replace your own execution model, risk management, or market analysis.
- Session definitions can vary by broker and symbol, so official / pre-market / after-market windows are user-editable.
- Holiday and economic-event data in this version are hard-coded and should be reviewed and refreshed over time.
- Always confirm major event timing with your own trusted calendar before live trading.
OPEN-SOURCE AND COLLABORATION
This script is published open-source so traders and coders can inspect the logic, learn from it, and adapt it to their own workflow.
Constructive collaboration, improvement ideas, and responsible open-source contributions are very welcome.
If you build on this script or reuse any part of it in a publication, please respect PulseWire House Rules and provide proper credit where required.
FINAL THOUGHT
Charts show price.
XAUMO Timing Dashboard helps show timing.
For traders who care about candle close, higher-timeframe rollovers, session transitions, overlaps, holidays, and macro-event awareness, this tool is designed to make time more visible on the chart. Indicator

Water Mark LAB
Description
The Water Mark LAB is a fully customizable, professional-grade chart watermark and minimalist HUD (Heads-Up Display) utility.
By releasing this script as Open-Source, traders and Pine Script developers can study how to effectively use the table drawing functions to create static, non-repainting text displays that remain fixed on the screen regardless of chart scrolling or zooming.
Key Features & Functionality
Instead of relying on the standard, inflexible built-in watermark, this tool creates a dynamic overlay that provides essential context at a glance without cluttering your price action.
Real-Time Data: Displays the current Symbol, Timeframe, Custom Text/Name, and the exact Current Price.
Volatility Tracker: Calculates and displays the "Daily Amplitude" (current daily high minus daily low) in both percentage and raw points/pips. This is crucial for day traders to know if the asset has already exhausted its average daily range.
Complete Customization: You have total control over the visual aesthetics. Choose from 9 different anchor positions on the screen (Top/Middle/Bottom + Left/Center/Right). Adjust text size, font weight (Bold), color, and transparency (from completely solid to barely visible) to suit any dark or light chart theme.
How to Use
Attach it to your chart, disable the default PulseWire watermark in your chart settings, and position this HUD wherever it fits best. Use the Daily Amplitude feature to gauge intraday volatility momentum.
To comply with House Rules regarding non-English UI, here is the translation of the script's settings menu:
1. Informações Exibidas (Displayed Information)
Mostrar Símbolo = Show Symbol (Ticker)
Mostrar Tempo Gráfico = Show Timeframe
Mostrar Nome/Texto = Show Custom Name/Text
Texto Personalizado = Custom Text Input
Mostrar Preço Atual = Show Current Price
Mostrar Data e Hora = Show Date and Time
Mostrar Amplitude do Dia = Show Daily Amplitude (High - Low)
2. Estilo e Posição (Style & Position)
Tamanho do Texto = Text Size (Tiny to Huge)
Posição da Marca = Watermark Position (9 standard screen anchors)
Cor do Texto = Text Color
Transparência do Texto = Text Transparency (0 to 100)
Usar Negrito = Use Bold Font
Descrição
O Water Mark LAB é um utilitário Open-Source para customização avançada do seu gráfico. Mais do que uma simples marca d'água, ele funciona como um HUD minimalista construído através do sistema de tabelas do Pine Script.
Destaques
Contexto Rápido: Mostra o ativo, tempo gráfico, data/hora e preço atual em tempo real.
Amplitude Diária: Calcula automaticamente a variação do dia em pontos/pips e porcentagem, ajudando a identificar se o mercado já andou tudo o que tinha para andar no intraday.
Visual Flexível: Escolha entre 9 posições na tela, controle o nível de transparência e o tamanho da fonte para não poluir seus candles. Excelente base de estudo para uso de tabelas no código. Indicator

Global Risk DashboardWith the current global situation becoming increasingly unstable, markets across energy, precious metals, volatility, and crypto have been moving rapidly. During periods like this, it’s important to monitor multiple asset classes at the same time.
I noticed that I was constantly switching between several watchlists and charts just to keep track of the instruments I care about. To make this easier, I built a simple Global Risk Dashboard that displays all key markets in one place.
The dashboard allows you to quickly see price levels and daily performance across different asset groups, helping you understand the broader market environment without constantly changing charts.
Key Features
Custom Sections – Create up to 8 sections to organize markets however you like (Energy, Metals, Crypto, FX, Equities, etc.)
Up to 5 Instruments per Section – Monitor multiple assets within each category.
Enable / Disable Sections – Show only the groups you care about.
Enable / Disable Individual Instruments – Fully customizable layout.
Color-Coded Performance – Cells automatically change color based on daily performance.
Daily Price + % Change – Quickly identify which markets are moving.
Flexible Layout – Sections automatically adjust depending on what you enable.
Example Use Cases
You might organize sections like:
Volatility (VIX, VVIX, MOVE)
Energy (WTI, Brent, NatGas)
Precious Metals (Gold, Silver, Copper)
Crypto (BTC, ETH, Total Market Cap)
Macro (DXY, US Yields, Equity Indexes)
But the layout is fully customizable, so you can build a dashboard tailored to your own workflow.
Why This Tool Exists
The goal of this script is simple:
reduce the need to constantly switch between watchlists and charts during fast-moving market conditions.
Instead, you get a single, compact overview of the markets that matter to you. Indicator
