MetaTrader

MetaTrader All for MT5

UPDATE
Showing 7888 results

Weekend Gap Statistics and Distribution Analyzer

A common adage in trading is that "all weekend gaps close." However, trading this anomaly without understanding the underlying statistics can lead to significant drawdowns. The Weekend Gap Statistics & Distribution Analyzer quantifies this behavior for any specific instrument and timeframe. It calculates exactly how often gaps close, how much profit you can reasonably expect, and critically, how much heat a trader must endure before the closure occurs.

All metrics are displayed in a non-intrusive dashboard anchored to the lower-left corner of the chart. The display features dynamic contrast, automatically switching between light and dark text to ensure readability against any chart background.

Key Features

  • Multi-Timeframe Analysis: Breaks down statistics into three distinct periods: The Last 5 Gaps, The Last 12 Months, and All Available History.

  • Reward vs. Risk Tracking: Simultaneously tracks Maximum Favorable Excursion (MFE) and Maximum Adverse Excursion (MAE) to give a complete picture of trade viability.

  • Take Profit Predictor: Calculates the exact points reached by historical gaps to establish highly probable Take Profit targets.

  • Stop Loss Optimizer: Calculates the historical drawdown of closed gaps to help you set mathematical Stop Losses that survive market noise.

  • Smart UI: Uses a small, clean monospace font anchored to the lower-left corner, leaving your chart free for your actual trading analysis.

Understanding the Dashboard Metrics The indicator categorizes historical data and displays the following data points for each period:

  • Total & Closed Gaps: The absolute number of weekend gaps identified, alongside the count and percentage of gaps that successfully closed.

  • Avg Size | Avg MFE | Avg MAE: The baseline averages. It shows the average opening Gap Size, the average Maximum Favorable Excursion (reward), and the average Maximum Adverse Excursion (risk/heat).

  • TP Hit Rate (MFE >=): This metric analyzes all historical gaps and calculates the exact points reached by 95%, 70%, 50%, and 25% of them. If the 70% metric reads "85 pts," it means that 70% of the time, fading the gap yielded at least 85 points of profit.

  • SL Survival (MAE <=): This metric analyzes only the gaps that successfully closed and tells you the maximum heat taken. If the 95% metric reads "200 pts," it means that 95% of gaps that successfully closed did so while taking 200 points of heat or less.

Input Parameters

  • Min Gap Size (in Points): The minimum required distance between Friday's close and Monday's open to register as a valid gap. This filters out negligible price differences. You must adjust this based on the asset class and the decimal precision of your broker (e.g., a 10-pip gap on a 5-digit broker is 100 points).

  • Max History Bars to Scan: Limits the historical lookback period to preserve terminal memory and computational resources. The default is 100,000 bars.

Practical Usage Guide

1. Data-Driven Take Profit Targets Instead of blindly targeting the exact Friday close, you can now use the TP Hit Rate tiers. If an asset has a 95% hit rate of achieving 40 points in favorable excursion, you can confidently set a partial or full Take Profit at 40 points. You will know you have overwhelmingly high historical odds of the price reaching that level, even if the gap ultimately fails to close completely.

2. Optimizing Stop Loss Placement By utilizing the SL Survival distributions, traders can place highly accurate stop losses. Standard averages can be heavily skewed by single, massive historical outliers. If you are fading a gap and your stop loss is placed well within the 95th percentile of historical adverse heat, you are statistically protecting your trade from premature stop-outs. Place stops just outside these percentile boundaries to give the trade adequate room to breathe without exposing your account to catastrophic outlier risk.

Chart Water Mark

Transform your MetaTrader 5 charts to look as elegant and professional as TradingView.

Are you tired of the default, plain look of MetaTrader? WaterMark MT5 is a lightweight, fully customizable indicator designed to enhance your charting experience by adding sleek, modern watermarks directly to your trading terminal.

