MQL5 MetaTrader용 Expert Advisor의 소스 코드 5 - 2

icon

Expert Advisor는 가격 차트를 분석하고 기본 규칙에 따라 자동으로 거래합니다. 여기서 다양한 문제를 해결하는 MQL5 소스 코드를 찾을 수 있습니다. 이동 평균 교차점과 복잡한 시그널 생성 알고리즘 및 거래 오류에 대한 보호와 관련된 복잡한 교차점을 기준으로 간단한 Expert Advisor 모두를 선택할 수 있습니다.

MetaTrader 5에서 제공되는 Expert Advisor를 다운로드하여 시작할 수 있습니다. 거래용 로봇을 사용하기 전에 Strategy Tester에서 테스트하고 최적화하는 것이 좋습니다. 또한 Expert Advisors 라이브러리는 MetaTrader 5 플랫폼과 MetaEditor 개발 환경에서 직접 사용할 수 있습니다.

코드를 제출하세요

Account guardian for prop firm rules: closes all trades and blocks trading before the daily loss or max loss limit is hit, with an optional profit target lock.

MetaTrader 5용 수동 거래 관리자: 완성된 렌코 브릭, 사용자 정의 가능한 손익분기점 및 추적 손절매 기능, 그리고 차트 내 렌코 대시보드를 제공합니다. 자동 진입 기능은 없습니다.

Records the spread of one or many symbols to CSV every minute (min, time-weighted average, max), with ready tables per hour of day and per trading session. Restart-safe, never trades.

‘Monday Dip EA’는 일일 시세 기록이 완벽하게 갖춰진 주요 주가 지수 CFD(US500, UK100 등)를 주 대상으로 설계된, 시간 기반 정량적 롱 전용 거래 전략입니다. 이 전략은 추세 추종 지표가 아닌, 순수하게 시간 제한이 있는 ‘하락 시 매수(buy-on-dip)’ 시스템으로 작동합니다.

Protects your account from a prop-firm rule breach: daily loss limit, max drawdown (static or trailing) and profit-target lock. On a breach it closes all positions and pending orders, then blocks new trades until the lock resets.

Tests any MT5 indicator for repainting: records what every buffer showed when each bar closed, reads the same bars again later and reports values that changed, signals that appeared late and signals that vanished, with dates.

무료 브레이크아웃 EA: 아시아 레인지, 런던 브레이크아웃, 하루 한 번 거래, 항상 손절매 설정, 로트는 위험 비율에 따라 결정. 그리드 전략 및 마틴게일 전략 없음. / 무료 EA: 런던 세션에서 아시아 레인지 돌파, 하루 한 번 거래, 항상 손절 설정, 로트는 리스크 비율에 따라 결정. 그리드 및 마틴게일 전략 없음.

이전 스윙 고점과 저점의 돌파를 기반으로 하는 메타트레이더 5(MT5) 전문가 자문가(EA)입니다. 이 EA는 확인된 프랙탈 구조 주변에 보류 주문을 설정하고, 미리 정의된 손절매, 익절 및 선택적 포지션 관리 규칙을 통해 각 거래를 관리합니다.

일일 손실 한도, 최대 손실 또는 수익 목표에 도달하면 모든 포지션을 청산하고 새로운 거래가 이루어지지 않도록 차단합니다. 프로프 펌 챌린지에 맞춰 설계되었습니다. 수동 거래는 물론 다른 모든 EA와도 호환됩니다.

Lot size calculator panel for MT5 on Gold (XAUUSD), forex and indices: risk in percent of balance, percent of equity or money, stop in points, exact loss per lot, one click Buy or Sell with stop and target. Open source code.

Watches a basket of positions (whole account, one symbol and/or one magic number) and closes all of them together when the floating P/L hits your profit target, loss limit, trailing profit lock or a set time. Does not trade.

현재 종목에서 계좌가 마진 콜 및 스톱 아웃에 도달하는 가격을 표시하며, 추가 거래량에 대한 시나리오 분석 모드, 추가할 수 있는 최대 거래량, 그리고 그 과정에서 발동되는 보류 주문 정보를 제공합니다.

