Ci trovi su Facebook!
Unisciti alla nostra fan page

Utilizza le nuove funzionalità di MetaTrader 5

Le più recenti pubblicazioni sul codice in CodeBase

Nuove pubblicazioni nel CodeBase

Nuove pubblicazioni nel CodeBase

  • Universal Pip Value and Dynamic Lot Calculator Class for MQL5 A lightweight, OOP-compliant MQL5 header class (.mqh) for accurate pip value calculation and dynamic lot sizing across all instruments, featuring automated cross-currency rate conversion and broker volume normalization.
  • GDS Renko Replay Trainer GDS Renko Replay Trainer is a free educational tool for practising manual decisions on historical Renko charts in MetaTrader 5. Load a historical interval, replay it forward and place virtual BUY or SELL trades. You can pause, advance one tick or move to the next completed Renko brick. Each virtual position has a stop loss and take profit, and the trainer records the results of your session. The tool builds fixed-size Renko bricks from historical Bid/Ask ticks, with a classic two-brick reversal. Future ticks are not used to draw the visible chart or execute virtual trades. Buy trades use Ask for entry and Bid for exit; sell trades use the opposite sides. Orders entered on the panel wait for the next replayed valid tick. Stops and targets are checked on every tick, including price gaps.
  • VSA Glossary Built on Wyckoff Volume Spread Analysis (VSA) principles, it decodes smart money accumulation, distribution, absorption, and trend direction with zero repainting and a strict 2,000-bar performance limit.

Nuove pubblicazioni nel CodeBase

Nuove pubblicazioni nel CodeBase

  • RiskPilot Pro — Drag-to-Trade Risk Panel with Break-Even, Trailing and a Daily Loss Guard Drag your stop loss where you actually want it, hit Buy or Sell, and the lot size is already correct — no calculator, no spreadsheet. Handles break-even, trailing, and shuts trading down for the day if you hit your loss limit.
  • Extract information from the MT5 broker This MT5 EA is a diagnostic tool that does not execute trades, but collects and displays technical specifications relating to the broker and the trading environment. The code is structured into four main blocks: Data Collection (CollectAll): Retrieves information on the account (leverage, currency), the symbol (digits, spread, swap, volumes, stop levels), latency (ping) and time zone (Server-UTC difference). Calculates the swap in real currency. Sampling (OnTick): Updates spread statistics (minimum, average, maximum) in real time. Output: Prints the data to the ‘Experts’ log, saves it to a CSV file and displays it on a graphical panel on the chart (UpdatePanel). Helper: Functions such as CalcSwapInCurrency and various *ToStr functions convert the broker’s raw numerical data into readable strings.
Ci sono più di 12,400 codici pubblicati nel Codebase

Nuove pubblicazioni nel CodeBase

  • Contract Sizer: ladder, floor and a breaker that survives a deposit Three position-sizing protections that do different things; confusing them is why so many accounts get wiped out: - ladder: one contract per X of balance, always applied as a CAP, even with manual lot sizing; - floor: below the minimum capital it does not trade; a new deposit is needed; - breaker: stops at X% below the peak, at any account size, and does not rearm by itself. What this library solves and almost none does: a deposit is not profit, and a withdrawal is not a loss. The breaker measures the drop against the balance peak. Untreated, a deposit made DURING a drawdown lifts balance and peak together, and the protection stops seeing the drop exactly when it would help. Here deposits and withdrawals shift the peak by the same amount. The peak is persisted to a file: a breaker that forgets the peak on a terminal restart is not a breaker. The demo simulates a deposit at the bottom of a drawdown. Run it with the deposit on and off and compare the "drop" column.
  • Safe Logger: why your log lines vanish while FileOpen keeps returning success Four EAs writing to the same file, all with FILE_SHARE_READ|FILE_SHARE_WRITE, FileSeek(SEEK_END), FileWrite, FileClose. Looks correct. Every FileOpen returns success. No error in the log. And the lines vanish. Reason: FILE_SHARE_WRITE lets all four open at the same time. All four call FileSeek(SEEK_END) and get THE SAME offset, because none has written yet. All four write at the same position. Whoever closes last wins. Three lines vanish silently. In my case: 12 events expected, 8 in the file. The fix is to open EXCLUSIVELY (no FILE_SHARE_WRITE) and retry while another EA holds the file. And to shout in the log when the retries run out: a log that fails silently is worse than no log at all, because you trust it. The demo script reproduces both modes. To see the loss, drag it onto four charts at the same time with safe mode off and count the lines in the CSV. On a single chart the defect does not show up - which is why it passes in testing and breaks in production.
  • Clock Diagnostic: TimeCurrent() freezes and steps backwards TimeCurrent() is not a clock. It is the stamp of the LAST TICK. Two consequences break robots in production: 1. It freezes. With no tick it does not move: illiquid instrument, end of session, unstable connection - and any rule based on it stops with it. 2. It steps backwards: on a symbol switch, a reconnection or a tick from another instrument, the value can go back. The case that cost me a whole protection: I compared the date of a daily decision with TimeCurrent() to reject an expired one. The server clock stepped back to the previous day, the comparison matched, and four EAs accepted YESTERDAY's decision as valid. The gate that should have failed closed failed open - without a single error in the log. Rule: TimeLocal() for timestamps, dates, day changes, expiry - all that must always move forward; TimeCurrent() for session hours and market data. The script measures the divergence in your environment and reports both symptoms live. Run it with the market closed.

Nuove pubblicazioni nel CodeBase