This indicator bridges the visual gap between standard MetaTrader charts and premium web based charting platforms. It allows you to display the current trading pair and timeframe dynamically on your chart, alongside two additional fully customizable text labels. Inspired by the clean aesthetics of modern charting tools, this indicator is perfect for traders who want a more visually appealing workspace. Whether you are a trading mentor sharing technical analysis, a prop firm trader journaling setups, or simply an enthusiast who loves a clean aesthetic, this indicator is an essential addition to your toolkit. It gives your charts a unique professional identity and beautifully brands your screenshots before you share them on social media.

Key Features of the Indicator:

Dynamic Pair and Timeframe Display The indicator automatically detects and displays your current instrument and timeframe. If you switch from a 5 minute chart to a 4 hour chart, the text updates instantly. It supports all default and custom MT5 timeframes. The TradingView Aesthetic Bring the modern, minimalistic look of popular charting platforms right into your MetaTrader desktop. Make your workspace inspiring and easy on the eyes. Complete Customization You are in full control. Adjust the font style, font size, and text color to match your specific chart template. You can easily position the watermark anywhere on your screen using the X and Y distance parameters and corner selection. Dual Custom Text Labels Beyond the pair and timeframe, you can add two custom lines of text. Use this to display your brand name, your trading community, your current trading strategy, or important psychological reminders right on the chart. Lightweight and Optimized Coded with clean and modern MQL5 practices, this indicator runs smoothly without consuming excessive CPU resources. It will not slow down your terminal or interfere with your Expert Advisors. How to Use: Simply attach the indicator to any chart. In the input settings, type your desired font name (such as Arial, Verdana, or Ink Free) and adjust the sizing and colors to fit your light or dark chart theme.

Upgrade your charting aesthetic today. Download this indicator for free and experience a cleaner, more professional MetaTrader workspace.

Correlation Matrix Heatmap with Interactive Dashboard

Interactive Correlation Matrix Dashboard

Stop guessing how your pairs move together. This professional-grade heatmap provides a clear, real-time bird's-eye view of the entire market's relationships directly on your chart.

 Key Trading Features
  • Live Heatmap Visualization: High-contrast color coding  (Red for positive, Blue/Purple for negative) allows you to spot strong relationships in milliseconds.

  • On-Chart Workspace Control: 

    • Draggable: Click and move the panel so it never blocks your price action.

    • Minimize/Restore: One-click "Dash" mode to hide the grid and keep only the title bar visible when you're focusing on a trade.

  • Instant Timeframe Analysis: Switch between D1, H4, H1, and M15 . Understand if a correlation is a long-term structural trend or just a short-term intraday move.

  • High-Precision Values: Displays exact Pearson coefficients (e.g., 0.85, -0.72) so you can distinguish between "correlated" and "perfectly synced."

 Real-World Use Cases

1. Risk Management (Avoiding Over-Exposure) 

If you are Long $EURUSD$ and Long $GBPUSD$, you might think you have two trades. The matrix will show you if they have a 0.90+ correlation, alerting you that you are actually holding a double-sized position on "USD weakness."

2. Finding Hedge Opportunities 

Identify pairs with a strong Negative Correlation (e.g., $EURUSD$ and $USDCHF$). If you want to stay in the market but reduce risk during high volatility, these pairs can act as natural hedges.

3. Confirmation & Confluence 

Use the matrix to see if a breakout in $Gold$ is being reflected in correlated pairs like $AUDUSD$. If $Gold$ moves but $AUD$ stays flat, the matrix helps you spot the "divergence" that might save you from a fake-out.

4. Cleaning up your Market Watch 

The dashboard automatically pulls from your Market Watch. Use it to quickly see which pairs are currently "active" and moving in sync, helping you focus only on the most tradable setups.

 Built for Performance
  • Pure MQL5: No external files or complex setups. Just drag, drop, and trade.

  • Ultra-Lightweight: Optimized to ensure your MT5 terminal remains snappy, even when analyzing 12+ symbols at once.

  • Broker-Friendly: Automatically cleans symbol names (stripping suffixes like .m or +) so it works on any account type.

Swap Fee Monitor Panel

