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

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

icon

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

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

코드를 제출하세요

Draws the Asian, London and New York session ranges as colored boxes with their high and low, plus dotted extension lines for breakout trading. Same ranges on every timeframe up to H1.

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.

A rolling, Katz-style fractal dimension of price that collapses toward 1.0 during directional moves and rises toward 2.0 during choppy, range-bound action, giving traders a single number for how "trendy" the current market is.

Position size calculator for MT5. Drag the SL and TP lines on the chart and the panel shows the lot size for your risk %, the real risk after rounding, the reward and R:R. Never trades.

A momentum oscillator that relaxes back toward zero at a speed set by the current ATR relative to its own moving average, so decay speed adapts automatically to whether the market is calm or volatile.

Clean and efficient Anchored VWAP (AVWAP) indicator for MetaTrader 5. Calculates volume-weighted average price from a user-defined anchor date with optional volatility standard deviation bands.

Smart Money Concepts market structure on pullback swings: trend, BoS, CHoCH, IDM and liquidity sweeps. A level counts as taken only on a close — a wick through it is marked as a sweep (x) and relocates the swing. Self-contained, closed bars only.

QCL Heikin Flow applies two-stage smoothing to Heikin Ashi candles, helping traders filter price noise and visualize trend direction. Features adjustable smoothing periods, four moving average methods, and customizable candle colors.

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

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

Support and resistance channels built from price pivots and ranked by strength: each pivot inside a channel and each bar that touched it adds to its score. The strongest channels run across the whole chart, colored by where price is, with break arrows, pivot marks, two averages and alerts.

Exports bars to a CSV file that pandas.read_csv() loads without encoding, separator or date-format arguments: ISO 8601 timestamps, prices at the symbol's own digits, single-byte encoding. Two modes (last N bars or a date range) and a switchable separator for Excel.

Shows the range of every bar in points, its moving average (SMA or EMA) and a suggested stop distance (average x factor). A stop tighter than the typical bar range gets taken out by ordinary noise; the indicator makes that threshold visible in points, the same unit a stop loss is set in.

Shows what every buffer of an indicator holds - arrows, a line or a colour index - and labels the arrows on the chart with their buffer numbers. Works with compiled indicators without source code.

Asian, London and New York session high/low boxes with ICT killzone shading, breakout alerts and average-range statistics panel.

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.

모든 금융 상품에 걸쳐 정확한 핍 값 계산과 동적 랏 크기 조정이 가능한, 가볍고 OOP를 준수하는 MQL5 헤더 클래스(.mqh)로, 자동 통화 간 환율 변환 및 브로커 거래량 정규화 기능을 갖추고 있습니다.

MT5용 실시간 리스크 계산기 및 랏 사이즈 가드 HUD입니다. 계좌 잔고, 목표 리스크 비율, 동적 ATR 스톱로스(최소 랏 오버슈트 경고 기능 포함)를 기반으로 정확한 랏 크기를 계산합니다.

클래식 및 피보나치 방식을 지원하는 MetaTrader 5용 일일 피벗 포인트(PP) 지표입니다. 이전에 마감된 일봉을 기반으로 PP, R1-R3 및 S1-S3을 표시합니다.

MSNR KeyLevels MultiTF는 열려 있는 모든 차트에서 M5, M10, M15, H1, H4 및 D1의 말레이시아 SNR 주요 수준을 동시에 표시합니다. 내장된 제어판을 통해 클릭 한 번으로 각 시간대의 표시를 켜거나 끌 수 있으므로, 깔끔한 차트에서 더 높은 시간대의 전체적인 맥락을 단 1초 만에 확인할 수 있으며, 다시 원래 상태로 돌아가는 것도 그만큼 빠릅니다.

Overlay higher timeframe candles directly onto your lower timeframe charts with customizable body fills, independent borders, and precise wicks. Effortlessly spot macro bias, session openings, and liquidity ranges without switching screens. Ultra-lightweight engine featuring separated box bounds and rock-solid chart change auto-recovery.

Calculates the lot size for a chosen risk percent and stop loss distance, and shows the result in a clean panel on the chart.

클로즈드 바(Closed-bar) ICT/SMC 세션 — 3개 종목에 대한 유동성 스캐너로, 확인된 MSS, FVG 재테스트, 위험/수익 전망 및 선택적 거시경제적 맥락을 제공합니다.

와이코프 거래량 확산 분석(VSA) 원리에 기반을 둔 이 지표는, 리페인팅이 전혀 없으며 엄격한 2,000봉의 성능 제한을 준수하면서 스마트 머니의 축적, 분배, 흡수 및 추세 방향을 해석합니다.

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.

Read-only MT5 script for exact Market Watch symbols: contract and volume rules, quote age and spread, isolated BUY/SELL margin, one-tick price moves and spread-only results in account currency. MIT source; Experts journal output.

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.

Writes the trading specification of every symbol to a CSV file: volume step, filling modes, stops level, tick value and more.

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.

모든 M1 바에서 가상 브래킷 거래를 개설하고, 실제 틱 기록에 따라 시나리오를 진행하며, 다양한 스탑 거리 범위에 대해 1분 OHLC 모델링이 해당 거래를 잘못된 방향으로 판단하는 빈도를 보고합니다.

브로커가 어떤 명칭으로 부르든 상관없이 ‘골드’ 심볼을 감지하고, 계약 사양을 임의로 가정하지 않고 터미널에서 직접 읽어오며, 계좌 통화로 표시된 위험 금액을 해당 브로커에 맞는 정확한 랏 크기로 변환합니다.

청산된 거래 건당 한 줄의 CSV 파일을 내보내며, 여기에는 거래 내역서에는 포함되지 않는 수치들이 포함됩니다: 해당 거래에서 나타난 최대 미실현 이익(MFE), 견뎌낸 최대 미실현 손실(MAE), MFE 중 실제로 실현된 금액, 거래가 진행된 바(bar) 수, 그리고 보유 기간입니다. ‘Trade Excursion’ 지표와 동일한 측정 기준이지만, 차트에 표시하는 대신 파일로 출력됩니다. 이 데이터에 대해 물어볼 가치가 있는 질문들은 차트만으로는 답할 수 없기 때문입니다. 예를 들어, 포착 비율은 진입 시각에 따라 달라지는가? 조기 청산한 거래가 가장 오래 보유한 거래인가? 월요일에 발생한 손실 거래의 MAE는 금요일과 다른가? CSV 파일이 생성되면 피벗 테이블 하나로 이러한 질문에 대한 답을 얻을 수 있습니다. 출력 결과는 헤더 행이 포함된 세미콜론으로 구분된 형식으로, MQL5\Files 폴더에 저장되며 어떤 스프레드시트 프로그램에서도 열 수 있습니다. 측정 한계: 편차는 선택한 시간대의 봉 고점과 저점에서 산출되며, 봉 내부의 가격 변동 경로는 알 수 없습니다. ‘봉’ 열은 각 거래의 해상도를 나타내며, 요약 값은 단일 봉 거래를 평균화하지 않고 별도로 집계합니다.

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회 — 이 수치는 전략이 아닌 포지션 규모를 나타내는 것입니다.

Shows how much of the daily loss limit of a prop firm account is already used, and how much is left. Read-only indicator.

Measures how far your PC clock is from the trade server's clock, from the server time stamped on live ticks, and tells you how to fix it.

Regular and hidden divergences between price and ten oscillators calculated inside the indicator: MACD, MACD histogram, RSI, Stochastic, CCI, Momentum, OBV, VWMACD, Chaikin Money Flow and MFI. Lines on price, a box naming every oscillator that agrees, and alerts.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209