2.4 KiB
2.4 KiB
Gitea Setup Instructions
Step 1: Create Access Token
- Login to Gitea: https://git.fetcherpay.com
- Click your profile (top right) → Settings
- Go to "Applications" tab
- Generate Token:
- Token Name:
mql-trading-bots - Scopes: Check
repo(full repository access)
- Token Name:
- Copy the token (starts with something like
a1b2c3...)
Step 2: Create Repository via API
Run this command with your token:
curl -X POST "http://10.152.183.192:3000/api/v1/user/repos" \
-H "Content-Type: application/json" \
-H "Authorization: token YOUR_TOKEN_HERE" \
-d '{
"name": "mql-trading-bots",
"description": "MetaTrader 4/5 Expert Advisors - MultiSignal Confluence Trading System",
"private": true,
"auto_init": false
}'
Step 3: Add Remote and Push
cd ~/mql-trading-bots
# Add Gitea remote
git remote add origin http://10.152.183.192:3000/garfield/mql-trading-bots.git
# Or use SSH if configured:
# git remote add origin git@git.fetcherpay.com:garfield/mql-trading-bots.git
# Push to Gitea
git push -u origin master
Alternative: Create via Web UI
- Go to https://git.fetcherpay.com
- Click "+" → "New Repository"
- Repository Name:
mql-trading-bots - Description:
MetaTrader 4/5 Expert Advisors - Visibility: Private
- Uncheck "Initialize Repository"
- Click "Create Repository"
- Follow the "Push an existing repository" instructions
Repository Contents
mql-trading-bots/
├── README.md # This documentation
├── MultiSignal_Confluence_EA.mq5 # Main EA (v1.11)
├── MultiSignal_Confluence.mq5 # Indicator version
├── HarmonicPatternFinderV2_Optimized.mq5 # Harmonic patterns
├── CandlestickPatternEA_Fixed.mq5 # Candlestick EA
├── FadePivot2_v4_Fixed.mq5 # Pivot strategy
├── Bot10001.mq5 # Bot series v1
├── Bot10002.mq5 # Bot series v2
├── EnhancedEA.mq5 # Enhanced features
└── ...
Backup Strategy
- Code: Pushed to Gitea (this repo)
- Settings: Documented in README.md
- Docker: MT5 config in
~/mt5-docker/
Restore Instructions
If you lose access again:
- Clone from Gitea:
git clone http://git.fetcherpay.com/garfield/mql-trading-bots.git - Copy
.mq5files to MT5's MQL5/Experts folder - Compile in MetaEditor
- Deploy to charts