0
0
Çatalla 1
şunun yansıması https://github.com/A6-9V/MQL5-Google-Onedrive.git eşitlenme: 2026-04-11 11:30:57 +00:00
MQL5-Google-Onedrive/scripts
copilot-swe-agent[bot] e23f7cbb90 Add executable permissions to scripts and create verification document
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-06 20:41:06 +00:00
..
ci_validate_repo.py Add executable permissions to scripts and create verification document 2026-01-06 20:41:06 +00:00
deploy_mt5.sh Add executable permissions to scripts and create verification document 2026-01-06 20:41:06 +00:00
example_custom_script.py Add comprehensive automation startup scripts for Windows, Linux, and WSL 2026-01-06 04:21:36 +00:00
package_mt5.sh Add executable permissions to scripts and create verification document 2026-01-06 20:41:06 +00:00
README.md Add scripts directory README with usage guide 2026-01-06 04:29:14 +00:00
startup.bat Add comprehensive automation startup scripts for Windows, Linux, and WSL 2026-01-06 04:21:36 +00:00
startup.ps1 Address code review feedback 2026-01-06 04:28:13 +00:00
startup.sh Address code review feedback 2026-01-06 04:28:13 +00:00
startup_orchestrator.py Add executable permissions to scripts and create verification document 2026-01-06 20:41:06 +00:00
test_automation.py Add automation features documentation and integration tests 2026-01-06 04:25:48 +00:00

Scripts Directory

This directory contains automation scripts for the MQL5 trading system.

Automation Scripts

Startup Scripts (Choose one based on your platform)

  • startup.bat - Windows batch script for simple automation
  • startup.ps1 - PowerShell script with advanced features (recommended for Windows)
  • startup.sh - Bash script for Linux/WSL
  • startup_orchestrator.py - Python orchestrator (cross-platform)

Helper Scripts

  • example_custom_script.py - Template for creating your own custom scripts
  • test_automation.py - Integration tests for all automation scripts

Deployment Scripts

  • ci_validate_repo.py - Repository validation (used by CI)
  • deploy_mt5.sh - Deploy MQL5 files to MT5 data folder
  • package_mt5.sh - Create distribution package

Quick Start

Windows Users

# Run once
.\startup.ps1

# Setup auto-start on boot
.\startup.ps1 -CreateScheduledTask

# Test without executing
.\startup.ps1 -DryRun

Linux/WSL Users

# Run once
./startup.sh

# Setup auto-start on boot (systemd)
./startup.sh --setup-systemd

# Setup auto-start on boot (cron)
./startup.sh --setup-cron

Python Orchestrator (All Platforms)

# Create default configuration
python startup_orchestrator.py --create-config

# Run with default config
python startup_orchestrator.py

# Run with monitoring
python startup_orchestrator.py --monitor 3600

# Dry run
python startup_orchestrator.py --dry-run

Testing

Run the integration tests:

python test_automation.py

Configuration

Edit ../config/startup_config.json to customize:

  • What programs to start
  • Startup order and delays
  • Platform-specific settings
  • MT5 terminal path

Documentation

Full documentation available in ../docs/:

  • Startup_Automation_Guide.md - Complete guide
  • Quick_Start_Automation.md - Quick reference
  • Windows_Task_Scheduler_Setup.md - Windows setup details

Support