Nuove pubblicazioni nel CodeBase

  • OHLC Reality Check - at what stop distance does your backtest start lying? Opens a virtual bracketed trade on every M1 bar, walks it forward on the real tick history, and reports for a sweep of stop distances how often 1-minute OHLC modelling would score the trade the wrong way round.
  • SessionReopenEA Gold has a daily maintenance break on the CME. The first hour after it rises more than chance explains, in every calendar year of an 11-year sample - while every other hour of the day measures flat. One trade per session, a volatility-scaled server-side stop, no averaging or grid. Then my cost model turned out to be wrong. A real-tick backtest showed the true round-trip cost at the reopen is about 60 points, not the 19 my research had charged - the M1 bar spread field is a per-bar summary and understates it roughly threefold. Re-running 11 years at the corrected cost: +3.34 bps, t 7.40, 59.3% wins -> +1.60 bps, t 3.42, 50.8% wins The edge survives, at less than half its original strength. That second number is the real one. What it is not: about +3.3% a year with 4.6% drawdown, roughly one year in nine negative. At 0.01 lots that is ~130 a year - a figure that measures the position size, not the strategy.

I codici sorgente più scaricati questa settimana

  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

Nuove pubblicazioni nel CodeBase

  • Trade Excursion Report: MFE and MAE of every closed trade, to CSV Exports one CSV line per closed trade with the numbers a statement does not carry: the best unrealised profit the trade showed (MFE), the worst unrealised loss it survived (MAE), how much of the MFE was actually kept, how many bars it spanned, and how long it was held. Same measurement as the Trade Excursion indicator, written to a file instead of drawn, because the questions worth asking of this data are ones a chart cannot answer: does the capture ratio depend on the hour of entry? Are the trades I close early the ones I hold longest? Do losers on Mondays reach a different MAE than on Fridays? Those are one pivot table away once the CSV exists. Output is semicolon separated with a header row, in MQL5\Files; opens in any spreadsheet. Measurement limit: excursions come from bar highs and lows on the chosen timeframe; the path inside a bar is unknown. The bars column reports the resolution each trade got, and the summary counts single-bar trades separately instead of averaging them in.
  • Trade Excursion: how much of each winner you actually kept (MFE/MAE from your own history) Your statement tells you what you KEPT. It does not tell you what you HAD. This indicator reads your own closed trades from the account history and draws, for each one, the full range it travelled: the best unrealised profit it ever showed (MFE) and the worst unrealised loss it survived (MAE). The gap between what a trade showed and what it paid is where two common problems hide, and neither is visible in a balance curve: winners closing far below their best point (the exit leaves money behind), and losers whose worst excursion barely passed the stop (the stop sits inside the noise). The number to look at is the CAPTURE RATIO: of the profit a winner showed at its best, how much did you take home? 90% says the exits are well placed; 30% says the market kept offering and the exit kept refusing. Limit, stated up front: excursions come from the bars each trade spanned, on the chart timeframe; the path inside a bar is unknown. Predicts nothing; measures trades that already happened.
  • Decision Watchdog: refuse yesterday's decision, fail closed, log once A daily process writes "today's decision" (which strategy runs, or FLAT) to a file the EAs read at the open. One day the writer did not run. The EAs read yesterday's file, compared its date with TimeCurrent() - the server clock, which had stepped back to the previous day overnight - saw a match, and traded all morning on a 24-hour-old decision. No error anywhere. Two rules, both in this class: 1) staleness is judged against TimeLocal(), which always moves forward; TimeCurrent() is the last tick's stamp - it freezes without ticks and can step back on reconnect. 2) When in doubt the answer is FLAT: missing file, bad date, wrong day, empty line - every failure path returns "do nothing", and each is logged ONCE per state change, not on every tick and not never. File format: line 1 = ISO date, line 2 = decision string. The demo writes a fresh, a stale, a malformed, an empty and a missing file, and shows that only the first is allowed to trade.
  • Exposure Cap: one position limit per symbol across all your EAs Four EAs on the same symbol, each one honest on its own: each checks "do I have a position?" with its own magic number, sees none, and enters. On a demo account this reached 22 contracts on a symbol meant to carry 1, and a watchdog had to close 16 positions in one morning. The cap belongs at the door, not after the fact. ExposureCap::Allowed(symbol, lots, cap) sums the volume of every open position on the symbol - all magic numbers, manual trades included - and refuses the order BEFORE it is sent when it would breach the cap. One log line with the three numbers (held, requested, cap) says why. Deliberately simple: gross exposure, no netting of longs against shorts, no per-EA quota. It is a check, not a lock: two EAs deciding on the same tick can both pass; in practice EAs on different charts decide on different ticks. The demo script prints held / cap / room for the current symbol and shows the refusal line. Nothing is traded.
  • Server Time Offset: the three clocks in MQL5 and how timestamps shift on export A datetime in MQL5 is seconds since 1970 - but server time (TimeCurrent, bar times, deal times) is the broker's wall clock stored AS IF it were UTC. Export it to CSV, read it in Python or a spreadsheet with a "seconds since 1970 UTC" parser, and every timestamp shifts by the server's UTC offset. On a UTC-3 broker that is three hours: the daily bar dated 00:00 reads as 21:00 of the previous day, and "yesterday's session" silently becomes "today's, half formed". That happened to a morning report of mine before this script existed. The script prints TimeTradeServer, TimeCurrent, TimeGMT and TimeLocal, the three offsets between them, the tick lag, and this chart's last bar time in server time and in real UTC - then states the rule: export server timestamps as wall-clock text, or export the epoch together with the offset, and never let the consumer apply its own timezone.

