거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
귀하의 MetaTrader 5 터미널에서 CodeBase에 액세스 해보세요
올바른 코드를 찾을 수 없습니까? 프리랜싱 섹션에서 주문하세요
Expert Advisor 또는 지표 작성 방법

MQL5 MetaTrader 5의 소스 코드 라이브러리

icon

이것은 MetaTrader 5 플랫폼 프로그램을 위한 최대 규모의 무료 소스 코드 라이브러리입니다. 여기서는 미리 만들어진 Expert Advisor, 기술 지표, 스크립트 및 라이브러리를 찾을 수 있습니다. MQL5 언어를 배울 때 코드 라이브러리를 사용하고 제공된 코드를 기반으로 자신만의 자동화된 거래 응용 프로그램을 개발하십시오.

게시된 코드를 자유롭게 다운로드 및 테스트할 수 있으며, MetaTrader 5에서 코드를 실행할 수 있습니다. 이 라이브러리는 또한 MetaTrader 5 플랫폼과 MetaEditor 개발 환경에서 직접 사용할 수 있습니다.

코드를 제출하세요

KCI(Kinetic Compression Index)는 시장의 매도세 고갈과 국부적인 압축 현상을 감지하기 위해 고안된 맞춤형 오실레이터입니다. KCI는 외부 표준 지표 핸들에 의존하지 않고 내부적으로 운동학적 지표를 계산함으로써 오버헤드를 줄이고, Expert Advisor(EA) 통합을 위한 버퍼 관리를 간소화합니다. 이 글은 MetaTrader 5에서 이 도구를 구현하고자 하는 개발자들을 위해 수학적 기초, 시스템 아키텍처, 버퍼 매핑 및 실용적인 통합 가이드를 상세히 설명합니다.

KCI 임베디드 스나이퍼는 고정밀 반전 진입을 위해 설계된 알고리즘 트레이딩 솔루션입니다. 외부 지표에 의존하는 기존 전문가 자문가(Expert Advisor, EA)와 달리(이러한 방식은 종종 스레드 비동기화 및 지연 현상을 겪습니다), 이 EA는 완전히 내장된 KCI(Kinetic Compression Index) 엔진을 특징으로 합니다. 속도 몫(Velocity Quotients), 운동 변위(Kinetic Displacement), 에너지 분산(Energy Dispersion), 위상 속도(Phase Velocity)를 계산하는 KCI의 전체 수학적 프레임워크를 EA의 핵심 로직에 직접 이식함으로써, “비동기적 지연”을 제거했습니다. 그 결과, 시장 고갈(싱귤래리티)과 모멘텀 극단치(윌리엄스 %R)를 마이크로초 단위의 정밀도로 검증하는 번개처럼 빠른 스나이퍼 엔진이 탄생했으며, 이 엔진은 완료된 바(bar)만을 기반으로 작동하여 리페인트가 전혀 발생하지 않는 성능을 보장합니다.

This is an MQL5 custom indicator for MetaTrader 5 called RSI Histogram. It plots the standard RSI line in a separate window, plus a color-coded histogram version of the same RSI values that changes color based on momentum:

Extreme Value Theory (EVT) ported into MQL5 for gauging potential crashes and upsets in the market.

Shows average price range per hour of the trading day as an on-chart heatmap, plus Asian/London/New York session shading behind the candles — so you can see when a symbol actually moves, not just guess.

A lightweight on-chart dashboard that reads your closed trade history and shows win rate, profit factor, streaks, and an equity curve — no strategy inputs, just your own numbers, refreshed automatically.

A forecaster made from Symbolic Aggregate approXimation (SAX)

실시간 시세를 4개의 형성 중인 캔들 내부에 수직으로 표시하고, 위치 정렬, 분산도, 캔들 방향 및 남은 시간을 요약해 주는 교육용 MT5 패널입니다.

4가지 선형 지표를 표시하는 오실레이터입니다. 1개는 연속 상승 봉을, 1개는 연속 하락 봉을, 1개는 연속 상승 봉의 평균을, 그리고 1개는 연속 하락 봉의 평균을 나타냅니다.

Session-Based Scalping Indicator for MetaTrader 5. It automatically marks the Asian session high and low, then generates scalping signals at the London open when price breaks or retests those levels. The indicator draws dynamic session ranges, sends alerts and push notifications, and includes optional trend, volume and time filters. Works on M1, M5 and M15 charts for any symbol.

An MQL5 implementation of all four cross-strategies from Bloch's Relative Moving Average framework, with his Adaptive Crossover Exit switching rules by volatility regime. Entries and exits are taken in fractile space, so thresholds mean the same thing on every symbol.