Smart Money Concepts (SMC) Expert Advisor and on-chart analysis utility for MetaTrader 5 that detects overlapping M15 Order Blocks and Fair Value Gaps with real-time confluence scoring and daily drawdown protection.

G7 Pro Trade Manager & Prop Firm Equity Protector is a professional on-chart trading assistant for manual traders and prop firm accounts (FTMO, FundedNext, The5ers). It features a clean obsidian HUD dashboard directly on the MT5 chart with 1-click execution, automated breakeven shield, dynamic trailing stop, and a daily loss circuit breaker to protect your funded account. Compatible with all pairs and accounts.

바스켓을 구성하기 전에, 귀하의 브로커가 정한 최소 랏 수에 맞는 목표 비중을 확인하십시오. 포트폴리오 배분 플래너는 명시된 가상의 명목 예산과 비율을 차트 표로 변환해 줍니다: 최소 랏 명목 금액, 반올림된 랏 수, 계산된 배분 비율, 목표 미달액 및 행 상태 등이 표시됩니다. 필요에 따라 재계산하고, 행 툴팁을 확인하며, 긴 목록은 페이지 단위로 볼 수 있고, 선택적으로 표시된 스냅샷을 CSV로 내보낼 수도 있습니다. 실제 거래가 전송되지 않으며, 계좌 잔액, 순자산 또는 포지션 정보도 조회되지 않습니다.

심볼 자체의 H1 차트 기록에서 서버 시간을 읽어옵니다. 외환 및 CME 주간 종가는 뉴욕 시간 17:00에 마감되므로, 각 주간 종가의 서버 시간을 통해 해당 주의 서버 UTC 오프셋을 확인할 수 있습니다. 60주 이상의 기간 동안 비정상적인 종가를 표시하고, 시계 변경이 발생한 날짜를 기록하며, 미국 및 유럽의 일광 절약 시간제 일정을 기준으로 검증하고, TimeTradeServer에서 TimeGMT를 뺀 값을 교차 확인하며, 향후 몇 주 동안의 런던, 뉴욕, 도쿄, 시드니 시장 개장 시각의 서버 시간을 나열합니다. 모든 종가를 CSV 파일로 기록합니다. 읽기 전용: 거래 기능, DLL, 네트워크 기능 없음.

Moving average crossover EA for Gold (XAUUSD), forex and any symbol: one position per cross of two moving averages on the closed bar, exit on the opposite cross, stop loss, take profit and breakeven in points. Open source code.

MetaTrader 5용, 프로프 펌 리스크 가드 기능이 내장되어 있고 숨겨진 지지선/저항선 탐색기가 탑재된 수동 거래 패널입니다.

브로커의 세션 테이블을 M1 시계열 데이터와 대조하여 확인합니다. 주중 매 분마다, 해당 종목이 지난 N일 중 실제로 바(bar)가 존재하는 날의 수를 집계하고, 그 결과를 SymbolInfoSessionQuote 및 SymbolInfoSessionTrade 옆에 기록합니다. 여기에는 일반적으로 비어 있는(롤오버 공백) 선언된 분, 테이블에서 ‘종가’로 처리된 분 단위의 바, 거래 및 호가 테이블 간의 불일치, 조기 휴장 같은 일회성 중단 사항 등을 집계합니다. 평일별 실제 세션 수를 출력하고, 모든 결과를 CSV 파일로 저장하며 계산 과정을 출력합니다. 읽기 전용: 거래 기능, DLL, 네트워크 사용 없음.

Lightweight Expert Advisor combining Scalp & Swing logic with an "Always-ON" position-securing layer. Includes a fully interactive on-chart panel with manual trade buttons, risk- based lot sizing, partial close, break-even, trailing stop, swing SL/TP switching, and a one-click "Secure All" tool.

Tick Scalper Helper is a manual trading utility for traders who work on very short time frames and want to see every price change.