Nuove pubblicazioni nel CodeBase

  • Risk-Based Lot Size Calculator A simple MQL5 script that calculates the correct lot size for a trade based on your account risk percentage and stop loss distance in pips, so every trade risks a consistent, controlled amount of your balance.
  • Correlation-Aware Lot Size Calculator Sizes your next trade based on the correlated risk you already have open across other positions — not just the trade in isolation.

Nuove pubblicazioni nel CodeBase

  • Prop Firm Rule Checker Checks your trade history against common prop-firm challenge rules — profit target, max daily loss, max drawdown, consistency rule, and minimum trading days — with a clear PASS/FAIL report.
  • GDS Renko Donchian Demo EA A small educational Expert Advisor showing how a classic Donchian breakout can be applied directly to completed Renko bricks.
  • TrueCostReport Cost is the one input to a trading system that is knowable exactly, and it is almost always estimated wrongly - always in the direction that flatters the strategy. This EA measures what one round trip really costs on YOUR broker: the live spread sampled from ticks, the swap for both sides including the triple-charge day, and the commission read from your own deals. Most spread figures come from the bar's "spread" field, because that is the easy one to reach. It is a per-bar summary, not the quote at any instant. Measured on XAUUSD: 20 points live across 60 readings against a bar-field median of 6. A factor of 3.3. So a filter set to "skip if spread > 15" never fires - it lets through exactly the moments it exists to block. Swap is the half most custom simulators do not charge at all. It is asymmetric, one side pays while the other collects, and one weekday counts three times. Read-only: it never opens, closes or modifies a position.
  • SuperTrend TV EA An Expert Advisor that trades the SuperTrend TV indicator through iCustom on closed bars only, shipped with the audit that proves every trade matches a signal and no signal was missed
  • Any Indicator Alert - alerts, push notifications and multi-timeframe for any custom indicator, no source code needed Attach it to a chart, type the name of any custom indicator, and it alerts you on that indicator's own buffers - popup, sound, push notification to your phone, or email. It reads the indicator through iCustom, so no source is needed: a compiled .ex5 you downloaded is enough. It can also read that indicator from a higher timeframe, and it re-checks closed bars to tell you whether the indicator repaints or merely lags. It opens in EXPLORE mode, which lists every buffer the indicator has and what is in each one, because "which buffer holds the signal" is the question that stops most people using iCustom at all.
  • ErrorHandler - Trade Error Classifier for MQL4 Trade error classifier and automated retry back-off framework for MQL4 Expert Advisors.

Nuove pubblicazioni nel CodeBase

  • Any Indicator Alert - alerts, push notifications and multi-timeframe for any custom indicator, no source code needed Attach it to a chart, type the name of any custom indicator, and it alerts you on that indicator's own buffers - popup, sound, push notification to your phone, or email. It reads the indicator through iCustom, so no source is needed: a compiled .ex5 you downloaded is enough. It can also read that indicator from a higher timeframe, and it re-checks closed bars to tell you whether the indicator repaints or merely lags. It opens in EXPLORE mode, which lists every buffer the indicator has and what is in each one, because "which buffer holds the signal" is the question that stops most people using iCustom at all.
  • SuperTrend TV A SuperTrend that returns the same values as TradingView's ta.supertrend, shipped with the tool that proves it bar for bar against the Pine reference

Nuove pubblicazioni nel CodeBase

  • SuperTrend TV A SuperTrend that returns the same values as TradingView's ta.supertrend, shipped with the tool that proves it bar for bar against the Pine reference
  • Pending Order Inspector MT5 Read-only panel that checks a BUY STOP or SELL STOP against the symbol contract before you send it: price tick grid, volume minimum/step/maximum, stop distances and order permissions. It never sends, changes or suggests anything.
  • Completed Bar Trend Regime Dashboard MT5 An MT5 dashboard that classifies completed-bar trend regimes using EMA structure, ADX/DI, higher-timeframe confirmation, ATR, breakout position and spread context.
  • Gold Session Boxes: Sydney, Tokyo, London, New York and the overlap Draws Sydney, Tokyo, London and New York as high/low boxes with the London-New York overlap outlined and the rollover hour shaded. Session times in GMT, broker offset detected automatically, average range of the last N sessions on every label, optional alert at session open.
  • MT5 Memory Meter Panel A lightweight memory meter dashboard that reveals current MT5 memory usage and key resource statistics directly on the chart.
  • AI Prompt Writer - Simple AI Assistant Customization Customize your MetaTrader 5 AI Assistant with selectable language, personality, menu and behavior using a simple prompt file.
  • GridCapitalCalculator Everyone running a grid asks: is my account big enough? The usual answer - the loss at the last grid level - is the wrong number. What ends the account is the margin level reaching the broker's stop-out, while the chain is still open and still looks recoverable. This EA computes the real figure, then counts how often a move that large has already happened on the symbol's own M1 history. Three mistakes it fixes, all erring in the reassuring direction: a chain of N legs floats at step x N(N-1)/2, not step x N (at 10 legs, 45 steps of loss, not 10); open positions also lock up margin while they float; and stop-out is a percentage, not zero - at 50%, losing half the equity is enough. "You need 86 dollars of room" is an abstraction. "A move that size happened 71 times in 100 days, one every 1.4" is a decision. Set InpEquity to a size you do not have yet to see what the configuration would really need. Strictly read-only: it never opens, closes or modifies a position.
  • Advanced Harmonic Scanner The Advanced Harmonic & RSI Reversal Scanner solves both problems. By combining precise Fibonacci geometry (to find the location of a reversal) with an RSI exhaustion filter (to time the exact moment of the reversal), this script prevents you from catching falling knives
  • Tick Audit - check real tick history and backtest quality month by month Reports, month by month, whether your symbol really has ticks or only bars - so you know which part of your backtest ran on generated ticks before you trust the curve. The Strategy Tester gives you one History Quality figure after the test has finished, and it never says which months were the problem. This script asks first.