계좌 단위 일일 손실 방지 기능: 일일 손실이 설정 가능한 기준치에 도달하면 모든 포지션과 보류 주문을 청산하고, 다음 일일 리셋 시점까지 계좌 잔고를 제로 상태로 유지합니다. 백분율 또는 금액 단위의 한도 설정, 사용자 정의 가능한 리셋 시간(서버 시간), 실시간 게이지가 표시되는 드래그 가능한 시각적 패널, 클릭 확인 방식의 수동 ‘모두 청산(CLOSE ALL)’/‘잠금(LOCK)’ 버튼을 제공합니다. 모든 브로커, 종목, 계좌 규모 및 통화에 적용되며, 헤징 및 네팅 기능을 지원하며 DLL이 필요하지 않습니다.

강도 평가 및 실시간 알림 기능을 갖춘 다중 시간대 지지선 및 저항선 영역 스캐너 — M15, H1, H4, D1.

A faithful MQL5 port of Daniel Bloch's Relative Moving Average framework. It ranks the current close inside its own window's distribution on a [0, 1] scale comparable across symbols, publishing the fractiles, regime classification, and directional consistency as readable buffers.

Pro Manager is an all-in-one MT5 trading assistant built for prop firm and professional traders. Execute trades faster, manage positions smarter, control risk efficiently, and automate daily trading tasks with powerful tools such as Break-even, Average TP, Magic Number management, and Auto Grid.

SMC chart indicator: market structure (BOS/CHoCH), volume weighted order blocks, multi timeframe FVG, equal highs/lows, liquidity sweeps, premium/discount zones, a 3 time frame bias panel and an optional trade setup readout. Closed bar logic only (no repaint). It draws and alerts, it does not place trades.

실시간 PIP 값, 리스크 기반 로트 크기 설정, 맞춤형 거래량 리스크 분석 및 미결제 포지션 손익 — 이 모든 기능을 하나의 패널에서 확인하세요.

MQL5에 Rust 스타일의 Result 타입을 도입하는, 크기가 작고 의존성이 적은 라이브러리입니다. 함수는 전역 GetLastError() 상태에 의존하는 대신 단일 값 또는 오류 객체를 반환하므로, 오류가 명확하게 드러나 무시할 수 없습니다. 이 라이브러리에는 ResultValue(값형) 및 Result(포인터로 참조되는 객체), Error 구조체, 조기 반환 매크로(TRY, RETURN_ON_ERROR 등)와 선택적 Then/Match/MapError 콜백이 포함되어 있습니다.

What this indicator does Clock (Spread).mq5 is a MetaTrader 5 chart indicator that displays a small text label in the corner of the chart showing: Countdown timer until the current candle closes (in HH:MM:SS or MM:SS format, depending on timeframe) Current spread (Ask − Bid, in points), shown in parentheses next to the timer

Draws parallel trend channels (Median, High, Low) on the current chart based on the last two closed candles of up to 7 higher timeframes (MN1, W1, D1, H4, H1, M30, M15), with individually configurable colors and line styles for each timeframe.

Advanced MQL5 risk management class providing deterministic lot sizing, auto-suffix detection, and cross-currency triangular conversion.

Overview Channel Sun Signals plots an adaptive, triangular-weighted moving-average channel (a center line plus an upper and lower band) around price, and marks potential reversal points where price pierces a band and then closes back inside it. It is built on the same "band-break-then-reversal" logic used by classic TMA/CG-style channel indicators, but rewritten natively for MT5 — including its own multi-timeframe engine that does not rely on iCustom() or an external .ex5 file, so the indicator works standalone once compiled.

성사된 거래 통계. 이 지표는 거래 결과를 보여주며, 매직 넘버별로 필터링됩니다.

아시아 장 범위 돌파형 데이 트레이딩 EA. 다중 종목 지원, M15/M30/H1. PSAR + MACD + 스토캐스틱 신호를 활용하여 런던 장 개시 전 아시아 장 범위 밖에서 런던 세션 중 보류 스탑 주문을 설정하며, 런던/뉴욕 일광 절약 시간제(DST) 자동 처리, 구조적 스탑, 트레일링 스탑 및 손익분기점 기능을 제공합니다.

SteepMA V0.7은 ‘이동평균선 기울기’를 핵심 진입 기준으로 삼는 추세 추종 EA로, 추세 강도를 정량화하여 확률이 높은 시세를 선별하고, 단계적으로 조여지는 동적 손절 시스템과 연계하여 수익을 확보하며, 내장된 SQLite 데이터베이스를 통해 거래 전 과정의 데이터 추적성을 보장합니다.(검토 통과를 위해 코드 일부를 생략했습니다)