'실제 틱을 기반으로 한 모든 틱' 백테스트가 재현하는 틱 내역을 감사합니다. 지난 N일 동안 종목당 5가지 항목을 점검합니다: 불가능한 호가 및 교차 호가, 역방향으로 흐르거나 반복되는 타임스탬프, 해당 종목의 중앙값 스프레드의 배수로 측정된 1틱 가격 반전, 브로커가 선언한 호가 세션 내의 데이터 공백, 그리고 틱 데이터와 M1 바 데이터가 일치하지 않는 분 단위 구간. 모든 검사 결과는 밀리초 단위 타임스탬프와 함께 CSV 파일로 저장되며, 도구는 보고서를 재검토할 수 있도록 자체 계산 과정을 출력합니다. 읽기 전용: 거래 기능, DLL, 네트워크 연결 없음.

M15 차트용 무료 완전 오픈 소스 JPN225(닛케이 225) EA입니다. 가격이 상승세를 보이고, 모멘텀이 과도하지 않으며, 거래량이 적은 시점에 매수합니다. 2022년부터 2026년까지의 백테스트 결과: 수익률 1.68, 연평균 +18.5%, 15회의 스트레스 테스트 통과. 17:00 기준 손익은 제로입니다.

Free educational EA — a single-position trend-following EMA crossover system for XAUUSD M30, released as open source for beginners to study trade ownership guards, preflight order validation, risk-based lot sizing, and server-time session filtering. This code demonstrates how a strategy - identifies and manages only its own positions and orders through MagicNumber and comment tags, - wraps CTrade with an OrderCheck preflight that blocks invalid or margin-breaking requests, - sizes each trade from a fixed stop-loss and risk percentage, - and restricts entries to a configurable broker session window with a daily close-all — all evaluated on completed bars only, so signals never repaint.

계정 보호 기능이 내장된 ‘개장 범위 돌파(Opening Range Breakout)’ EA 템플릿입니다. 세션 개장 후 첫 N분 동안의 고점과 저점을 표시하고, 해당 범위 상단과 하단에 OCO 스톱 주문을 설정합니다. 위험 기반 포지션 크기 조정, 일일 손실 한도, 최대 드로다운 한도, ATR 범위 필터, 거래 방향 필터, 그리고 익일 이월 포지션에 대한 보호 기능이 포함되어 있습니다. 모든 세션 시간은 사용자 정의가 가능한 입력값입니다. 본 템플릿은 교육용이며, 수익을 보장하는 시스템이 아닙니다. 실거래에 사용하기 전에 반드시 데모 계좌에서 테스트하십시오.

See the real leverage of every Market Watch symbol, including floating margin tiers, with swap, commission and live spread in one panel.

Watches the whole account and closes everything before the daily loss or max drawdown limit is breached, then keeps the account flat until the block ends. Does not trade.

Expert Advisor template that shows safe execution practices: closed-bar signals once per bar, no duplicate entries after an MT5 or VPS restart, spread and stop-level checks, normalised volume and a log line for every decision.

Trailing stop and breakeven manager for Gold (XAUUSD), forex and any symbol: moves the stop to breakeven with an offset, then trails it in points or ATR multiples on manual trades and on any EA, filtered by magic and symbol. Open source code.

WaveMaster 오실로스코프용 신호 기반 자동화. WaveMaster 오실로스코프용 자동 실행 엔진입니다. 신호 버퍼를 실시간으로 읽어들입니다. 포괄적인 리스크 관리, 트레일링, 손익분기점 기능이 내장되어 있습니다.