Ci sono più di 12,370 codici pubblicati nel Codebase

Nuove pubblicazioni nel CodeBase

Nuove pubblicazioni nel CodeBase

  • Session Range Desk MT5 Session-range breakout EA with ATR filtering, stop-distance sizing, optional break-even/partial close, and a shared chart desk. Hedging accounts; educational source with documented execution and coordination limits.
  • Change in State of Delivery Concept: Identifies market microstructure turning points based on ICT/SMC principles.
  • H1 Container MTF Boxes Visual MT4 indicator that draws the current or selected H1 range and nested M30, M15, M5 and M1 boxes. An EA based on this logic is in development.

Nuove pubblicazioni nel CodeBase

  • Order Block Detector Detects order blocks — the last opposing candle before an impulsive move that breaks market structure — and draws them as zones that extend live until price returns and mitigates them. Structure breaks and mitigation are both evaluated only on closed bars, so nothing repaints.
  • PropFirmGuard Equity guard that enforces a daily loss limit and a total drawdown limit, flattens the account on breach and blocks trading until the next daily reset. Includes the guard as a reusable include file plus a self-test expert that proves the behaviour in the strategy tester.

I codici sorgente più scaricati questo mese

  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.
  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.

Nuove pubblicazioni nel CodeBase

  • IronHawk SMC Trade Zones M5 A closed-bar M5 indicator combining market structure, liquidity sweeps, BOS/CHoCH and momentum to display Entry, SL, TP1 and TP2, with retail-frequency signals and clickable setup history.
  • SwiftDraw Lite Quick Chart Drawing and Hotkey Utility for MT5 SwiftDraw Starter is a lightweight charting utility designed to make technical analysis faster and more efficient. Use customizable hotkeys to instantly create and manage essential chart objects such as trendlines, Fibonacci retracements, Supply & Demand zones, arrows and key price levels — with fewer clicks and less time spent navigating MT5 menus.
  • Fair Value Gap Scanner MT5 An MT5 fair value gap scanner that marks bullish and bearish imbalances and tracks when each zone is filled.
  • Session Liquidity Map MT5 A broker time session map for MT5 that displays Asia, London and New York ranges with their confirmed highs and lows.
  • Market Structure Swing Map MT5 A clear MT5 market structure indicator that labels confirmed HH, HL, LH and LL swings directly on the chart.
  • Multi Timeframe Trend Matrix MT5 A compact MT5 trend dashboard that compares EMA alignment and ADX strength across six timeframes.
  • Overnight Cost Meter The script prices one night of holding: for every open position and every Market Watch symbol it prints the swap per night in your account currency, the annualized cost in percent for both directions, the broker's rate-independent markup (|swap long| + |swap short| never depends on interest rates - it is pure broker margin), and the triple-swap day. Honest "n/a" where a swap mode cannot be converted reliably.
  • GDS Renko SuperTrend Demo EA A small educational Expert Advisor for MetaTrader 5 showing one simple way to combine classic fixed-size Renko bricks with a SuperTrend-style trend state.
  • Trading Tool Assistant v2 Manage orders, existing orders, limit orders, trailing, break event & Lot size calculator in one tool

Nuove pubblicazioni nel CodeBase

  • GDS Renko Zones Demo EA A small educational Expert Advisor for MetaTrader 5 showing one simple way to automate support and resistance reactions with internally built classic Renko bricks.
  • GDS Renko Fast Demo EA GDS Renko Fast Demo is a small educational Expert Advisor for MetaTrader 5. It demonstrates how two internal fixed-size Renko streams can be used in a simple mechanical trading example without offline charts or custom symbols.
  • GDS Renko Bricks A simple real-time classic Renko chart for MetaTrader 5. Set the brick size and the indicator builds equal-width Renko bricks directly from tick data. No offline charts, custom symbols or external libraries are required.
  • GDS Renko Reversal Context A simple MT5 indicator that shows the current fixed-size Renko run and the exact price level required to confirm a classic two-brick reversal.
  • IronHawk Fibonacci Structure Map Free MT5 indicator that automatically maps Fibonacci levels across multiple timeframes and highlights confluence zones, market structure, premium/discount areas and key price reactions.
  • Market Session Separator Indicator Marks the start/end of up to three trading sessions (Asian, London, New York, or any custom windows) with vertical separators and/or shaded background boxes, repeated daily across a rolling recent window. Purely visual — no calculations, no signals, just clean session boundaries.
Ci sono più di 12,350 codici pubblicati nel Codebase

I codici sorgente più scaricati questa settimana

  • KSQ CommandCenter Remote Google Sheets Trade Manager KSQ Command Centre is a production-ready, two-way bridge between MetaTrader 5 and Google Sheets. It was originally designed to help fund managers and quantitative traders remotely monitor and manage large, funded accounts (e.g., Darwinex Zero, Prop Firms, PAM, MAM) directly from a mobile browser, without needing to log in to a VPS. This Expert Advisor not only exports data—it actively listens for commands typed into your Google Sheet and executes them in MT5 in near real-time.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • ASQ Command Desk ASQ CommandDesk is a professional order management panel for manual traders on MetaTrader 5. You make the trading decisions — CommandDesk handles execution, risk control, and exit management automatically.