Swap Monitor Panel is a lightweight, fully customizable indicator that overlays a live swap rate dashboard directly on your MT5 chart. It scans every symbol in your MarketWatch window and presents long swap, short swap, estimated daily cost, and weekly cost side by side — all in one clean, readable panel.

Key Features

  • Live MarketWatch scanning — automatically reads all symbols currently in your MarketWatch; no manual configuration needed.
  • Multi-mode swap calculation — correctly handles all MT5 swap modes: points, currency (symbol/deposit/margin), and interest-based (current/open price), so monetary cost estimates are as accurate as possible.
  • Daily & Weekly cost columns — shows the estimated real monetary cost or gain per your chosen lot size for both long and short positions, updated every 5 seconds.
  • Best swap highlighting — optionally highlights the symbol with the most favorable long or short swap in accent color, helping you quickly spot carry trade opportunities.
  • Flexible sorting — sort the table by symbol name (A–Z), best long swap, best short swap, or best daily cost with a single input change.
  • Minimize / Close controls — title bar buttons let you collapse the panel to just its header bar or remove it from the chart entirely without detaching the indicator.
  • Fully themeable — every color (background, rows, positive/negative values, accent, title) is exposed as an input parameter so the panel fits any chart theme.
  • Font & layout control — choose your preferred font, font size, panel X/Y position, and toggle the daily/weekly cost columns on or off to keep the panel as compact or detailed as you need.

How It Works

On load, the panel reads swap rates and contract specifications for each MarketWatch symbol using native SymbolInfo functions. It then converts raw swap values into monetary terms based on the symbol's swap mode, tick value, and your reference lot size. The panel refreshes automatically every 5 seconds via a timer and can also be manually refreshed by clicking anywhere on the panel body.

Use Cases

  • Identifying positive carry (swap-positive) opportunities across your watchlist
  • Comparing rollover costs before holding positions overnight or over the weekend
  • Monitoring weekly swap exposure for a given lot size across multiple instruments

Prime Quantum AI — TRADE WITH AI (Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, xAI Grok).

Prime Quantum AI is an Expert Advisor for MetaTrader 5 that combines a  classical technical pre-filter (ADX + Alligator) with AI vision-based  chart analysis from major AI providers. HOW IT WORKS The EA runs a two-stage decision process. First, on each tick, it checks  the user's selected timeframe for a trend setup using ADX (above the  configurable minimum level) combined with Alligator alignment and DI+/DI-  direction. When this pre-filter signals BULLISH or BEARISH, the EA  captures three chart screenshots at adaptive timeframes (entry, mid,  context — automatically chosen from the user's TF input) and sends them  to the configured AI provider. The AI returns a JSON response with  direction, confidence (0-100), stop-loss price, take-profit price, and  reasoning. A trade is opened only if the AI direction matches the  pre-filter signal AND confidence meets the user's minimum threshold. RECOMMENDED SYMBOL AND TIMEFRAME - Symbol: any major forex pair, gold (XAUUSD), or major indices - Timeframe input (TF): M15 default. M1-M5 for scalping, H1-H4 for day    trading, D1 for swing trading. The screenshot stack is selected    automatically from this input. KEY EXTERNAL VARIABLES - TF: trading timeframe (controls pre-filter and screenshot stack) - InpAPIKey: your AI provider API key - InpProviderOverride: auto / anthropic / openai / google / deepseek / xai - InpMinConfidence: minimum AI confidence to take a trade (default 70) - InpScanIntervalSec: cooldown between AI calls (default 120s) - InpAccountType: Standard Broker / Prop Firm / Funded - InpRiskMode: fixed lot, % balance, % equity, fixed $, % free margin - InpSLTPMode: AI decides / fixed pips / fixed points / AI SL with R:R - InpADXPeriod, InpADXMinLevel: ADX pre-filter parameters - InpJawPeriod/Shift, InpTeethPeriod/Shift, InpLipsPeriod/Shift: Alligator - InpATRTrailPeriod: ATR period for ATR-based trailing stop - News, time, day, and spread filters with full configuration REQUIREMENTS 1. MetaTrader 5 2. WebRequest must be enabled in Tools > Options > Expert Advisors >     Allow WebRequest, with the URL of your chosen provider added: 3. A valid API key from one of the supported providers (paste into     InpAPIKey input). Provider is auto-detected from key format. WHERE TO GET API KEYS NOTES - The EA charges no internal fee, but the AI provider charges per API    call (typically $0.01-$0.03 per analysis). Set InpScanIntervalSec to    control your daily cost.