확정된 피벗 지점을 기반으로 가격 구간을 지지선과 저항선으로 구축하는 교육용 MT5 지표입니다. 인근의 반응 구간들은 ATR 기반 거리를 사용하여 통합된 후, 반복 테스트 횟수, 거부 강도 및 최근 발생 여부에 따라 순위가 매겨집니다. 차트의 가독성을 유지하기 위해 가장 강력한 구간들만 표시됩니다.

Reads a closed-position trade history (a CSV file, or one generated automatically from the current account's deal history by the companion RuinExport.mq5 script) and reports four independent risk fingerprints: volume escalation after a loss, overlapping same-direction exposure that averages into a worse price, payoff asymmetry between wins and losses, and a classical risk-of-ruin estimate at a stated risk per trade. The four scores combine into a single A-to-F grade with plain-language recommendations. If no CSV is found, the script generates a reproducible demonstration book automatically, so the report is visible on the first run.

'차트 내 캔들 카운트다운 시계'는 모든 시간대의 마지막 캔들에 대한 카운트다운 시간을 표시하기 위해 만들어진 간단한 지표입니다.

스프레드 계산기는 차트상 모든 통화 쌍의 현재 스프레드를 표시하기 위해 만들어졌습니다.

Smart Trend Score is a clean and lightweight MetaTrader 5 indicator designed to identify high-quality trading opportunities using multiple trend and momentum filters.

두 개의 EMA(빠른 EMA와 느린 EMA)의 교차점을 기반으로 하는 간단한 전문가 자문가(Expert Advisor)로, 손절매, 익절, 로트 크기 및 매직 넘버를 설정할 수 있습니다.

평균, P50, P90, P95, P99, 최대 스프레드, 알림 및 CSV 내보내기 기능을 갖춘 오픈 소스 MT5 스프레드 로거입니다.

Session-Based Liquidity Breakout & Fibonacci Retracement Strategy (often used in Forex or Crypto trading). It simplifies trading by avoiding complex Smart Money Concepts (SMC) like Order Blocks or Fair Value Gaps, relying instead on Asian Session liquidity, timing (session open), and Fibonacci levels.

Stop trading retail noise. This is an institutional-grade, asynchronous multi-asset scanner. It combines True Fractal CHOCH, Z-Score volumetric anomalies, and Fair Value Gap (FVG) validation to detect high-probability Order Blocks without freezing your terminal.

스프레드 미터 — 최고/최저 기록 기능을 갖춘 실시간 단일 종목 스프레드 추적기 Fox Wave의 ‘스프레드 미터’는 세련된 디자인의 단일 종목 대시보드로, 현재 차트 종목의 실시간 스프레드를 표시하는 동시에, 정확한 타임스탬프와 함께 해당 종목의 역대 최고 및 최저 스프레드 기록을 영구적으로 저장합니다.

확정된 스윙 고점과 저점을 표시하고, 시장 구조를 HH, HL, LH, LL로 분류해 주는 간단한 교육용 MetaTrader 5 지표입니다.

The Nikkei 225 Gap Continuation EA is a MetaTrader 5 Expert Advisor that trades bullish and bearish continuation movements after the cash-session opening gap. It combines an opening-range breakout with VWAP confirmation, automatic risk-based position sizing, partial profit-taking, break-even management and a forced session exit. The EA supports both netting and hedging accounts.

단순히 “최대 드로다운” 수치뿐만 아니라 계좌의 드로다운 구조를 분석하는 네이티브 MQL5 스크립트입니다. 이 스크립트는 일일 자산 곡선(Date,DailyPnL CSV)을 읽어와 손실 구간 곡선을 재구성한 후, 이를 개별 드로다운 에피소드로 나누어 각 에피소드의 깊이, 지속 기간 및 회복 시간을 산출합니다. 그런 다음 ‘울서 지수(Ulcer Index)’, ‘페인 지수(Pain Index)’, ‘회복 계수(Recovery Factor)’ 및 마이너스 상태 지속 시간을 보고하고, 이를 하나의 회복력 점수(A+ ~ F)로 통합하여 권장 사항과 함께 ‘전문가(Experts)’ 탭에 표시합니다. 외부 라이브러리가 필요하지 않으며, 파일이 발견되지 않을 경우 샘플 곡선을 생성하므로 설치 후 바로 실행할 수 있습니다.

선택한 시장 범위 내에서 프리미엄, 균형 및 할인 구역을 표시해 주는 가벼운 교육용 MetaTrader 5 지표입니다.

BlueMoon EA is an MT5 Expert Advisor that combines EMA Envelope entries with adaptive basket management, progressive position sizing, spread filtering, drawdown protection, and automatic trade recovery for hedging accounts.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201