Nuove pubblicazioni nel CodeBase

  • Elliott Wave Auto Counter / Automatic Wave Labeling Automatically detects swing pivots and labels a rule-validated Elliott Wave count (1-2-3-4-5 impulse and A-B-C correction) directly on the chart, with a Fibonacci info panel. For guidance only, always confirm manually.
  • Broker Info Panel MT5 A lightweight MT5 chart indicator that displays live broker and symbol trading specifications including spread, tick size, tick value, volume limits, stop level and freeze level.
  • 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.
  • 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.
  • Broker Execution Diagnostics A read only MT5 script that reports broker symbol specifications, volume limits, price settings, execution modes, trading permissions, margin requirements and estimated profit values.
  • 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 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.
  • Market Replay Tool Market Replay Tool is an MT5 utility that seamlessly merges a Market Replay simulator with interactive TradingView-style Long & Short drawing tools. It allows traders to backtest strategies on historical data with adjustable playback speeds, while effortlessly mapping out risk-to-reward setups using dynamic, draggable entry, stop-loss, and take-profit visual boxes directly on the chart.

Nuove pubblicazioni nel CodeBase

  • SpreadAudit – a broker’s actual spread based on M1 historical data The script retrieves your broker’s actual spread from the ‘spread’ field of the M1 bars and displays the median, the 90th and 99th percentiles in price units, in pips and as a percentage of ATR, and also exports the average and maximum spreads for each hour of the day to a CSV file. This is needed to test strategies against the actual costs on your account, rather than against a ‘typical’ spread estimated from memory.
  • RepaintTest - measure whether a drawing indicator repaints Measures whether a drawing indicator repaints, instead of asserting that it does not. The invariant: once a bar has closed and been processed, no object drawn on it may ever change - not move, not recolour, not change its text, and not disappear. The script seeds a custom symbol with real history, attaches your indicator through a template, records every object, appends bars, forces a full recalculation, and compares object by object. Changes and disappearances are counted separately, because only a change means the claim is false. A run that compared nothing is reported as INCONCLUSIVE, never as a pass. Output is a CSV you can publish next to the number.

Nuove pubblicazioni nel CodeBase

  • Support Resistance zig zag based Support Resistance zig zag based is a Price Action indicator designed to automatically and dynamically map Support, Resistance, and transition areas (Flip Zones) on the chart. It focuses purely on clear price structure mapping and highlighting key bounce areas (SBR & RBS). It also includes an interactive dashboard to monitor real-time market bias.
  • Market Structure Entry Model Market Structure Shift (CHoCH) Bullish Setup (CHoCH ): Price breaks above the previous confirmed Lower High (LH), signaling a trend reversal from bearish to bullish. Bearish Setup (CHoCH ): Price breaks below the previous confirmed Higher Low (HL), signaling a trend reversal from bullish to bearish.
  • Auto ZigZag Fibonacci Golden Zone Indicator For MT5 The Auto ZigZag Fibonacci Golden Zone indicator automatically detects the latest swing high and low, draws key Fibonacci retracement levels (50%, 61.8%, 78.6%), and highlights the Golden Zone between 61.8% and 78.6% as an optimal pullback entry area. The indicator includes a real-time dashboard, optional buy/sell signals, and full color customization. Works on all symbols and timeframes. Always test on a demo account before live trading.

Nuove pubblicazioni nel CodeBase

  • Volume Profile Levels Indicator Builds a horizontal volume histogram over a recent lookback window and marks the Point of Control and Value Area using the standard TPO/volume value-area expansion algorithm — not just POC ± a fixed offset. Refreshed once per new bar, drawn as a sidebar next to price.
  • Sniper Gold Hybrid Recovery EA XAUUSD M15 basket recovery EA with adaptive ATR spacing, LL/LH structure validation, dynamic RSI gating, crash detection, news filter, and smart trade trimming.
  • SessionRangeBreakout Asian range indicator with breakout levels for the London session. Entry arrows, alerts, push notifications. Optimised for XAUUSD M15.

Nuove pubblicazioni nel CodeBase

  • Liquidity Sweep Detector Indicator Marks fractal swing highs/lows as liquidity levels, then flags the exact bar where price wicks beyond one and closes back inside — a liquidity sweep / stop hunt — with an arrow and an optional price label. Sweep checks run only on closed bars, so signals never repaint.
  • MT5 Vertical Scroll This allows mt5 chart to scroll like tradingview chart with auto button to reset
  • Neural Loss-Pattern Auditor Neural Loss-Pattern Auditor trains a small feed-forward neural network, written from scratch in native MQL5, on closed-deal history to test whether behavioral and market-context features predict which trades are more likely to lose. It reports an accuracy uplift over a naive baseline, a probability-calibration table, a permutation feature-importance ranking, and a configurable A-F composite grade with recommendations. On first run it uses a built-in synthetic demo, so the output is visible immediately with no setup; switch one input to InpUseDemoData=false to analyze real account history instead. Pure MQL5: no external libraries, no Python, and no AI service of any kind.

I codici sorgente più scaricati questo mese

  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