- Always test on a demo account before using on live funds.

Institutional Fourier Transform (DFT) Dominant Cycle Language: MQL5

The Systemic Flaw in Static Indicators

Retail algorithmic developers universally rely on static lookback periods (e.g., a 14-period RSI or a 20-period Moving Average), this architecture contains a fatal mathematical flaw: Market cycles are dynamic, not static. When macroeconomic liquidity shifts, the natural frequency of the asset expands or contracts. Using a static 14-period oscillator when the true market cycle has shifted to an 8-period frequency guarantees severe phase-lag, forcing your Expert Advisor to buy exactly when the institutional distribution cycle is beginning.

The Institutional Edge: Spectral Analysis (Fourier)

To solve the phase-lag problem, proprietary trading firms discard static periods and utilize Digital Signal Processing (DSP).

The Institutional Fourier Transform (DFT) Cycle Extractor applies the mathematical principles of wave physics to the financial markets. It continuously decomposes complex, noisy price action into its constituent sine and cosine waves, mathematically isolating the single Dominant Cycle driving the current market regime.

Core Quantitative Architecture
  • Discrete Fourier Transform (DFT): The engine executes a rolling algorithmic window, scanning frequencies to identify the highest amplitude wave buried within the erratic price noise.

  • Phase-Aligned Wave Projection: Once the dominant frequency is isolated, the indicator projects the isolated sine wave directly over the price action. This allows you to visually track the true institutional pendulum.

  • Zero-Lag Cycle Detection: Unlike moving averages that trail behind price, a Fourier-extracted wave aligns dynamically with the current phase, identifying peaks and troughs mathematically before lagging indicators even cross.

  • CPU-Optimized Loop: Raw DFT calculations are historically notorious for CPU throttling. This MQL5 engine has been rigorously optimized with array-level memory management to execute complex trigonometry in milliseconds without disrupting your trading terminal.

Algorithmic Execution Protocol
  1. Deploy the Engine: Attach the indicator to your active chart, the engine will calculate the rolling DFT window and plot the dominant wave.

  2. Identify Exhaustion: When the Fourier wave reaches its upper or lower structural limits, it signifies that the current market cycle has completed its mathematical rotation.

  3. Synchronize your EA: Use this dominant frequency to dynamically adjust the lookback periods of your other indicators, forcing your systems to breathe in perfect synchronization with the live market pulse.

Super Trend

Supertrend Indicator: ATR-Based Trend Following for MetaTrader 5

The Supertrend indicator is a widely used trend-following tool built on the Average True Range (ATR). It plots a dynamic support or resistance line directly on the price chart, switching between a green uptrend line and a red downtrend line whenever the market changes direction. Traders use this signal to stay on the right side of the trend without having to interpret complex oscillators or multi-panel setups.

This implementation brings the full Supertrend logic into MetaTrader 5 as a native custom indicator. It supports two ATR calculation methods: the standard function built into the MQL5 library, and a manual Simple Moving Average of True Range for traders who prefer a smoother band. Both methods produce the same trailing band structure, where the upper and lower bands tighten or widen with volatility and lock in once price moves decisively away from them.

When the trend flips from bearish to bullish, an upward arrow is drawn at the bar of the crossover. When it flips from bullish to bearish, a downward arrow appears. These buy and sell signals can be toggled on or off through the input settings, keeping the chart clean for traders who only need the trend line itself. The indicator is fully configurable through four input parameters: ATR period, ATR multiplier, calculation method, and signal visibility.

Input Parameters

