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

사용자 등급 기준 MetaTrader 5용 최고의 스크립트 - 3

코드를 제출하세요

Most reports give you one drawdown number - the worst one. This read-only script measures all three that matter on your own closed history: depth, duration and frequency. It prints the maximum drawdown with its peak, trough and recovery dates, the longest underwater period in days, whether you are at a new peak or how far below it and for how long, and a table of the deepest episodes with the days each took to recover. An episode is not a losing streak: it closes only when a NEW high is made, so a dip that never reclaims the old peak stays the same episode - which is what makes the duration column meaningful. Entry commissions are included and a partial close counts as one round turn, so the curve carries full cost. Optional percentage figures and CSV export. Deposits and withdrawals are excluded: this is the drawdown of your trading, not of your balance line.

Neural Loss-Pattern Auditor는 네이티브 MQL5로 처음부터 직접 작성된 소규모 피드포워드 신경망을 과거 체결된 거래 내역을 기반으로 학습시켜, 행동 및 시장 맥락 특성이 어떤 거래가 손실을 입을 가능성이 더 높은지 예측할 수 있는지 테스트합니다. 이 도구는 단순한 기준 모델, 확률 보정 테이블, 순열 특징 중요도 순위, 그리고 권장 사항이 포함된 구성 가능한 A-F 복합 등급에 비해 정확도가 향상되었음을 보여줍니다. 첫 실행 시 내장된 합성 데모 데이터를 사용하므로 별도의 설정 없이도 결과를 즉시 확인할 수 있습니다. 대신 실제 계좌 내역을 분석하려면 입력값 중 하나를 InpUseDemoData=false로 설정하십시오. 순수 MQL5: 외부 라이브러리, 파이썬, 어떠한 종류의 AI 서비스도 사용하지 않습니다.

A read only MT5 script that reports broker symbol specifications, volume limits, price settings, execution modes, trading permissions, margin requirements and estimated profit values.

The script prices one night of holding: for every open position and every Market Watch symbol it prints the swap per night in your account currency, the annualized cost in percent for both directions, the broker's rate-independent markup (|swap long| + |swap short| never depends on interest rates - it is pure broker margin), and the triple-swap day. Honest "n/a" where a swap mode cannot be converted reliably.

Checks your trade history against common prop-firm challenge rules — profit target, max daily loss, max drawdown, consistency rule, and minimum trading days — with a clear PASS/FAIL report.

A simple MQL5 script that calculates the correct lot size for a trade based on your account risk percentage and stop loss distance in pips, so every trade risks a consistent, controlled amount of your balance.

Tests whether live closing deals still match the backtest of an Expert Advisor. A bootstrap-calibrated CUSUM detector raises an alarm and estimates when the drift began, a two-window check separates a short dip from a lasting decline, and an expectancy decomposition shows whether the win rate or the trade sizes changed. The script generates demonstration data on the first run and is written in pure MQL5.

Script that lists the global variables of the terminal with value, last access time and age, filtered by prefix, substring and age. It exports them to CSV, deletes the matching ones after a confirmation and a backup, and restores them from a CSV file.

Resamples your closed trades 10,000 times to show whether your average trade is an edge or could still be luck: the 95% range of the average and the chance it is below zero.

This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.

이 함수는 거래를 개시하는 주요 로직을 수행합니다. 사용자가 제공한 심볼 정보와 파라미터를 기반으로 개시 가격, 이익실현가, 손절가를 계산합니다. 심볼, 거래량, 주문 유형, 편차, 코멘트, 매직넘버 등 필요한 정보가 포함된 거래 요청(MqlTradeRequest) 준비 주문 요청을 전송하고 결과를 받기 위해 OrderSend 함수를 호출합니다. SetTypeFillingBySymbol 함수: 심볼의 체결 정책에 따라 주문 체결 유형(체결 또는 종료, 즉시 또는 취소, 반환)을 결정합니다. GetMinTradeLevel 함수: 동결 수준과 심볼 정지 수준을 기준으로 최소 작동 수준을 계산합니다. 최소 수준이 특정 한도 내에 있는지 조정하고 그 결과를 반환합니다.

단일 거래의 손절가를 시가에 맞춰 수동으로 조정하는 것은 비교적 간단한 작업이지만 수많은 포지션을 개별적으로 관리하는 것은 번거롭고 시간이 많이 소요될 수 있습니다. MT4/MT5용 티틱 임파스 손익분기점 스크립트는 이 과정을 간소화하여 여러 포지션을 거래하는 트레이더에게 효율성과 편의성을 제공합니다.

불 또는 베어 바의 연속 개수를 계산하는 샘플 코드입니다.

The script obtains information about the number, types and sizes of input and output tensors in an ONNX model

트랩 뉴스용 스크립트 높은 임팩트

스크립트를 사용하여 MT5 창에서 현재 가격에 지정된 손절가(핍)와 테이크프로핏(핍)으로 매수 포지션을 오픈할 수 있습니다.

Set StopLoss by just dragging and dropping script on the desired price level.

hi, this code need your telegram token and telegram chat id . you can make robot by BotFather and then search in google how you can find telegram token and chat id then attach them to this code . now every trade would be signals on your telegram channel.

