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

icon

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

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

코드를 제출하세요

An educational MetaTrader 5 Expert Advisor with four RSI and MACD signal modes calculated on completed Renko bricks. Fixed-size Renko is built internally from Bid ticks. No external indicators, DLLs, custom symbols or offline charts are required.

손절매를 원하는 위치로 드래그한 뒤 ‘매수’ 또는 ‘매도’를 클릭하기만 하면, 랏 크기가 자동으로 정확하게 설정됩니다. 계산기나 스프레드시트가 필요 없습니다. 손익분기점 및 추적 손절매 기능을 지원하며, 손실 한도에 도달하면 당일 거래를 자동으로 종료합니다.

이 전략은 두 이동평균선(Fast와 Slow)이 교차할 때 포지션을 진입합니다. 모든 종목과 시간대에서 작동합니다.

ATR을 기반으로 한 포지션 규모 결정과 고시간대 추세 필터를 적용한 유동성 스윕/주문 블록 스캘핑 전략입니다. 모든 거래는 차트 상에서 해당 설정 유형의 실시간 과거 승률과 함께 표시됩니다. 이는 단순한 박스 표시가 아닌, 실시간으로 업데이트되는 성과 기록표입니다.

규칙에 따라 거래가 회복될 가능성이 없다고 판단될 경우(N × ATR을 초과하는 불리한 가격 변동, 손실 기간이 너무 길어짐, EMA 추세 반전, 포지션과 반대되는 RSI, 또는 자금 한도 초과 등), 손절매 한도에 도달하기 전에 손실 포지션을 조기에 청산합니다. 이익이 나는 포지션은 절대 건드리지 않습니다. ‘관찰 전용 모드’에서는 실제로 청산하지 않고, 청산되었을 포지션에 대한 내역을 기록만 남깁니다. 모든 청산 내역은 규칙, 보유 기간, 최대 불리한 변동폭과 함께 CSV 파일에 기록되므로, 데이터를 바탕으로 규칙을 미세 조정할 수 있습니다.

Sends every opened and closed position, pending orders and a daily account summary to your Telegram chat. It never trades on your account.

Closes all trades and keeps the account flat when the daily loss limit, the maximum drawdown or a daily profit target is reached. Prop-firm style rules, an on-chart panel, and a state that survives terminal restarts.

This Expert Advisor trades fair value gaps in the direction of market structure, the way Smart Money Concepts describes it. It is the third step of a series that has been built one piece at a time: In previous shared codes, the SMC Pullback Indicator decided which highs and lows matter, the SMC Market Structure indicator turned those swings into a trend with BoS, CHoCH, IDM and liquidity sweeps, and this EA trades the result.

GDS 렌코 리플레이 트레이너는 MetaTrader 5에서 과거 렌코 차트를 바탕으로 수동 결정을 연습할 수 있는 무료 교육 도구입니다. 과거 기간을 불러와 앞으로 재생하며 가상 매수 또는 매도 주문을 넣을 수 있습니다. 일시 정지하거나, 틱 하나씩 앞으로 이동하거나, 다음 완성된 렌코 브릭으로 이동할 수 있습니다. 각 가상 포지션에는 손절매와 익절매가 설정되어 있으며, 트레이너는 세션 결과를 기록합니다. 이 도구는 과거 매수/매도 틱을 기반으로 고정 크기의 렌코 브릭을 생성하며, 고전적인 2브릭 반전 방식을 따릅니다. 미래의 틱은 표시되는 차트를 그리거나 가상 거래를 실행하는 데 사용되지 않습니다. 매수 거래는 진입 시 호가(Ask)를, 청산 시 매수 호가(Bid)를 사용하며, 매도 거래는 그 반대의 호가를 사용합니다. 패널에 입력된 주문은 다음 재현되는 유효한 틱을 기다립니다. 스톱 및 목표가는 가격 갭을 포함하여 매 틱마다 확인됩니다.

PulseStrike Scalper - 통계적 버스트 감지 EA

AurumNeuro Vanguard는 XAUUSD/금 거래를 위해 특별히 설계된 지능형 전문가 자문가(EA)로, 하이브리드 신경망 리스크 아키텍처와 통합 시장 역학 엔진(UMDE)을 결합한 제품입니다.

진정한 통계적 이상치 가격 변동만을 거래하는 틱 기반 스캘퍼로, 실제 브로커의 체결 지연에도 견딜 수 있도록 포지션 규모를 조정하고 손실 방지 조치를 마련했습니다. 백테스트 결과는 아래에 포함되어 있습니다.

GDS Renko Dual MA Demo EA는 MetaTrader 5용 소규모 교육용 전문가 자문가(EA)입니다. 이 EA는 고전적인 고정 크기 렌코 브릭을, 완료된 렌코 종가에서 직접 계산된 두 개의 단순 이동평균과 결합하는 간단한 방법 중 하나를 보여줍니다.

