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

icon

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

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

코드를 제출하세요

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.

Closes all trades when your daily loss reaches your limit.

ZoneUS30은 가격 상승 후 매도 기회에 초점을 맞춘 간단한 US30 전문가 자문가(EA)입니다. 이 전략은 평균 회귀 개념과 캐리 트레이드 아이디어를 결합한 것으로, 숏 포지션에 양의 오버나이트 스왑이 발생할 때 EA는 가격 조정과 장기 포지션 보유 모두에서 이익을 얻을 수 있습니다. US30을 위해 설계되었으며, 실험 및 교육용으로 사용될 것을 권장합니다. 역추세 거래는 특히 큰 로트 규모에서 상당한 위험을 수반합니다.

EURUSD EA that trades both directions: when the Awesome Oscillator turns against a weighted moving average filter, it places a stop order at the daily low or high of three days ago, with an ATR stop. Self-contained, no custom indicators. Backtest on EURUSD H1, October 2021 to October 2026: +209% on a 1,000 USD deposit with a fixed 20 USD risk per trade, 15.55% maximum equity drawdown.

간단한 데모용 Expert Advisor: EMA 고속/저속 교차 진입(마감된 봉만 평가, 리페인팅 없음), ATR 기반 손절매 및 익절, 스프레드 필터, 헤징 및 네팅 계좌 모두에서 작동하는 포지션 관리 기능을 포함합니다. 호환성 테스트를 위한 Python 참조 구현본이 포함되어 있습니다. 이 예제는 실제 결과물을 보여주기 위한 것이며, 거래 권장 사항이 아닙니다. 첨부된 자산 곡선은 시뮬레이션 데이터로 생성된 것으로, 이 방법의 원리를 보여주기 위한 것이지 수익 우위를 입증하기 위한 것이 아닙니다.

RSI 고갈 신호, ATR 기반 청산 및 변동성 조정 스프레드 필터링을 기반으로 한 MetaTrader 5 전략 테스터용 오픈소스 EURUSD 전문가 자문가입니다.

금(Gold)을 대상으로 한 터틀(Turtle) 스타일의 브레이크아웃 EA입니다. 상승 추세에서 H4 봉이 20봉 고점 위로 마감될 때 매수하며, 스톱은 2 ATR, 목표 수익은 2R로 설정됩니다. 2020년 1월부터 2026년 9월까지 XAUUSD를 대상으로 백테스트한 결과: 1% 리스크로 10,000을 투자했을 때 +9,029.72의 수익을 기록했으며, 수익 계수는 1.77, 최대 손실률은 11.38%, 7년 중 6년 동안 수익을 냈습니다.

다중 시간대 편향, ATR 손절/익절 제안, 추적 손절 기능, 원클릭 매수/매도/전체 청산 기능을 갖춘 차트 내 드래그 가능한 수동 거래 패널입니다.

프로프 펌 계좌를 위한 계좌 단위 보호 기능입니다. 계좌 내 모든 포지션을 모니터링하며, 일일 또는 최대 손실 한도에 도달하면 모든 포지션을 청산하고, 포지션당 위험 노출 금액을 제한하며, 스탑 주문이 설정되지 않은 포지션을 청산하고, 시장 변동성이 큰 뉴스가 발표될 때 포지션을 정리할 수 있습니다.

슈퍼트렌드의 방향성과 ADX 및 DI 확인 신호를 결합한 MetaTrader 5용 추세 추종 전문가 자문가(EA)입니다. ATR 기반의 손절매를 사용하며, 거래당 최대 0.5%의 순자산 위험을 감수합니다.

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

A Supertrend scalping EA with 14 switchable filters and a self-measuring panel that shows the actual win rate next to the win rate needed to break even after real spread, so you can see whether a setting has an edge or only a high percentage.

Partial close expert advisor for MetaTrader 5: closes a percent of the position at TP1, TP2, TP3, TP4 and TP5, moves the stop loss to breakeven and trails it. Works on manual trades and on positions of any EA, on any symbol, Gold (XAUUSD) included. Open source code.

Position manager for MT5 that closes the best winner together with the worst loser when their combined result reaches your minimum. Basket take profit and stop loss in money, magic filter, simple panel. Works with grid, martingale and manual trades. Open source code.