This is the version 2 of my script to export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. More columns were added and fixed minor errors. The code for processing and exporting data was rewritten.

소프트웨어 구현에 비해 계산 속도가 약 100배 빨라진 OpenCL의 만델브로 프랙탈 계산의 작은 작동 예제입니다.

Simple script for apply template and/or timeframe to all charts opened.

The script controls the display of time and price scales for all open charts or only for one chart.

The script shows the trade volume in lots required to move the position to a desired level.

Display interactive HTML graph of the account balance inside the web browser.

Encapsulating a family of interchangeable algorythms which can be modified independently from the client.

Sec-WebSocket-Key 생성기

TradeReportExporter 스크립트는 거래(거래) 내역을 편리한 CSV 파일로 내보내도록 설계되었습니다. 스크립트가 설치된 상품의 지난 1년간 모든 거래에 대한 데이터를 자동으로 수집합니다. 파일에는 날짜 및 시간, 거래 유형(매수/매도), 가격, 거래량, 수수료, 수익/손실 등의 데이터가 포함됩니다. 결과는 Excel 또는 다른 스프레드시트 편집기에서 열 수 있는 파일로 저장됩니다.

전략의 수익이 얼마나 집중되어 있는지, 즉 수익 우위가 폭넓게 분포되어 있는지 아니면 소수의 운 좋은 거래에 의존하고 있는지를 측정하는 네이티브 MQL5 스크립트입니다. 이 스크립트는 거래별 CSV 파일(날짜, 수익)을 읽어와 최대 규모 거래에서 발생한 순이익의 비중, 승리 거래의 지니 계수, 집중도 프로필, 최상위 몇 건의 거래를 제외하고 순이익 및 수익 계수를 재계산하는 생존 테스트, 그리고 설정 가능한 일관성 한도 대비 최대 일일 수익 등을 분석하여, 이를 집중도 및 일관성 점수(A+ ~ F)로 통합하고 권장 사항을 제공합니다. 파일이 발견되지 않으면 샘플 세트를 생성하므로 설치 후 바로 실행할 수 있습니다. 외부 라이브러리, 파이썬, AI가 필요하지 않습니다. 보조 프로그램인 ExportTrades.mq5는 사용자의 거래 내역에서 파일을 생성합니다.

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

청산된 포지션의 거래 내역(CSV 파일 또는 동반 스크립트인 RuinExport.mq5가 현재 계좌의 거래 내역에서 자동으로 생성한 파일)을 읽어들이고, 다음 네 가지 독립적인 위험 지표를 보고합니다: 손실 발생 후 거래량 증가, 평균 가격이 더 나빠지는 중복된 동일 방향 포지션, 수익과 손실 간의 수익 비대칭성, 그리고 거래당 지정된 위험 수준에 따른 고전적인 파산 위험 추정치입니다. 이 네 가지 점수는 하나의 A~F 등급으로 통합되며, 평이한 언어로 된 권장 사항이 함께 제공됩니다. CSV 파일이 발견되지 않으면 스크립트가 재현 가능한 데모 거래 내역을 자동으로 생성하므로, 첫 실행 시에도 보고서를 확인할 수 있습니다.

Opens a virtual bracketed trade on every M1 bar, walks it forward on the real tick history, and reports for a sweep of stop distances how often 1-minute OHLC modelling would score the trade the wrong way round.

A script for placing a BuyStop order

The script allows to quickly remove indicators from charts.

이 스크립트는 입력 및 출력, 이름, 속성에 대한 인사이트를 제공하여 ONNX 모델의 구조를 검사하는 데 유용합니다. 특히 머신 러닝 애플리케이션에 사용되는 ONNX 모델의 특성을 디버깅하고 이해하는 데 유용합니다.

The script deletes all pending orders on all symbols at a time.

Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or points. By default, the points value is set to 400, which means the trade will be placed 400 points away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.

다음은 wininet.dll 라이브러리를 사용하여 인터넷에서 페이지(파일)를 다운로드하는 방법을 보여주는 간단한 예입니다.

The script draws horizontal lines representing BUY (blue) and SELL (red) orders.

이 기능은 거래를 개시하는 주요 로직을 수행합니다. 사용자가 제공한 심볼 정보와 매개변수를 기반으로 개시 가격, 이익실현가, 손절가를 계산합니다. 심볼, 거래량, 주문 유형, 슬리피지, 코멘트, 매직넘버 등 필요한 정보가 포함된 거래 요청(MqlTradeRequest)을 준비합니다. OrderSend 함수를 호출하여 거래 요청을 전송하고 결과를 받습니다. 심볼별 주문 유형 설정: 심볼의 주문 체결 정책에 따라 주문 체결 유형(체결 또는 취소, 즉시 또는 취소 또는 반환)을 결정합니다. GetMinTradeLevel 함수: 심볼의 동결 레벨과 스톱 레벨을 기준으로 최소 거래 레벨을 계산합니다. 최소 레벨이 특정 한도 이내가 되도록 조정하고 결과를 반환합니다.

이 스크립트는 현재 종목에 대해 조회 가능한 시세 내역을 불러옵니다.

12345678910