프로프펌의 과제를 해결하기 위한 엄격한 리스크 관리 도구입니다. 전체 계좌를 자동으로 모니터링하여 일일 및 최대 드로다운 한도 초과를 방지합니다. 스프레드 급등이나 복수심에 의한 거래로부터 안전 장벽 역할을 수행하며, 평가가 종료되기 전에 모든 포지션과 대기 주문을 즉시 청산합니다.

수동으로 개설했든 다른 EA를 통해 개설했든 상관없이 모든 포지션에 사용자가 설정한 위험 관리 규칙을 적용합니다. 사용자의 위험 허용 범위에 맞는 랏 크기를 표시하고, 설정된 손실 한도에 도달하면 당일 계좌 거래를 중단하며, 미결제 포지션 수를 제한하고, 허용된 위험 한도를 초과하는 포지션을 축소하며, 스톱로스 주문이 설정되지 않은 포지션에는 스톱로스 주문을 추가합니다.

USDX Trader v1.33 — Synthetic Dollar Index chart and basket trading for MetaTrader 5 Version 1.33 · MetaTrader 5 · Any broker that offers the major USD pairs

완성된 클래식 렌코 브릭을 통해 와일더의 ADX와 방향성 이동(Directional Movement)을 직접 계산하는 방법을 보여주는 간단한 교육용 전문가 자문가(EA)입니다. 이 EA는 내부적으로 BID 틱을 기반으로 고정 크기의 렌코를 생성합니다. 오프라인 차트, 사용자 정의 심볼, DLL 또는 외부 지표는 필요하지 않습니다. +DI, -DI 및 ADX는 렌코 블록이 완성된 후에만 업데이트됩니다.

GER40 Evening Coil is a free, fully open EA for the German 40 index on H1. It buys in the evening session after a recent narrow-range bar, when volatility is calm and volume is normal, and closes everything by 23:00 server time. Four conditions, long only, one trade at a time, a stop loss on every trade.

Monday Dip EA is a quantitative, time-based long-only trading strategy designed primarily for major stock index CFDs (such as US500, UK100) with complete daily history. It operates purely as a time-restricted buy-on-dip system rather than a trend-following indicator.

A manual-trade manager for MetaTrader 5: completed Renko bricks, configurable break-even and trailing Stop Loss, plus an on-chart Renko dashboard. No automatic entries.

A MetaTrader 5 (MT5) Expert Advisor based on breakouts of prior swing highs and lows. The EA places pending orders around confirmed fractal structures and manages each trade with defined stop-loss, take-profit, and optional position-management rules.

An opening range breakout Expert Advisor that places stop orders a set distance from the session open, with optional NR4, NR7, inside-day and 3-bar narrow-range filters and a no-filter control mode for testing.

ApexVelocity is a professional-grade Expert Advisor designed to capture explosive momentum in high-volatility instruments like XAUUSD (Gold). Moving away from rigid, hard-coded parameters, v1.0 introduces a robust, fully dynamic architecture that adapts to market conditions and broker specifications in real-time.

GDS Renko Bollinger 4-Mode Demo EA는 MetaTrader 5용 무료 교육용 Expert Advisor입니다. 이 EA는 하나의 독립형 EA 내에서 고전적인 고정 크기 렌코 브릭과 볼린저 밴드를 결합하는 네 가지 방법을 보여줍니다. 이 EA는 들어오는 매수 호가(BID) 틱 데이터를 기반으로 4개의 독립적인 내부 렌코 스트림을 생성합니다. 각 모드마다 고유한 렌코 브릭 크기와 볼린저 밴드 설정이 적용됩니다. 신호는 렌코 브릭이 완전히 형성된 경우에만 생성됩니다. 볼린저 밴드는 이전에 형성된 렌코 브릭의 종가를 기준으로 순차적으로 계산되므로, 현재 브릭은 신호 확인이 완료될 때까지 계산에서 제외됩니다.

Closes all trades and blocks new ones when the daily loss limit, maximum loss or profit target is reached. Built for prop firm challenges. Works with manual trading and any other EA.

A lightweight, non-trading Expert Advisor that writes a JSON health heartbeat (connection, AutoTrading state, equity, daily P/L) and an equity log, so a VPS watchdog can detect frozen or disconnected terminals and alert you.

자카르타 세션 필터를 적용한 M15 차트의 XAUUSD용 EMA(10) x EMA(30) 스캘핑 전략. 교육용 예시: 고정 랏, 포인트 단위의 SL/TP, 최대 1개 포지션, 스프레드 필터. 100% 실제 티크 데이터로 테스트됨.

