Files

21 lines
806 B
Bash

# Use the data folder of the already logged-in Pi terminal. No password is needed.
MT5_DATA_PATH=C:\Users\YOUR_WINDOWS_USER\AppData\Roaming\MetaQuotes\Terminal\YOUR_PI_TERMINAL_ID
MT5_PORT=18901
MT5_ENABLE_LIVE_ORDERS=false
# Automatic execution requires both live=true and auto=true. YYYY-MM-DD in Bangkok time.
MT5_AUTO_TRADE=false
MT5_AUTO_START_DATE=
# Empty end date means every trading day until paused.
MT5_AUTO_END_DATE=
# Pi server-clock timestamps observed as Bangkok time (+07:00): 420 minutes.
# Use 0 only if that terminal actually returns UTC epochs. Do not infer from stale ticks.
MT5_SERVER_UTC_OFFSET_MINUTES=420
MT5_MAGIC=1061501
MT5_MODEL_START=2026-01-01
MT5_HISTORY_BARS=1000
MT5_EOD_HOUR=20
MT5_EOD_MINUTE=30
MT5_MAX_ENTRY_PREMIUM_PCT=2
MT5_FEE_RESERVE_PCT=0.2
MT5_REFRESH_SECONDS=60