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

icon

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

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

코드를 제출하세요

Professional open-source Market Status Dashboard for MetaTrader 5. Monitor spread, ATR volatility, volume activity, daily range, ADR usage, trading sessions and overall market conditions in real time.

Quantora Symbol Information Panel MT5 - Professional Trading Specifications Dashboard

Professional open-source Pip Value Calculator for MetaTrader 5. Calculates broker-specific pip and point values using real symbol specifications, lot size, tick size, tick value and account currency.

Professional open-source ADR Calculator for MetaTrader 5. Calculates Average Daily Range, current day range, ADR usage percentage, remaining range and projected ADR High/Low levels with a modern Quantora dashboard.

Professional open-source Session Clock for MetaTrader 5. Displays Sydney, Tokyo, London and New York trading sessions with live status, countdown timers, progress bars, overlap information and configurable alerts.

Displays a complete trading statistics table directly on the chart — Net Profit, Profit Factor, Drawdown, Win Rate and more — calculated from your full account history. Purely informational, free for everyone.

Locks in the high and low of any user-defined session — Asian, London, New York, or a fully custom window — and draws it on the chart as a live-updating box or line pair. No repainting, no discretion — the range is measured directly from the bars, not estimated.

Professional open-source Candle Countdown for MetaTrader 5. Displays a live digital candle timer, progress bar, elapsed and remaining time, market status and configurable countdown alerts with a modern Quantora dashboard.

XAUUSD에 대한 교육용 MT5 차트 패널로, 실시간 스프레드, ATR 변동성, EMA 추세 방향, RSI 상태, 일일 변동폭 및 활발한 거래 세션을 보여줍니다.

차트상에서 XAUUSD 스프레드를 모니터링하고, 스프레드가 사용자가 설정한 경고 또는 위험 수준을 초과할 경우 알림을 제공하는 교육용 MT5 차트 유틸리티입니다.

Professional open-source Position Size Calculator for MetaTrader 5. Calculates broker-compatible lot size using account value, risk percentage, fixed risk amount and Stop Loss distance.

Professional open-source Trailing Stop manager for MetaTrader 5 with adjustable start, distance, step, profit filter, Magic Number filtering and a modern Quantora dashboard.

Professional open-source Break Even manager for MetaTrader 5. Automatically moves Stop Loss to Break Even with adjustable trigger, offset, Magic Number filtering and a modern Quantora dashboard.

Professional open-source trade management utility for MetaTrader 5. Automatically manages Stop Loss, Take Profit, Break Even and Trailing Stop for existing positions while providing a professional real-time dashboard.

The Spread Monitor is a professional statistical dashboard that evaluates the current market spread relative to its recent historical behavior. Instead of simply displaying the current spread, it determines whether the spread is unusually high, unusually low, or within its normal statistical range.

This is a volatility regime indicator, displayed in a separate window below the chart. The core idea: it calculates a historical percentile of the current volatility (0-100%) and classifies the market into 5 "regimes" — from extreme calm to extreme chaos. On top of that, it has a full visual dashboard (a text panel on the chart) with a trading signal, SL/TP, MTF (multi-timeframe) filters, volume, VIX, and, in the current version, a probabilistic "confidence meter" score.

일일 손실 한도 및 최대 손실 한도를 기준으로 계좌 현황을 추적하는 읽기 전용 차트 내 패널로, 색상으로 구분된 ‘OK’ / ‘경고’ / ‘위험’ 상태를 표시합니다. 모니터링 전용 기능으로, 주문을 체결하거나 수정하거나 청산하지 않습니다.

이 전문가 자문가는 스토캐스틱 오실레이터를 모니터링하여, 사용자가 선택한 조건(과매수선 상향 돌파 또는 과매도선 하향 돌파, 과매수/과매도 구역 진입, 또는 해당 구역 이탈)에 따라 포지션을 자동으로 청산합니다. 포지션 청산 여부는 수익 상태(손실, 이익, 또는 둘 다)에 따라 필터링됩니다. 선택 사항인 테스트 모드를 사용하면 %D 선이 기준선(50) 주변의 설정 가능한 오프셋 수준을 교차할 때 기본적인 진입 신호를 활성화할 수 있습니다.

Bands StochRSI Extreme Reversal — spots mean-reversion signals where price closes back inside the Bollinger Band after Stochastic RSI hit an extreme zone, with an on-chart status panel.