Note: This indicator is intended for trend identification and educational purposes. Always validate signals on a demo account before applying them to live trading. Past performance of any indicator does not guarantee future results.

Advanced Trade History Exporter: MAE, MFE and Time-Based Excursions (Points)

Evaluating your trading edge requires more than just looking at your win rate and net profit. You need to know how efficient your entries and exits are. Are your stop losses too wide? Are you leaving money on the table by closing too early?

This script analyzes your historical deals, reconstructs your trades, and calculates advanced quantitative metrics, outputting everything into a clean .csv file that you can open directly in Excel.

Key Features & Metrics Calculated:

  • MAE (Maximum Adverse Excursion): Calculates the maximum number of points the market moved against your position during the lifespan of the trade. Helps you optimize your stop-loss placement.

  • MFE (Maximum Favorable Excursion): Calculates the maximum number of points the market moved in your favor before the trade was closed. Helps you identify if you are giving back too many unrealized gains.

  • Forward Returns (Time-Based Excursions): Analyzes the exact price difference relative to your entry price at specific future intervals (T+30m, T+1h, T+4h, T+12h, T+1d, T+1w). This answers the quantitative question: "What if I had just held the trade for exactly X hours?" If a future time period hasn't occurred yet, it safely outputs n/a .

  • T+1w MIN (Forward Risk): Calculates the absolute worst-case drawdown (maximum adverse points) that occurred over the entire 1-week period following your entry. If the trade never went against you during that week, it reports 0 .

Output Format: The script generates a CSV file with the following columns: Position ID | Symbol | Type | Open Time | Close Time | Duration (Hrs) | Open Price | Close Price | Profit ($) | Profit (Pts) | MAE (Pts) | MFE (Pts) | T+30m | T+1h | T+4h | T+12h | T+1d | T+1w | T+1w MIN

Input Parameters
  • Start Date: Choose how far back in your terminal's history you want the script to scan (Default: 2026.01.01 ).

How to Use
  1. Download the .mq5 source code file.

  2. In your MetaTrader 5 terminal, go to the top menu and click File -> Open Data Folder.

  3. Navigate to the MQL5\Scripts folder and place the .mq5 file inside.

  4. Open the MetaEditor (press F4 on your keyboard).

  5. In the MetaEditor Navigator, find the script under the Scripts folder, open it, and click the Compile button at the top (or press F7).

  6. Back in the MT5 terminal, open the Navigator panel (Ctrl+N).

  7. Expand the Scripts folder, find Export_MAE_MFE_Points , and drag it onto any open chart.

  8. Set your desired Start Date and click OK.

  9. The script will process your history and save a file named TradeHistory_Stats_Points.csv in your MQL5\Files folder.

Note: The script utilizes M1 timeframe data ( CopyHigh , CopyLow , CopyClose ) to calculate the highly accurate excursion metrics. Please ensure you have sufficient M1 history downloaded from your broker for the symbols and dates you are querying, otherwise, some metrics may report as 0.

ASQ Order Executor

FEATURES:

- Automatic retry logic with configurable max attempts and delay - Requote handling with separate retry path from rejections - Slippage calculation in pips with violation detection - Auto-normalization of SL/TP against broker stop level - Auto-detection of fill policy (FOK / IOC / RETURN) - Full execution statistics (success rate, avg slippage, avg exec time, volume) - Market orders (Buy / Sell) and pending orders (Limit / Stop, Buy / Sell) - Position management (close, partial close, modify SL/TP, close-all-by-magic) - Human-readable result codes with 10 execution states

- Verbose logging toggle for debugging