이 교육용 Expert Advisor는 MetaTrader 5에서 렌코 브릭을 기반으로 모멘텀을 활용하는 간단한 방법 중 하나를 보여줍니다. 모멘텀은 가장 최근에 마감된 렌코 브릭의 종가와 N개 브릭 전의 종가 사이의 차이를 브릭 크기로 나눈 값입니다. 양의 임계값을 상향 돌파하면 매수 신호가 발생하고, 음의 임계값을 하향 돌파하면 매도 신호가 발생합니다. 임계값을 초과한 상태를 유지하더라도 신호가 반복적으로 발생하지는 않습니다. 이 EA는 매수 호가(Bid) 틱을 기반으로 내부적으로 고전적인 고정 크기 렌코 차트를 구축하며, 2브릭 반전 규칙을 적용합니다. 주문은 합성 브릭 가격 대신 사용 가능한 시장 매수/매도 호가를 사용합니다. 하나의 틱에 여러 개의 브릭이 형성되는 경우, 마지막 브릭에서의 교차만 진입을 유발할 수 있습니다. 한 번에 하나의 포지션만 유지되며, 가상 익절, 가상 손절, 최대 보유 시간, 쿨다운 및 스프레드 필터 기능이 제공됩니다. 외부 지표, DLL, 사용자 지정 심볼 또는 오프라인 차트는 필요하지 않습니다.

open-source grid trading EA with on-chart control panel

Shows the prices of the current symbol at which the account reaches margin call and stop out, with a what-if mode for extra volume, the maximum volume you can add and pending orders that trigger on the way.

Before configuring a basket, see which target weights fit your broker's minimum lots. Portfolio Allocation Planner turns an explicit hypothetical notional budget and percentages into a chart table: minimum-lot notional, lots rounded down, calculated allocation, target shortfall and row status. Recalculate on demand, inspect row tooltips, paginate longer lists, and optionally export the displayed snapshot to CSV. No trades are sent and no account balance, equity or positions are read.

Independent Risk Guard for AI Agents in MetaTrader 5.

A lightweight manual trading panel for MetaTrader 5 with market order execution, risk-based position sizing, Break-Even, partial close and position management. Works in both live trading and the Strategy Tester.

DailyLossGuard — Hard Daily Loss Protection (Prop-Firm Challenge Essential)

Reads the server clock from the symbol's own H1 history. The forex and CME week closes at 17:00 New York, so the server time of every weekly close gives the server's UTC offset for that week. Over 60 weeks it flags irregular closes, dates every clock change and tests it against the US and European daylight saving calendars, cross-checks TimeTradeServer minus TimeGMT, and lists the server time of the London, New York, Tokyo and Sydney opens for the coming weeks. Writes every close to CSV. Read only: no trade function, no DLL, no network.

CME에서 금은 매일 유지보수 휴장 시간을 갖습니다. 11년간의 표본 데이터에 따르면, 휴장 후 첫 1시간 동안 금 가격은 우연으로 설명할 수 있는 수준을 넘어 상승하는 반면, 그날의 나머지 시간대에는 변동이 없는 것으로 나타났습니다. 세션당 1회 거래, 변동성에 비례하는 서버 측 스톱, 평균화나 그리드 전략 없음. 그러다 보니 제 비용 모델이 틀린 것으로 드러났습니다. 실시간 티크 백테스트 결과, 장 재개 시 실제 왕복 비용은 제 연구에서 산출한 19포인트가 아니라 약 60포인트인 것으로 나타났습니다. M1 바 스프레드 필드는 바당 요약값이므로 실제 비용을 대략 3배 정도 과소평가한 것입니다. 수정된 비용으로 11년 치 데이터를 재분석한 결과: +3.34 bps, t 7.40, 승률 59.3% -> +1.60 bps, t 3.42, 승률 50.8% 수익성은 유지되지만, 원래 강도의 절반 미만 수준으로 떨어졌습니다. 두 번째 수치가 실제 결과입니다. 다음은 사실이 아닙니다: 연간 약 +3.3%, 드로다운 4.6%, 약 9년에 한 번씩 마이너스 수익. 0.01 랏 기준 연간 약 130회 — 이 수치는 전략이 아닌 포지션 규모를 나타내는 것입니다.

iCustom을 통해 SuperTrend TV 지표를 기반으로 종가 봉만 대상으로 거래하는 전문가 자문가(EA)로, 모든 거래가 신호와 일치하며 단 하나의 신호도 놓치지 않았음을 입증하는 감사 보고서가 함께 제공됩니다.

Checks the broker's session table against the M1 history. For every minute of the week it counts on how many of the last N days the symbol really has a bar, and sets that next to SymbolInfoSessionQuote and SymbolInfoSessionTrade: declared minutes that are usually empty (rollover holes), bars in minutes the table calls closed, trade and quote tables that disagree, and one-off outages such as an early holiday close. Prints the real sessions per weekday, writes every finding to CSV and prints its own arithmetic. Read only: no trade function, no DLL, no network.

A manual trading panel with a built-in prop-firm risk guard and a hidden Support/Resistance finder for MetaTrader 5.

A MetaTrader 5 utility that treats the bid and ask quote streams as two independent physical trajectories and fits a local quadratic to each, producing position, velocity, and acceleration with honest error bars and an out-of-sample forecast scoreboard.