Skip to content
other26개 활성 규칙2026-09-30 검증 완료

Meta Trader5 .gitignore 템플릿

Standard Meta Trader5 gitignore template from upstream github/gitignore collection. GitHub 공식 리포지토리 패턴과 결정론적으로 병합되어 의존성 폴더, 빌드 결과물, 로컬 환경 변수 파일로부터 저장소를 깨끗하게 지켜줍니다.

인터랙티브 스택 생성기

전체 생성기에서 열기
Search for templates
빠른 추가:
선택됨1
Meta Trader5
선택된 템플릿 (1)
.gitignore
26개 규칙
### Meta Trader5 ###
# MetaTrader 5 and MQL5 gitignore template
# Project homepage: https://www.metatrader5.com/en
# Compiled MQL5 executables (binaries)
# These are generated from .mq5 source files and should not be committed.
*.ex5
# For MQL4 compatibility if you also manage MT4 projects in a similar structure
*.ex4
# Log files
# Terminal logs, strategy tester logs, and custom logs from Print() functions.
*.log
# Strategy Tester logs
*.slog
# Strategy Tester specific files
# History data, optimization results, and temporary files used by the tester.
# FXT files (history data for testing)
*.fxt
# History data files (can be large)
*.hst
# Initialization files (often generated by tester or EAs)
*.ini
# Data files (various purposes, often temporary)
*.dat
# CSV export files (e.g., from tester reports)
*.csv
# Journal files (tester journal)
*.jrn
# Market Watch sets and profiles
# User-specific lists of symbols in Market Watch, and terminal profiles.
# Market Watch symbol sets
*.set
# Chart templates
*.tpl
# Chart settings files (can be generated when saving templates or profiles)
*.chr
# External libraries (DLLs)
# If you use custom DLLs, you might want to ignore them if they are built separately
# and not part of your MQL5 source code repository.
*.dll
# User-specific configuration and credentials
# Files containing sensitive information or local user settings.
# Environment variables (e.g., for Python integration credentials)
.env
# Configuration files (if not meant to be shared)
*.cfg
# Be careful: if you have config JSONs you *do* want to commit, add specific exceptions.
*.json
# Example: !config.json (to include config.json but ignore other *.json)
# Temporary files and backup files generated by MetaEditor
# Temporary files (e.g., ~MyScript.mq5)
*.~*
# Backup files (e.g., MyScript.mq5.bak)
*.bak
*.mqh.bak
*.mq5.bak
# MetaEditor project files
# Project files for MetaEditor workspaces.
.mqproj
# Python specific ignores (if you also keep Python scripts or Jupyter notebooks in this repository)
# These are relevant if your Git repo root is higher up (e.g., the terminal folder itself)
# or if you mix Python code within your MQL5 structure.
# Python compiled bytecode cache
__pycache__/
# Jupyter Notebook checkpoints
.ipynb_checkpoints/
# Python compiled files
*.pyc
# Python dynamic modules
*.pyd
79줄•UTF-8
결정론적 파이프라인

Meta Trader5 .gitignore 원본 소스

크롤링 가능한 공식 업스트림 원본 템플릿
metatrader5.gitignore•78 lines•UTF-8
# MetaTrader 5 and MQL5 gitignore template
# Project homepage: https://www.metatrader5.com/en
# Compiled MQL5 executables (binaries)
# These are generated from .mq5 source files and should not be committed.
*.ex5
# For MQL4 compatibility if you also manage MT4 projects in a similar structure
*.ex4
# Log files
# Terminal logs, strategy tester logs, and custom logs from Print() functions.
*.log
# Strategy Tester logs
*.slog
# Strategy Tester specific files
# History data, optimization results, and temporary files used by the tester.
# FXT files (history data for testing)
*.fxt
# History data files (can be large)
*.hst
# Initialization files (often generated by tester or EAs)
*.ini
# Data files (various purposes, often temporary)
*.dat
# CSV export files (e.g., from tester reports)
*.csv
# Journal files (tester journal)
*.jrn
# Market Watch sets and profiles
# User-specific lists of symbols in Market Watch, and terminal profiles.
# Market Watch symbol sets
*.set
# Chart templates
*.tpl
# Chart settings files (can be generated when saving templates or profiles)
*.chr
# External libraries (DLLs)
# If you use custom DLLs, you might want to ignore them if they are built separately
# and not part of your MQL5 source code repository.
*.dll
# User-specific configuration and credentials
# Files containing sensitive information or local user settings.
# Environment variables (e.g., for Python integration credentials)
.env
# Configuration files (if not meant to be shared)
*.cfg
# Be careful: if you have config JSONs you *do* want to commit, add specific exceptions.
*.json
# Example: !config.json (to include config.json but ignore other *.json)
# Temporary files and backup files generated by MetaEditor
# Temporary files (e.g., ~MyScript.mq5)
*.~*
# Backup files (e.g., MyScript.mq5.bak)
*.bak
*.mqh.bak
*.mq5.bak
# MetaEditor project files
# Project files for MetaEditor workspaces.
.mqproj
# Python specific ignores (if you also keep Python scripts or Jupyter notebooks in this repository)
# These are relevant if your Git repo root is higher up (e.g., the terminal folder itself)
# or if you mix Python code within your MQL5 structure.
# Python compiled bytecode cache
__pycache__/
# Jupyter Notebook checkpoints
.ipynb_checkpoints/
# Python compiled files
*.pyc
# Python dynamic modules
*.pyd

주요 제외 패턴 해설

빌드 및 컴파일 산출물

컴파일 과정에서 생성되는 바이나리, 중간 오브젝트 파일, 출력 결과물 폴더를 제외합니다.

*.dll

환경 변수 및 보안 키

API 키, 데이터베이스 비밀번호, 로컬 환경 변수(.env) 등 민감한 정보의 유출을 방지합니다.

.env

캐시 및 임시 작업 파일

컴파일러 캐시, 테스트 커버리지 보고서, 임시 작업 스크래치 파일을 제외하여 저장소를 가볍게 유지합니다.

*.log__pycache__/*.pyc

출처 및 라이선스 검증

라이선스:: CC0-1.0

이 파일을 프로젝트 루트 디렉터리에 .gitignore라는 이름으로 저장하세요. 새로 추가되거나 아직 추적되지 않은 파일에 즉시 적용됩니다.