The SMC Order Block Detector indicator features an Advanced Smart Money Concepts (SMC) Order Block (OB) Engine inspired by the TradingHub 3.0 methodology. It is specifically engineered to automatically detect, track, and manage institutional Order Blocks with high precision on MetaTrader 5. A key highlight of this indicator is its Smart Overlap Management: when new Order Blocks form and overlap with existing active zones, the algorithm intelligently evaluates their Fair Value Gap (FVG) sizes. It automatically filters out and deactivates weaker or redundant zones, ensuring that only the highest-probability institutional levels remain on your chart.

전략의 우위가 실행 비용에 대해 얼마나 견고한지를 측정하는 순수 MQL5 스크립트입니다. 이 스크립트는 청산된 거래에 대한 날짜(Date), 수익(Profit), 거래량(Volume)이 포함된 CSV 파일을 읽어들이고, 각 거래의 비용을 고정 부분과 랏당 비용 부분으로 모델링합니다. 이 스크립트는 거래당 손익분기점 비용, 쿠션(순이익이 0이 되는 가정된 현실적 비용의 배수), 가정된 비용으로 재계산된 순이익 및 수익 계수, 비용이 손실로 전환되는 수익 거래의 비율, 그리고 권장 사항이 포함된 A+부터 F까지의 종합 비용 견고성 점수를 출력합니다. 파일이 없는 경우 재현 가능한 샘플을 생성하여 분석하므로, 첫 실행 시 바로 결과를 확인할 수 있습니다. 외부 라이브러리, 파이썬, AI를 전혀 사용하지 않습니다.

BBandsPsar는 볼린저 밴드의 변동성 분석 체계와 파라볼릭 SAR의 추세 추종 논리를 결합한 맞춤형 하이브리드 지표입니다. 이 두 가지 방법론을 통합함으로써, 단일하고 일관된 도구 내에서 시장 변동성과 새롭게 형성되는 추세 역학을 효과적으로 조화시킵니다.

What it does DEMO = unlimited free. LIVE = 7-day trial, then rent GoldScalping Pro on MQL5 Market: /en/market/product/190166 Trades XAUUSD on M5 during London / New York sessions Entry logic: EMA momentum + short breakout/retest filters Exits: ATR-based Stop Loss / Take Profit + optional time-stop Risk: fixed % of equity per base trade Lot scaling: increases only after consecutive wins (capped) — no martingale after losses Daily loss stop and max spread filter Optional local HTTP bridge for a companion mobile/web app (monitor, pause, close, modify SL/TP)

차트 심볼의 실시간 스프레드를 표시하는 차트 내 패널 - 현재값, 최저값, 평균값 및 연결 이후 최고값을 경고 및 위험 임계값에 따라 색상으로 구분하여 표시하며, 스프레드가 N초 연속으로 위험 수준에 머무를 경우(뉴스나 롤오버로 인한 급등 시) 선택적으로 알림을 제공합니다.

사용자가 설정한 위험 수준(자본금의 백분율 또는 고정 금액)과 손절 거리(포인트 또는 가격 수준)를 바탕으로 계획된 거래에 적합한 적절한 로트 크기를 계산합니다. 해당 종목의 계약 사양(틱 크기 및 가치, 최소/최대/단계별 거래량)을 반영하며, 필요한 증거금을 산정합니다.

설정 가능한 기간 동안 청산된 포지션을 CSV 파일로 내보내, Excel이나 Google 스프레드시트에서 거래 내역을 분석할 수 있도록 합니다. 내보내지는 항목은 진입 및 청산 시각과 가격(부분 체결분에 대해 거래량 가중 평균 적용), 거래량, 포인트 기준 결과, 수수료, 스왑, 순이익 및 거래 기간입니다.

MT5용 SMC/ICT 시장 구조 지표: 종가 기준 확인된 스윙 고점/저점, BOS(추세 지속) 및 CHoCH(추세 반전), 오더 블록, 공정가치 갭, QML(Quasimodo) 수준. 모든 기능은 켜고 끌 수 있으며, 스윙 감도와 색상을 조정할 수 있습니다. 모든 종목 및 시간대에서 작동합니다.

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)만을 기반으로 작동하여 리페인트가 전혀 발생하지 않는 성능을 보장합니다.

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

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

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

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

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 콜백이 포함되어 있습니다.

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.

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

1...141516171819202122232425262728...220