터미널에 실제로 저장된 바(bar) 내역을 감사합니다. 이 내역은 모든 백테스트와 지표가 참조하는 데이터입니다. 심볼당 6가지 항목을 점검합니다: 비정상적인 OHLC 값, 바 시간 오류, 브로커의 세션 테이블에 호가 제공 중으로 표시된 시간대에 바가 누락된 경우, 빈 바 및 평평한 바, 브로커의 M1 시리즈와 일치하지 않는 바, 스프레드 타당성 등입니다. 가장 중요한 지표는 세션 커버리지이며, 주로 감사 대상에 주말이 얼마나 포함되었는지를 측정하는 그리드 비율이 아닙니다. 모든 검사 결과는 바 시간과 함께 CSV 파일로 저장되며, 감사된 바 데이터와 세션 테이블을 추출할 수 있으므로 이 도구 이외의 다른 방법으로 전체 보고서를 재검토할 수 있습니다.

Utility Expert Advisor that watches the account equity against two limits: a maximum daily loss and a maximum total drawdown. Each limit can be set as a percentage or as a money amount, and the daily loss can be measured from the balance or from the equity at the start of the day, as many prop firms do. When a limit is touched the EA closes all positions, deletes all pending orders and keeps the account locked until the next trading day: anything opened in the meantime, by another EA or by hand, is closed again. Optional early warning at a percentage of the limit (Alert and push), a small on-chart panel, a magic number / symbol filter, a configurable day-reset time and retries when a close fails. The state is stored in terminal global variables, so a restart does not unlock the account. Works on hedging and netting accounts. No DLLs, no web requests. It never opens trades (only the optional Strategy Tester demo mode does).

Exports your closed trade history to a CSV file with one row per position (not per deal), ready for Excel, Python or any journal. Each row has ticket, symbol, magic number, comment, side, volume, entry and exit time and price, duration, initial SL and TP when known, gross profit, commission, swap, net result and R multiple. It also calculates MFE and MAE (best and worst price reached while the trade was open, in points and in money) from the M1 bars between entry and exit, plus the entry session (Asia, London, New York) and weekday. Filter by magic number (lists and ranges) and symbol (wildcards), pick the period, the column separator (; or ,) and the decimal mark, and save to MQL5\Files or the common folder. Tested on hedging accounts and in the Strategy Tester (netting logic included; feedback welcome), where the file is written when the test ends. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.

XAUUSD grid EA that opens a basket when RSI leaves oversold or overbought on a closed candle, adds levels with a lot multiplier and closes the basket at a money or points target. Open source code.

매직 넘버를 기준으로 동일한 헤징 계좌에서 다른 EA가 개설, 수정 및 청산한 거래를 미러링합니다. 기본적으로 거래 방향(매수↔매도, SL↔TP)이 반전되므로, 실제 스프레드, 슬리피지 및 체결 조건을 반영하여 전략의 반대 방향에 대한 포워드 테스트를 수행할 수 있습니다.

올슨 그룹의 알파 엔진(Alpha Engine)을 포팅한 버전으로, 8명의 리미트 오더 에이전트가 헤징 계좌에서 내재 시간에 따른 방향 전환을 거래합니다. 이들은 가격이 과도하게 움직일 때 포지션을 추가하고, 반전 시 이익이 발생하면 포지션을 축소합니다.

Manages positions that are already open: it adds a missing SL/TP, moves the stop to break even, trails it, caps the position count and applies daily equity limits. It never opens trades.

Close all positions panel for MT5: seven buttons to close all, buys, sells, winners, losers, the chart symbol or delete pending orders, on Gold (XAUUSD), forex or any symbol, for manual trades and any EA. Open source code.

주장 자체를 그대로 믿기보다는 지표가 재그리기(repaint)되는지 여부를 측정합니다. 이미 마감된 봉에 대해 사용자 정의 지표의 버퍼를 다시 읽어들이고, 변경되거나 나타나거나 사라지는 모든 값을 집계하며, 이러한 현상이 여전히 발생하는 가장 먼 과거 시점을 파악합니다. 차트 패널의 각 버퍼에 대한 판정 결과가 표시되며, 모든 이벤트는 CSV 파일에 기록됩니다.

Push notifications when the connection drops, algo trading is switched off, an EA leaves its chart, the account changes, a position has no stop, equity or margin hit a limit - plus a daily heartbeat.

123456789...44