DEMO EA INCLUDED: Attach to any chart: — Dashboard with BUY, SELL, CLOSE ALL action buttons — Live execution statistics with color-coded metrics — Success rate gauge (green >=95%, amber >=80%, red below) — Total attempts, successful, rejections, requotes, timeouts, slippage violations — Avg and max slippage in pips, avg execution time in ms, total volume executed — RESET button to clear stats mid-session USAGE: #include "ASQ_OrderExecutor.mqh" CASQOrderExecutor exec; exec.Initialize(_Symbol, 20260417); exec.SetMaxRetries(3); exec.SetMaxSlippage(30); exec.SetVerboseLogging(true); ENUM_ASQ_EXEC_RESULT result = exec.Buy(0.10, sl, tp, "Strategy A"); if(result == ASQ_EXEC_SUCCESS)    Print("Executed at ", exec.GetStats().avgSlippagePips, " pips slip"); exec.CloseAllByMagic(); Place both files in the same folder — compiles instantly, no subfolder setup needed. FILES: - ASQ_OrderExecutor.mqh — Library (960 lines) - ASQ_OrderExecutor_Demo.mq5 — Demo EA (334 lines) MetaTrader 5, all brokers, all instruments, all timeframes. Free and open-source. 1,294 lines of production MQL5.

Frontend EA : UI cleanup + quick-trading layer for MT5

Frontend EA

A UI cleanup + quick-trading layer for MT5. Strips away the noisy defaults, replaces the built-in price and time axes with big readable labels, and gives you a proper one-click panel — all in a single EA.Its a good base for anyone looking to customize its UI.

Chart look
  • Hides grid, volumes, ticker bar and one-click trading panel on load
  • Custom price scale with round-number labels ( 1 / 2 / 2.5 / 5 × 10ᵏ  steps)
  • Custom time scale that shows the date only once per day at  00:00 , time otherwise
  • Auto-padding around the Bid tag and horizontal-line endpoint labels, so nothing overlaps (WIP)
  • Compact mode when the chart is tiled: 5 price levels (top / ¾ / mid / ¼ / bottom) and 3 time labels (left / mid / right)
Quick trading
  • BUY and SELL buttons top-left with an editable volume box
  • Volume is persisted per slot via  GlobalVariable
  • Symbol label at the top center ( .cash  suffix stripped)
Open-position plates (left side)
  • One plate per open position at its entry-price Y
  • Shows  price | signed volume | live PnL
    • +  for longs,  −  for shorts
    • PnL includes swap + commission, refreshed every second
    • Green when in profit, red when in loss, orange flat
  • Overlapping entries at the same level merge into one plate with summed volume and summed PnL
  • Small × button next to each plate closes every ticket in that cluster in one click
  • Fixed-width fields so plates stay aligned across refreshes
Indicators
  • L1 trend filter on H1 (λ configurable)
  • Session VWAP with  ±2σ ,  ±5σ ,  ±8σ  bands
  • Previous-close and today-open markers
Keyboard shortcuts Performance
  • 80 ms paint loop with a dirty-check: geometry + price range + position-list hash + 1 Hz PnL pulse
  • Label pools reused across frames (no  ObjectFind  in the hot path)
  • Inline price → Y math, geometry cached and refreshed only on  CHART_CHANGE
  • Smooth repaint during drag / resize, near-idle CPU when the chart is static
Palette

Tokyo Night — dark background, soft blue / orange / purple accents, easy on the eyes for long sessions.All indicators source code coming from mql5.com with some tweaks for performance. Big thank you to all the people publishing here for free.Current EA fits my needs reasonably but its a good base for anyone willing to customize the UI. made by Claude code.

any suggestions to make this better are welcome, although i wont add input settings for colors or easy stuff like that.use at your own risk, its mostly untested.

Calculate Lot Percent

The CalculateLot function is designed to automatically calculate the trading lot size based on risk management principles. It allows a trader to specify the percentage of the account balance he is willing to risk in a trade and, based on this, determine the optimal position volume.

Syntax

Parameters Return value

The function returns the normalised lot volume ( double ), which:

  • Conforms to the rounding rules to the volume step ( VOLUME_STEP );

  • Does not exceed the maximum allowed volume ( VOLUME_MAX );

  • Is not less than the minimum allowed volume ( VOLUME_MIN ).

If the calculated value exceeds the allowed limits, the function returns a limited value (minLot or maxLot).