Nuove pubblicazioni nel CodeBase

  • Fair Value Gap Detector Indicator Detects 3-candle Fair Value Gaps (price imbalances) and draws them as boxes that extend live until price trades back through the gap. Detection runs only on fully closed bars, so gaps never flicker in and out as the current candle forms.
  • Interactive On-Chart Risk Management and Execution Panel An interactive GUI panel for MetaTrader 5 designed for manual traders and quant developers. It automates dynamic position sizing based on exact account equity risk percentage, features one-click order execution (Buy/Sell), instant BreakEven, Close All functionality, and continuous real-time Trailing Stop management.
  • Chaos Theory Lyapunov Exponent EA Quantitative MT5 Expert Advisor that filters market noise using Chaos Theory and the Largest Lyapunov Exponent (LLE). Trades momentum EMA crossovers only during deterministic market regimes, with built-in ATR risk management.
  • Drawdown Meter Most reports give you one drawdown number - the worst one. This read-only script measures all three that matter on your own closed history: depth, duration and frequency. It prints the maximum drawdown with its peak, trough and recovery dates, the longest underwater period in days, whether you are at a new peak or how far below it and for how long, and a table of the deepest episodes with the days each took to recover. An episode is not a losing streak: it closes only when a NEW high is made, so a dip that never reclaims the old peak stays the same episode - which is what makes the duration column meaningful. Entry commissions are included and a partial close counts as one round turn, so the curve carries full cost. Optional percentage figures and CSV export. Deposits and withdrawals are excluded: this is the drawdown of your trading, not of your balance line.
  • Timer Candle simple coundown timer
  • Basket Protective Close Closes a basket of positions when its floating loss reaches a limit set as fixed money, a percent of balance, or a percent of equity. Scope filters by symbol or magic numbers, optional profit target, safe non blocking retries.
  • Swing Detector by Pullback (Smart Money Concepts) SMC Pullback marks swing highs and lows using the pullback definition instead of the usual 3-candle pattern. A high is confirmed only when price trades back through the low of the candle that made it — so every marked point is an actual rejection, and highs and lows always alternate. It evaluates closed bars only and never moves a marker once drawn, so it does not repaint. Two buffers expose the confirmed swing prices to an EA via iCustom.
Ci sono più di 12,320 codici pubblicati nel Codebase

I codici sorgente più scaricati questa settimana

  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.

Nuove pubblicazioni nel CodeBase

  • Hurst Exponent Regime Switch Indicator Estimates the rolling Hurst exponent of price via rescaled-range (R/S) analysis and plots it as a color-coded oscillator that flags whether the market is currently trending, mean-reverting, or moving like a random walk.
  • Multi Timeframe Trend Dashboard Indicator A compact on-chart panel showing the current symbol's trend across several timeframes at once, each evaluated independently with its own Fast/Slow moving-average cross. No switching charts to check "what's H4 doing" — it's all in one place, color-coded.
  • Fisher Transform Indicator A Fisher Transform oscillator built from statistical first principles — normalizing price into a bounded range, then applying a logarithmic transform to produce sharp, well-defined reversal signals instead of the gradual turns typical of conventional oscillators. Internal recursive state is handled through proper calculation buffers for reliable, correct behavior across backtests. From the article series "Making Custom Indicators for Beginners."
  • SuperTrend Indicator A custom SuperTrend indicator built from first principles, combining an ATR-based volatility band with a ratchet mechanism to produce a clean, non-repainting trend line. Internal recursive state is managed through properly registered calculation buffers, avoiding the state-loss bugs common in manually-managed array implementations. From the article series "Making Custom Indicators for Beginners."
  • Wolfe Wave Dashboard Professional MQL5 indicator (separate window) that automatically scans multiple symbols and timeframes, detects the most recent valid Wolfe Wave patterns (bullish/bearish), displays them in an interactive dashboard, and allows one-click chart opening with full pattern drawing.

Nuove pubblicazioni nel CodeBase

  • HybridMicrostructure EA The Hybrid Microstructure EA is an advanced, high-frequency scalping Expert Advisor designed specifically for XAUUSD (Gold) on the M1 timeframe. Unlike traditional indicators that rely on lagging OHLC mathematics, this EA operates on Tick-Level Microstructure Dynamics—tracking tick velocity, volume-weighted average price (VWAP) deviations, and liquidity sweep rejections (stop hunts) executed by institutions.
  • AAPL cfd - ORB strategy Using ORB strategy on AAPL cfd
  • EdgeMeter - does your entry signal beat the spread? Measures whether an entry signal actually beats transaction costs, before you spend weeks building an EA around it. Reports net result after cost, an honest t-statistic on non-overlapping samples, and a random control. Places no orders.
  • Dynamic Session Range Sweep Detector with Liquidity Zone Marking Tracks the Asian, London, and New York session ranges, locks each one at session close, and flags true liquidity sweeps — a wick that pierces a locked high or low and closes back inside it — with an arrow signal and a shaded reaction zone. Non-repainting, works on any symbol and timeframe.

Nuove pubblicazioni nel CodeBase

  • Liquidity Void Decay Oscillator. A subwindow oscillator that flags thin-participation displacement bars as "liquidity voids" and scores 0–100 how quickly price re-fills each one, distinguishing fast-absorbed noise from levels still acting as real support or resistance.
  • Server Clock and Daily Reset Hour A free, read-only MetaTrader 5 panel that converts your prop firm's daily reset rule (written in whatever time zone the firm uses) into your broker's actual server time, shows a live countdown to the next reset, and warns you before a daylight-saving shift moves the boundary by an hour. Sends no orders, reads no account data, display only.
  • Currency Strength Meter Ranks the 8 major currencies by relative strength on a live on-chart panel, calculated from the average percentage change of every available cross pair — not just USD pairs — so weak/strong currencies are visible at a glance, independent of whichever chart you have open.
  • Candle Body-to-Wick Pressure Oscillator Converts the body-to-wick makeup of every candle into a bounded conviction reading, then smooths it into an oscillator that flags buyer/seller pressure and automatically marks divergence against price.
  • Multi-Symbol Correlation Divergence Meter Tracks the rolling correlation between the current chart symbol and a chosen reference symbol, and flags the moment they decouple while their price spread is statistically stretched.
  • Adaptive Volume Profile Node Tracker Builds a rolling, volatility-adaptive volume profile over a configurable lookback window and plots the Point of Control (POC), Value Area High/Low, and statistically significant High/Low Volume Nodes (HVN/LVN) directly on the chart.
  • Volume-Weighted Delta Divergence Oscillator A normalized order-flow oscillator that estimates buy/sell volume pressure per bar, accumulates it into a rolling delta, and automatically flags regular bullish and bearish divergence against price swings.

