Les meilleurs codes sources MQL4 et MQL5 selon les notes des utilisateurs - 219

Soumettre votre code

False breaks at an ATR envelope, drawn as trades: price pushes through a band, closes back inside, and a box runs from the entry to the moving midline, with the stop as a thick line. Each label prints the win rate of earlier signals in the same RSI zone, and a corner card charts it for every zone.

Seven-Bar Pressure Flip (SBPF) is a sell-only Expert Advisor for MetaTrader 5, provided as a research example for XAUUSD on the M15 timeframe. It looks for a bearish reversal candle following positive average candle-body pressure and manages positions using ATR-based stops, a fixed reward-to-risk setting, and a bar-count exit.

A real-time CCanvas on-chart utility for MetaTrader 5 that calculates net lot exposure per currency across all open positions and simulates the exact margin, Margin Level (%), and Stop-Out buffer impact of a new Buy or Sell order—automatically accounting for your broker's hedged margin rules.

Dynamically export customizable historical bar data (OHLC, Tick Volume) and selected technical indicators (RSI, MACD, ATR, ADX, Stochastic, CCI, MFI, Momentum) directly to a clean .csv file with automatic header generation.

Draws support and resistance from confirmed swing points and keeps each level live, with its price on the chart, until a close breaks it. Every break is graded on the spot: an arrow when volume surges, a diamond when the candle shows a rejection wick, a hollow circle when price slipped through without either.

A script that shows how far back your broker's server keeps real ticks for a symbol. It samples a few short windows over the last four years, asks for each one until its ticks arrive or the time is up, and prints the oldest one that has ticks.

A script that reads a tick CSV into a custom symbol and builds its M1 bars, so the Strategy Tester can run "Every tick based on real ticks" over a period the broker's server does not keep. It finds the columns by name and moves UTC times to server time.

Drag a stop-loss line and read the lot size for your risk. The loss per lot comes from OrderCalcProfit, so the size is right on metals, indices and cross pairs. Shows the real risk after rounding, the margin and an R-multiple take profit. Places no orders.

Decides if you can add to a running winner: only when all open trades in that direction are on break-even and the newest one is in profit. The open risk is never more than one add. Hedging accounts only.

Shows the time left on the current candle, the live spread and today's range next to the price or in a chart corner. Works on every timeframe.

Previous day high/low/open/close, previous week high/low and today's open, drawn as a segment for each of the last N days with price labels.

Countdown to the next important economic news from the built-in MetaTrader 5 calendar, with a vertical line and a before/after zone for every event.

Multi-timeframe trend table (M5, M15, M30, H1, H4, D1): price vs fast EMA vs slow EMA, RSI for each timeframe and an overall bias.

Risk-based lot size panel: risk (% of balance, % of equity or money) and stop loss in points give the lot. Shows money at risk, reward and margin and opens BUY / SELL with SL and TP in one click.

Daily loss limit and daily profit target for the whole account (prop firm style). When a limit is hit it closes positions, deletes pending orders and keeps the account flat until the next daily reset.

Script that closes positions in one click: all, only profitable, only losing, only buys or only sells, for this symbol or all symbols, with a magic filter and optional pending order delete.

Moves the stop loss to break-even and then trails it on trades that are already open. It never opens or closes a trade.

Starts a trailing stop when the price reaches the take-profit zone of a position you already have open. The take profit is removed, extended or kept. It never opens trades.

One include file that reads and writes JSON in MQL5 and MQL4. It refuses broken JSON and tells you the line and column of the mistake, keeps numbers exact, reads and writes UTF-8 files, and saves your EA's settings to a file and loads them back.

Previous day, week and month high and low, New York midnight open, period opens and the Asian range, with sweep marks and one alert per level. Day from broker or New York time. No repaint, buffers for EAs.

Regular and hidden divergences between price and RSI, MACD, Stochastic, CCI or Momentum. Swings confirmed on closed bars, signal on the confirmation bar, lines on oscillator and price. No repaint, buffers for EAs.

MACD regular and hidden divergences on closed bars with an honest first-touch statistics panel. Not a trading signal.

Exports bars to CSV and writes the SHA-256 fingerprint of that exact file, so a backtest can be tied to the data that produced it.

Saves your closed trades to a CSV file for your spreadsheet: one row per trade with points, costs, net result, R multiple, MAE and MFE.

Closes only the open positions that match your filters and, if you choose, deletes matching pending orders. Shows a summary and asks before it acts.

An indicator that reads the broker's weekly trade-session schedule for the chart symbol and shows whether trading is open, when the next close or open happens and a live countdown to it. It also marks bars that lie completely outside the trade sessions.

Check the first and last available bars, gaps between bars, and available MT5 tick history for a date range before a backtest.

Read-only script that audits how your orders were filled: slippage (reference vs filled price) and server latency for every deal, written to a CSV report with its SHA-256 fingerprint.

A per-hour profile of when the day's range actually gets built, plus a live readout of whether today is running ahead of or behind its usual pace

Tracks every touch of a round "00" or "50" level and keeps a running scorecard of how often price rejects versus breaks through — then maps that history onto the levels nearest to current price.

Free MT5 research EA with three closed-bar entry models, ATR stops, fixed-R targets and a tester cost ledger. Version 2.31 uses the chart symbol and timeframe. Historical research: XAUUSD M5. Educational source; published tests were loss-making.

Include file with small functions to find the Gotobi days: the 5th, 10th, 15th, 20th, 25th and the last day of each month, moved back to the previous business day when they fall on a weekend or a holiday you list. Information only, no trading functions.

Read-only script that shows the real statistics of your trade history per symbol: win rate, net result, profit factor, average win/loss and longest losing streak.

Drag Entry, Stop Loss and Take Profit lines on the chart and instantly see the correct lot size for your risk, reward-to-risk, money at risk, potential profit and margin.

Scans the trend on M5, M15, H1, H4 and D1, shows market bias, volatility, session and previous-day levels in one clean panel, and opens trades with one click using a risk-based lot, ATR stop loss and R:R take profit.

1...212213214215216217218219