MT5에서 체결 및 청산된 포지션을 텔레그램 채팅방에 게시합니다: 포지션 방향, 종목, 진입 가격, 스탑 및 목표 가격(핍 단위), 랏 수, 그리고 청산 시 결과, 핍, R-배수 및 보유 시간. 재시도 대기열, 재시작 시 데이터 보존, 실제 거래는 수행하지 않습니다. MT5용 무료 텔레그램 및 디스코드 거래 알림 도구

Read-only watchdog for MT5: alerts on unknown magic numbers, duplicate positions after reconnects, missing SL, stop outs and what happened while it was off. Never trades.

리스크 조정, 스프레드 보호, 지속적인 일일 손실 제한, 손익분기점 및 추적 스탑 기능을 갖춘 교육용 MT5 헤징 계좌 거래 패널.

Automated checks of an Expert Advisor on a live demo chart (restart, second copy, server history, chart button) with a PASS/FAIL report.

Risk tool for prop firm accounts: closes all positions and blocks new trades when the daily loss or max loss limit is reached. Never opens trades on a live chart.

Spread Monitor is an MQL5 Expert Advisor that draws a colour-coded panel on the chart. The panel shows the current spread of the attached symbol in points, along with the average, minimum, and maximum over a rolling history. It also counts how many stored samples exceeded a warning level, and turns the status row red when the current spread is above that level. The utility does not place orders. Inputs control the warning level, the history size, the refresh interval, and the panel position. Panel objects are removed when the EA is detached.

교육용 MT5 EA: 클로즈드 바 EMA 크로스오버 진입, ATR 기반 손절매 및 익절, OrderCalcProfit을 통한 순자산의 고정 비율에 따른 로트 크기 설정, 스프레드 필터, 매직 넘버 분리 및 서버 반환 코드 확인 기능을 제공합니다. 리스크 관리가 가능한 EA를 구축하기 위한 깔끔한 템플릿입니다. 수익 보장 없음.

Educational Expert Advisor: daily range breakout with BuyStop/SellStop pending orders, risk-reward take profit and trading days. Clean, commented MQL5 code with margin and stop level checks. Demo and Strategy Tester only.

Educational Expert Advisor: Bollinger Bands return to the mean with an optional RSI filter and trading hours. Clean, commented MQL5 code with margin, volume and stop level checks. Demo and Strategy Tester only.

Educational Expert Advisor: moving average crossover with clean, commented MQL5 code – margin, volume, stop level and spread checks, order retries. Demo accounts and Strategy Tester only.

Short description (for the "Short description" field) Shows economic news events directly on your chart as colour-coded vertical lines with tooltips, plus a draggable event panel with upcoming and recent releases. Works on every symbol and timeframe, with filters for impact level and instrument groups (Gold & Silver, Forex Majors, Indices, Oil & Gas).

ADX, 허스트 지수 및 1차 지연 자기상관도를 활용해 시장을 분류하고, 각 바를 돌파 모듈이나 평균 회귀 모듈로 분배하며, 윌슨 95% 하한선을 적용해 각 체제별로 별도의 승률 기록을 관리하므로, 실제로 효과가 있는 쪽이 어느 쪽인지 확인할 수 있습니다.

위험 비율과 스톱 거리를 바탕으로 포지션 규모를 산정한 뒤, 스톱 로스와 테이크 프로핏이 이미 설정된 상태로 거래를 개시합니다. 절대 스스로 거래를 진행하지 않습니다.

A chart panel for MT5 that places Buy Limit, Sell Limit, Buy Stop and Sell Stop pending orders with one click. Volume, distance and optional SL/TP are set on the panel; OCO cancels the opposite order automatically. Includes bulk delete, a live order list and automatic handling of broker STOPS_LEVEL and filling mode. Execution tool only - no signals, no guaranteed results.

Read-only panel showing per-magic net P/L, account drawdown, daily-loss breaker progress and freeze/liquidate thresholds. Does NOT trade.

Closes all trades and blocks new ones when your prop firm daily loss or maximum drawdown limit is reached.

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.

123456789...44