I codici sorgente più scaricati questo mese

  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

Nuove pubblicazioni nel CodeBase

Ci sono più di 12,300 codici pubblicati nel Codebase

I codici sorgente più scaricati questa settimana

  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.
  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.

Nuove pubblicazioni nel CodeBase

  • Broker Spec Inspector Prints the invisible contract limits that silently reject orders: stops level, freeze level, min/step/max lot, tick size and value, spread type, execution mode, swaps, and the margin needed for the minimum lot against your free margin.
  • Custom Simple Moving Average A two-stage adaptive moving average (base average + secondary smoothing) that colors itself by slope and marks price/average crossovers with arrows.
  • Reverse RSI Bands Reverse RSI Bands is a leading indicator that mathematically reverse-engineers the RSI formula. It plots precise target price bands directly on the main chart, showing exactly at what price the RSI will hit your specified overbought or oversold levels in real-time.
  • Session Opening Range Breakout EA An Expert Advisor that measures the high/low of a defined session opening window, then trades the confirmed breakout of that range with risk-based position sizing and a one-trade-per-session cap.

Nuove pubblicazioni nel CodeBase

Nuove pubblicazioni nel CodeBase

  • Broker Session Schedule Inspector MT5 Read-only broker-native trading-session inspector with current status, next transition, multi-symbol scope, and CSV export.
  • Round Trip Cost Reconciler MT5 Read-only MT5 history utility that groups partial fills by position identifier and separates gross result from commission, swap, fee, and net result.
  • Stop Geometry Visualizer MT5 Read-only MT5 indicator that visualizes broker Stops Level and Freeze Level references on the chart.
  • Trade Transaction Trace Logger MT5 Read-only OnTradeTransaction logger that records MT5 order, deal and position lifecycle events to local CSV and the Experts Journal.
  • Multi-Timeframe FVG Depth Meter Scans multiple timeframes for unfilled Fair Value Gaps, plots them as zones directly on your chart, and tracks local bull/bear imbalance depth with a histogram and live dashboard.
  • Session Sweep Reversal Detector arks the prior session's high/low and flags liquidity sweeps that reverse back inside the range within a set number of bars." — category Other, or Trend if you'd rather group it that way.
  • Broker Execution Diagnostics MT5 Read-only MT5 script reporting broker volume, price, stops, freeze, spread and execution constraints.

Nuove pubblicazioni nel CodeBase

  • Order Block Mitigation Tracker An MT5 indicator that detects ATR-filtered institutional order blocks and tracks, in real time, whether each zone has been mitigated by returning price.
  • Rolling Return Autocorrelation Regime Oscillator Tracks lag-N return autocorrelation over a rolling window as a live regime oscillator, distinguishing trending (positive autocorrelation) from mean-reverting (negative autocorrelation) market conditions. Plots a smoothed reading against dynamically-calculated statistical significance bands (±Z/√N), so you can tell a genuine regime shift from window-size noise — comparable across any symbol or timeframe since it works on returns, not raw price.
  • MT5 EA Acceptance Harness Deterministic synthetic acceptance checks for MT5 EA entry-state logic, with no market, account or order access.
  • Smart S/R Zones MT4 Swing-Pivot Support and Resistance Swing-pivot support and resistance zones clustered by touch count with adaptive zone thickness and higher-timeframe context.

I codici sorgente più scaricati questo mese

  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.

Nuove pubblicazioni nel CodeBase

  • FX Dashboard This is a FX Dashboard style terminal panel on the MT5 chart, plus lines drawn on the chart (EMA, Bollinger, Donchian).
  • Day Trader Dashboard The Day Trader Dashboard is a Bloomberg-style visual panel for MetaTrader 5 that tracks an intraday price range and flags when price is inside it (fade zone) or has broken out of it. It doesn't place trades — it's a decision-support overlay that computes the range High/Low from recent bars, draws those levels directly on the chart, and shows a live status readout (scanning / within range / breakout) in a themed, auto-scaling panel. It supports multiple independent instances on the same chart, several color themes, and cleans up 100% of its objects when removed.
  • News Trading Dashboard News Trading Dashboard is an informational on-chart panel (it does not trade automatically) that monitors market volatility in real time to detect "news spike" moments — the sudden price moves that occur when economic data is released (NFP, CPI, interest rate decisions, etc.).
  • Channel Breakout Dashboard Channel Breakout Dashboard is an informational panel (not an automated trading robot) that runs on the MetaTrader 5 chart and centralizes, in one place, several market conditions that would otherwise require 4-5 separate indicators open at the same time.
  • MT5 Cash Risk Probe - Read-Only Sizing Read-only MT5 script that estimates stop-distance cash loss in account currency, reserves explicit cash costs and floors volume to the broker grid. It never sends or modifies an order.
Ci sono più di 12,280 codici pubblicati nel Codebase

