Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook üzerinde bulun!
Fan sayfamıza katılın
Kodu ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Kodu beğendiniz mi? MetaTrader 5 terminalinde deneyin
Komut dosyaları

Broker Execution Diagnostics - MetaTrader 5 için komut dosyası

Waseem Shahrukh
Waseem Shahrukh
  • Institutional Algo Architect | MQL4 & MQL5 Specialist at  Proprietary Trading Systems
  • Pakistan
  • 1066
MQL5 / MQL4 Expert Advisor Developer | Institutional Algo Architect Built for Live Trading, Not Just Demo
Görüntülemeler:
68
Derecelendirme:
(1)
Yayınlandı:
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Broker Execution Diagnostics is a read only utility for traders and developers who need to understand how the current broker defines a symbol before configuring an Expert Advisor or investigating rejected orders.

The script does not open, modify or close trades. It reads the selected symbol specifications and displays a structured report on the chart and in the Experts log.

The report includes:

• Current bid, ask and spread in points
• Symbol digits, point size and trade tick size
• Tick value, profit tick value and loss tick value
• Contract size and account currencies
• Minimum, maximum and step volume
• Directional volume limit
• Stop level and freeze level
• Symbol trade mode and execution mode
• Supported filling modes and order features
• Terminal, account and Expert Advisor trading permissions
• Estimated margin for a configurable test volume
• Estimated account currency profit for a configurable price movement

The test volume is normalized according to the broker’s minimum volume, maximum volume and volume step. Margin and profit estimates use the native OrderCalcMargin and OrderCalcProfit functions instead of fixed pip value assumptions.

Inputs

InpSymbol

Leave this field empty to analyze the current chart symbol. A different broker symbol may also be entered manually.

InpTestVolume

Defines the volume used for margin and profit estimates.

InpTestMovePoints

Defines the price movement in points used for the estimated profit calculation.

How to use

1. Compile BrokerExecutionDiagnostics.mq5 in MetaEditor.
2. Place the compiled script in the MQL5\Scripts directory.
3. Attach the script to the required symbol chart.
4. Read the complete report on the chart or in the Experts tab.

This utility is intended for broker specification analysis and execution troubleshooting. It does not generate trading signals, predict market direction or guarantee order execution.


SMC Entry Using structure SMC Entry Using structure

Market Structure & Smart Trade Tracker (MT5) An advanced all-in-one Smart Money Concepts (SMC) indicator that combines automated market structure mapping, momentum heatmap candles, and institutional trade execution tracking.

Adaptive_MACD Adaptive_MACD

Adaptive MACD is a dynamic momentum indicator that adjusts its smoothing based on market conditions. It calculates a Pearson correlation coefficient between price and bar index over a user-defined period, then uses the resulting R² to blend two different MACD coefficient sets. This makes the MACD line more responsive during strong trends and smoother in sideways markets. The indicator plots a color-coded histogram (strong/weak bullish/bearish) and an optional auto-contrast MACD line that adapts to the chart background. Inputs allow customization of the R² period, fast/slow lengths, signal period, and colors. Suitable for trend-following and detecting momentum shifts.

Risk Based Position Size Calculator Risk Based Position Size Calculator

A draggable MT5 risk calculator that converts the selected entry and stop distance into a broker normalized position size using tick size, tick value and account risk.

Nadaraya_Watson_Envelope_NR Nadaraya_Watson_Envelope_NR

Calculates a non-repainting Nadaraya-Watson envelope using Gaussian smoothing and marks price crosses beyond the upper and lower bands with arrows.