백테스트에서는 사용자가 가정한 비용만 반영됩니다. 순이익과 수익 계수는 해당 비용을 기준으로 측정되므로, 전략의 우위가 비용 선에 얼마나 근접해 있는지는 절대 드러나지 않습니다. 이 도구는 ‘전략의 우위가 사라지기 전까지 얼마나 많은 체결 비용을 감당할 수 있는가?’라는 질문에 직접적인 답을 제공합니다.
이 스크립트는 Date,Profit,Volume 파일(종료된 거래당 한 행)을 읽어들이고, ‘전문가’ 탭에 전체 보고서를 출력합니다:
입력. 입력 매개변수에 명시된 이름의 CSV 파일(기본값: Trades.csv)을 터미널의 MQL5\Files 폴더에 배치하십시오. 파일에는 Date, Profit, Volume 헤더가 포함되어야 하며, 마감된 거래 건당 한 행씩 기록되어야 합니다. Volume 열은 선택 사항입니다. 이 열이 누락된 경우, 비용은 랏(lot) 단위가 아닌 거래 건당으로 적용됩니다. 첫 실행 시 파일이 발견되지 않으면 스크립트가 재현 가능한 샘플을 생성하여 분석하므로, 결과를 즉시 확인할 수 있습니다. 보조 스크립트인 ExportCost.mq5는 거래 내역에서 파일을 생성합니다. 이 스크립트의 함수를 Expert Advisor에 복사하여 OnTester()에서 호출하거나, 독립 실행형 스크립트로 실행하십시오.
매개변수. InpFileName (읽을 CSV 파일); InpCostPerLot 및 InpCostFixed (가정된 랏당 및 거래당 비용); InpCushionTarget (만점을 받는 쿠션); InpThinMult (소폭 승리 임계값); InpErosionTol (승리 시 손실 허용 오차); InpWeightCushion, InpWeightPF, InpWeightErosion (세 가지 차원의 가중치, 자동으로 정규화됨).
이 도구는 순수 MQL5로 작성되었습니다. 외부 라이브러리, Python 또는 DLL이 필요하지 않습니다.
MetaQuotes Ltd에서 영어로 번역함.
원본 코드: https://www.mql5.com/en/code/74663
BBandsPsar
BBandsPsar는 볼린저 밴드의 변동성 분석 체계와 파라볼릭 SAR의 추세 추종 논리를 결합한 맞춤형 하이브리드 지표입니다. 이 두 가지 방법론을 통합함으로써, 단일하고 일관된 도구 내에서 시장 변동성과 새롭게 형성되는 추세 역학을 효과적으로 조화시킵니다.
GoldScalpBot — Autonomous XAUUSD Scalper with Local App Bridge (IC Markets)
What it does DEMO = unlimited free. LIVE = 7-day trial, then rent GoldScalping Pro on MQL5 Market: https://www.mql5.com/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)
SMC Order Block Detector with Alert for MT5
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.
Bands StochRSI Extreme Reversal
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.