Nuove pubblicazioni nel CodeBase

  • XAUUSD MTF Liquidity OB Reversal Breakout XAUUSD MTF Liquidity & Order Block Reversal Strategy A professional Smart Money Concepts (SMC) based MT5 indicator designed primarily for **XAUUSD (Gold)**. The strategy combines multi-timeframe liquidity, order blocks, liquidity sweeps, breakout/reversal confirmation, and M1 swing-based risk management to identify high-probability BUY and SELL opportunities. Strategy Features Multi-Timeframe Liquidity Detection The indicator identifies important liquidity and order-block levels from: * Best Day-wise Liquidity * H4 Liquidity & Order Blocks * M30 Liquidity & Order Blocks * M15 Liquidity & Order Blocks * M5 Liquidity & Order Blocks The strongest day-wise liquidity replaces simple Previous Day High/Low logic and searches historical daily candles for significant liquidity concentrations.
  • Swing Trading Dashboard Swing Trading Dashboard is a visual indicator for MetaTrader 5 (it does not generate automatic trade signals — it only displays information on the chart). Essentially it's a "dashboard" panel that calculates the recent swing trading range and shows where the current price sits relative to it — mid-range, near a boundary, or already broken out.
  • Scalping Dashboard This indicator is a professional Scalping Dashboard utility designed specifically for MetaTrader 5 (MT5). It displays real-time vital market status information and scalping strategy conditions (based on Exponential Moving Arrows/EMAs), automatically computing spreads, momentum, and moving averages to output instant BUY/SELL SETUP visual signals.
  • Previous Week High Low Indicator Plots the previous trading week's High and Low as horizontal reference levels across the current week, with optional multi-week history for context. No repainting, no discretion — the levels are read directly from the completed Weekly bar.
  • Daily Zone Recovery EA mt5 for GOLD Daily Zone Recovery is a multi-strategy trading expert advisor for MetaTrader 5 that operates based on the previous trading day’s high and low levels. The expert advisor monitors price behavior near daily extremes, uses three independent entry strategies, and can manage positions using a fixed-volume grid.
  • Magic Number Inventory, Trade Logging and Classifying by Magic Number A read-only audit script for accounts running several EAs (or manual trades alongside them). It groups the closed-trade history by magic number and prints one line per magic: closed round turns, net P/L including swap and commission from BOTH sides of the trade, win rate, profit factor, average win/loss, currently open positions and pendings, activity dates and symbols - sorted by net result, with a CSV export for spreadsheets.
  • Structure Range Sell Arrow SL Box: Extends UPWARDS from the Sell Arrow. Buy Arrow SL Box: Extends DOWNWARDS from the Buy Arrow.
  • Smart Session Breakout MT4 Asian Range with ATR Body-Quality Filter Dashboard and Non-Repainting Alerts Asian session range breakout indicator for MetaTrader 4. Signals are confirmed on bar close and never repaint. Unlike simple session breakout tools, it also measures the strength of the breakout candle: the candle body must reach a configurable multiple of ATR, so marginal breaks are filtered out. Includes range size filters, an on-chart dashboard with session phase, spread, ATR in pips and a bar close countdown, plus pop-up, sound, email and push alerts.

I codici sorgente più scaricati questa settimana

  • LotSize Calculation This is a simple script file to compute lot size either using risk percentage approach or the actual amount to risk.
  • Functions to simplify work with orders All we want is to think about algorithms and methods, not about syntax and values how to place orders. Here you have simple functions to manage positions in MQL5.
  • iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.

Nuove pubblicazioni nel CodeBase

  • Scale Out Value Analyzer A native MQL5 tool that reconstructs closed positions from deal-level history, flags the ones closed through more than one exit, and reprices each one at its own first, last, and best exit rates to measure whether scaling out actually added value. Reports a Value-Add Ratio, a Scale Out Win Rate, an Efficiency figure, and a single-trade dependence check, combined into an A+ to F score with recommendations. Runs out of the box against a built-in demonstration data set; a companion script exports the real input file from your own account history. Pure MQL5, no external libraries.
  • Smart Trade Manager for MT5 Automatic structure-based SL, breakeven, ATR trailing, and dollar-based profit protection for manual MT5 trades and pending orders on Gold and selected FX pairs.
  • Swing High Low - Non-Repainting Pivots with Push/Email Alerts Marks non-repainting swing highs and lows using configurable LeftBars / RightBars pivots. Sends push and email alerts on each new confirmed swing.
  • Risk Based Position Size Calculator Draggable Entry, Stop-Loss and Take-Profit lines with a live on-chart panel that calculates the exact lot size for a chosen account risk. No manual math, no guessing — drag the lines, read the size.
  • Trend Execution Planner - Regime and Risk Panel Free open-source MT5 read-only chart utility that scores current trend conditions and builds broker-normalized long and short risk plans. It uses moving-average direction and slope, ADX, Efficiency Ratio, ATR, spread, account currency and symbol specifications. It never opens, modifies or closes trades.

Nuove pubblicazioni nel CodeBase

  • Risk Position Size Calculator Set your risk %, drag the stop, and get the exact lot size priced in your account currency — margin and target included. Calculates only, never trades.
  • MT5 Order Preflight - Read-Only Validation Checks a hypothetical MT5 market or pending order against current symbol, volume, tick-size, stop-distance and filling rules without sending a trade.
  • MT5 Broker Environment Report Prints a privacy-conscious snapshot of the current MT5 broker, account, symbol and terminal environment to the Experts log for diagnostics and support.
  • Trend Regime Inspector for MetaTrader 5 Open-source indicator combining moving-average direction, ADX and Kaufman's Efficiency Ratio into a transparent trend-condition score. Informational only; no trade execution.
  • Stochastic Reversal Signal A non-repainting Stochastic-based indicator that generates buy and sell signals based on extreme zone crossovers, featuring an alternating signal filter and bar-close alerts.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182