MQL4 및 MQL5 소스 코드 라이브러리
MQL5 또는 MQL4 프로그래밍 언어를 어디서부터 배워야 하는지 모르시겠나요? MetaTrader 터미널을 위한 다양한 프로그램을 이용할 수 있습니다. 게시된 코드 예제를 다운로드하고 연구하며, 자신만의 지표와 Expert Advisor를 개발하십시오. 최대 MQL5 및 MQL4 코드 라이브러리에 응용 프로그램을 게시하면 모든 MetaTrader 터미널 및 MetaEditor에서 사용할 수 있습니다.
MQL4 및 MQL5의 코드 예제는 전 세계에 배포될 것이며 수천 명의 거래자가 귀하에 대해 알게 될 것입니다!
Supply and demand zones for Gold (XAUUSD), EURUSD and any symbol: zones from swing highs and lows sized by ATR, fresh or tested, merged, broken ones removed, alerts and 5 buffers for EAs. Open source code.
ZoneUS30은 가격 상승 후 매도 기회에 초점을 맞춘 간단한 US30 전문가 자문가(EA)입니다. 이 전략은 평균 회귀 개념과 캐리 트레이드 아이디어를 결합한 것으로, 숏 포지션에 양의 오버나이트 스왑이 발생할 때 EA는 가격 조정과 장기 포지션 보유 모두에서 이익을 얻을 수 있습니다. US30을 위해 설계되었으며, 실험 및 교육용으로 사용될 것을 권장합니다. 역추세 거래는 특히 큰 로트 규모에서 상당한 위험을 수반합니다.
Fits five bivariate copulas on ranks, with Kendall's tau, tail dependence, the probability of joint extreme days, AIC and the conditional probabilities of pairs trading.
Online detection of changes in the mean or volatility (Adams-MacKay): probability of a change in the last k bars, current segment length, forecast, and an indicator.
Exact maximum likelihood of an Ornstein-Uhlenbeck spread and Bertram's optimal entry and exit levels for a given cost, with the expected length of a trade cycle.
For every closed position the script measures how far the price went against it (MAE) and in its favour (MFE), and shows what that says about your stops and exits. Table, summary on the chart and a CSV file. Read-only, it never trades.
A table on the chart: the typical spread of the symbol for every hour and weekday, read from the history of your broker. Green is cheap, red is expensive. Hours in server time, UTC or a city with the right summer time. Read-only.
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.
A lightweight tab bar for chart panels, drawn with the standard CCanvas class. One include file, several independent instances per chart, click selection, resizing and safe cleanup. Includes a demo Expert Advisor.
Candle countdown timer for Gold (XAUUSD), EURUSD and any symbol: time left on the current candle next to price or in a corner, spread, color change and alert before the close. Server time, no ticks needed. Open source code.
간단한 데모용 Expert Advisor: EMA 고속/저속 교차 진입(마감된 봉만 평가, 리페인팅 없음), ATR 기반 손절매 및 익절, 스프레드 필터, 헤징 및 네팅 계좌 모두에서 작동하는 포지션 관리 기능을 포함합니다. 호환성 테스트를 위한 Python 참조 구현본이 포함되어 있습니다. 이 예제는 실제 결과물을 보여주기 위한 것이며, 거래 권장 사항이 아닙니다. 첨부된 자산 곡선은 시뮬레이션 데이터로 생성된 것으로, 이 방법의 원리를 보여주기 위한 것이지 수익 우위를 입증하기 위한 것이 아닙니다.
RSI 고갈 신호, ATR 기반 청산 및 변동성 조정 스프레드 필터링을 기반으로 한 MetaTrader 5 전략 테스터용 오픈소스 EURUSD 전문가 자문가입니다.
Draws Asia, London and New York session boxes on the chart with each session's high and low.
Closes all open positions and optionally deletes pending orders with one click. Filter by symbol and magic number.
Parkinson, Garman-Klass, Rogers-Satchell and Yang-Zhang estimators, daily realized and bipower variance from intraday bars, and HAR volatility forecasts.
Five tests to tell a random walk from a mean-reverting series: KPSS, Phillips-Perron, DF-GLS, Zivot-Andrews with the break date, and the variance ratio.
Drag the stop-loss line and read the lot size that risks exactly your money or percent. The CRiskSizer class does the same in an EA: lot rounded down, minimum lot never forced, max lot, volume limit, stop level and margin checked.
CBrokerTime converts server time, UTC, New York, London, Sydney and Tokyo with the real summer time of every year and finds your broker's clock from the history (also in the tester). The indicator draws session lines and a clock panel.
A clean Heikin Ashi indicator that draws on the main chart window. It also adds one horizontal line at the average price, (Open + High + Low + Close) / 4, of the last closed candle of a chosen timeframe. By default this is H1, and the line uses the normal candles, not Heikin Ashi.
금과 24/7 비트코인 차트에서 주말 CME 갭을 찾아내고, 가격이 해당 갭으로 되돌아올 때까지 차트에 모든 미충족 갭을 유지하며, 갭이 얼마나 자주 메워졌는지, 얼마나 빨리 메워졌는지, 가격이 처음에 얼마나 멀리 움직였는지, 그리고 갭을 매도했다면 어떤 수익을 냈을지를 보여줍니다. 리페인팅이 없으며, Expert Advisor용 버퍼가 포함되어 있습니다.
금(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년 동안 수익을 냈습니다.
Market structure indicator for Gold (XAUUSD), EURUSD and any symbol: swing highs and lows with HH HL LH LL labels, BOS and CHoCH drawn on closed candles, alerts and 4 buffers for EAs. Open source code.
다중 시간대 편향, ATR 손절/익절 제안, 추적 손절 기능, 원클릭 매수/매도/전체 청산 기능을 갖춘 차트 내 드래그 가능한 수동 거래 패널입니다.
프로프 펌 계좌를 위한 계좌 단위 보호 기능입니다. 계좌 내 모든 포지션을 모니터링하며, 일일 또는 최대 손실 한도에 도달하면 모든 포지션을 청산하고, 포지션당 위험 노출 금액을 제한하며, 스탑 주문이 설정되지 않은 포지션을 청산하고, 시장 변동성이 큰 뉴스가 발표될 때 포지션을 정리할 수 있습니다.
충동 캔들을 표시합니다: 캔들 몸통이 최소 ATR × 배수 이상, 캔들 몸통이 캔들 범위의 설정된 비율 이상, 종가가 극값 근처에 위치, 선택적으로 틱 거래량 확인. 강세 충동 캔들 아래에는 녹색 화살표, 약세 충동 캔들 위에는 빨간색 화살표가 표시됩니다. 마감된 봉만 표시하며, 재그림 현상은 없습니다. 신호는 두 개의 버퍼에 저장되어 있으므로, Expert Advisor가 iCustom을 통해 이를 읽을 수 있습니다.
슈퍼트렌드의 방향성과 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.
Detects the broker's GMT offset and its daylight-time rule (fixed, US or European) from the weekly closes in the H1 history, the same way live and in the Strategy Tester, with functions that convert New York times to server time and back.
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.
Shows the broker's hidden financing markup and the carry for every symbol, as annual % of notional.
Is the best of many strategies really better than the benchmark? Hansen's SPA test, White's Reality Check, Romano-Wolf StepM and the model confidence set.
금(Gold)을 대상으로 한 터틀(Turtle) 방식의 돈치안(Donchian) 브레이크아웃 전략으로, ATR 트레일링 스톱, 터틀 청산 채널, 고정 목표가 등 세 가지 청산 방식이 동시에 적용됩니다. 2025년과 2026년 XAUUSD 1시간(H1) 및 4시간(H4) 차트에서 백테스트를 진행한 결과, 12가지 조합 모두에서 수익을 냈습니다. 리페인팅이 없으며, Expert Advisor용 버퍼가 포함되어 있습니다.
마크는 N개의 마감된 봉이 이를 확인한 후에야 스윙 고점과 저점을 표시하므로, 그려진 스윙은 절대 이동하거나 사라지지 않습니다.
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.
Unit root and cointegration tests (ADF, Engle-Granger, Johansen) with MacKinnon p-values, hedge ratio, half-life and z-score of the spread, and a pair scanner.
Kalman filter and smoother with an exact diffuse start, missing values and maximum likelihood: local level, local linear trend and a regression whose hedge ratio drifts.
Gaussian hidden Markov model fitted by Baum-Welch: regime probabilities without look-ahead, most likely path, expected durations and regime forecasts.