Operating algorithm
  1. Obtaining account and symbol parameters

    • Current balance ( ACCOUNT_BALANCE )

    • Tick value ( SYMBOL_TRADE_TICK_VALUE )

    • Minimum, maximum and step of lot change

  2. Calculation of risk amount in deposit currency

  3. Calculation of lot volume

  4. Normalisation and validation

    • Rounding to the nearest step ( VOLUME_STEP )

    • Minimum and maximum value validation

Examples of use Example 1. Basic use in an Expert Advisor

Example 2. Use in a script with error checking

Self-Aware Trend System

The Self-Aware Trend System (SATS) is an advanced multi-engine SuperTrend indicator for MetaTrader 5 that goes far beyond a standard trend-following line. It combines four tightly integrated sub-systems: an Adaptive SuperTrend engine, a Trend Quality Index (TQI), a Signal Scoring filter, and a built-in Risk Management layer with automatic TP/SL projection. The result is a single indicator that not only identifies the trend but also measures how strong and trustworthy that trend is, filters low-quality signals, and draws trade levels directly on the chart.

At the core of the indicator is an ATR-based SuperTrend line whose band width adapts in real time using the Kaufman Efficiency Ratio (ER). When price is trending efficiently (high ER), the bands tighten to stay close to price. When price is choppy (low ER), the bands widen to avoid false flips. This adaptation can be further refined by the Trend Quality Engine (TQI), a composite score built from four weighted sub-components: Efficiency (how directional recent movement is), Volatility Regime (whether current ATR is above or below its long-term baseline), Market Structure (pivot-high and pivot-low alignment), and Momentum Persistence (how consistently price has followed through in the same direction). The TQI score runs from 0 to 1 and is shown live in the on-chart dashboard. A Character-Flip detection module watches for a sharp drop in TQI during an active trend, treating that drop as an early warning that the trend character has changed before the SuperTrend line itself flips.

Signals are only displayed when a composite Signal Score clears a configurable minimum threshold. This score is built from momentum alignment, Efficiency Ratio level, Volume Z-score, RSI zone, pivot structure, and a baseline bonus. The scoring system prevents the indicator from printing arrows on every SuperTrend flip and focuses attention on setups where multiple conditions agree. Once a valid signal fires, the indicator immediately draws an Entry line, a Stop Loss (ATR-distance below/above entry), and three Take Profit levels (TP1, TP2, TP3) defined as R-multiples of the initial risk. As subsequent bars form, the TP and SL lines extend forward and are automatically marked when hit.

The Performance Dashboard displays all of this in a compact panel that can be anchored to any corner of the chart. It shows the current TQI and its four sub-components, trend direction, active preset name, RSI, Volume Z-score, Efficiency Ratio, rolling win rate, average R, rolling drawdown, all-time win/loss streaks, and cumulative R. An experimental Auto-Calibration module monitors recent signal R-results and adjusts the Quality Influence parameter up or down to self-correct when the indicator enters a run of poor signals. The indicator is fully non-repainting: the dashboard and all signals are locked to confirmed closed bars (shift = 1), so no value changes on a chart refresh.

Six built-in Presets (Auto, Scalping, Default, Swing, Crypto 24/7, Custom) adjust ATR length, base multiplier, ER window, RSI period, and SL multiplier in a single dropdown. The Auto preset selects Scalping for timeframes up to M5, Default for M6 through H4, and Swing for H5 and above. All visual elements (band colors, signal labels, TQI-colored line, background shading, watermark) are individually toggleable. Alerts fire with either a plain-text or a structured Webhook JSON payload containing symbol, timeframe, price, SL, TP1-3, score, and TQI, making it straightforward to pipe signals into an external system or trade copier.

Input Parameters
RobotFX does not own any of the code provided on this platform. All tools are freely available on the internet; we simply index and re-offer them for download. We are not responsible for any financial losses that may occur. Trading responsibilities rely solely on the traders downloading and using the displayed Expert Advisors, indicators, and scripts. These tools are provided for educational purposes only and may require modification or optimization to align with a trader's specific strategy or needs.
© ROBOTFX - Best MetaTrader Expert Advisors & Indicators