@echo off
title Signal Bot - Auto Trade
color 07

:: Disable QuickEdit Mode via Registry (sekali saja)
reg add "HKEY_CURRENT_USER\Console" /v QuickEdit /t REG_DWORD /d 0 /f >nul 2>&1

echo ========================================
echo   SIGNAL BOT - AUTO TRADE LAUNCHER
echo   %date% %time%
echo ========================================
echo.

cd /d "%~dp0"

:loop
echo [%date% %time%] Starting Signal Bot...
python signal_bot.py

echo.
echo [%date% %time%] Bot stopped! Restarting in 5 seconds...
echo Press Ctrl+C to exit.
timeout /t 5 /nobreak >nul
goto loop
