mirror of
https://github.com/rithsila/MT5-EA-Sniper-Strategy.git
synced 2026-08-15 19:58:12 +00:00
- Consolidated all trading logic into single SniperEA.mq5 file - Fixed all compilation errors (0 errors, minimal warnings) - Removed complex modular structure that was causing issues - Added comprehensive pattern detection (OB, BOS, FVG, Liquidity Sweeps) - Implemented multi-timeframe analysis framework - Added VS Code configuration for MT5 development - Created implementation plan for completing core trading logic - Added validation report and build scripts - Backup original working version as SniperEA_backup.mq5 Status: 45% complete - Pattern detection working, core trading logic pending
210 lines
6.6 KiB
JSON
210 lines
6.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "MQL5: Compile Current File",
|
|
"type": "shell",
|
|
"command": "powershell",
|
|
"args": [
|
|
"-ExecutionPolicy", "Bypass",
|
|
"-File", "${workspaceFolder}/build.ps1",
|
|
"-FilePath", "${file}",
|
|
"-Deploy"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": true
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "mql5",
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(.*)\\((\\d+),(\\d+)\\)\\s*:\\s*(warning|error)\\s*(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
},
|
|
{
|
|
"regexp": "^✗\\s*(.*)$",
|
|
"severity": "error",
|
|
"message": 1
|
|
},
|
|
{
|
|
"regexp": "^⚠\\s*(.*)$",
|
|
"severity": "warning",
|
|
"message": 1
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
},
|
|
{
|
|
"label": "MQL5: Compile with Script",
|
|
"type": "shell",
|
|
"command": "\"C:\\Program Files\\MetaTrader 5\\MetaEditor64.exe\"",
|
|
"args": [
|
|
"/compile",
|
|
"/script",
|
|
"${file}"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "mql5",
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
"pattern": {
|
|
"regexp": "^(.*)\\((\\d+),(\\d+)\\)\\s*:\\s*(warning|error)\\s*(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
},
|
|
{
|
|
"label": "MQL5: Compile SniperEA",
|
|
"type": "shell",
|
|
"command": "powershell",
|
|
"args": [
|
|
"-ExecutionPolicy", "Bypass",
|
|
"-File", "${workspaceFolder}/build.ps1",
|
|
"-FilePath", "${workspaceFolder}\\src\\SniperEA.mq5",
|
|
"-Deploy",
|
|
"-Deploy"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": true
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "mql5",
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(.*)\\((\\d+),(\\d+)\\)\\s*:\\s*(warning|error)\\s*(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
},
|
|
{
|
|
"regexp": "^✗\\s*(.*)$",
|
|
"severity": "error",
|
|
"message": 1
|
|
},
|
|
{
|
|
"regexp": "^⚠\\s*(.*)$",
|
|
"severity": "warning",
|
|
"message": 1
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
},
|
|
{
|
|
"label": "MQL5: Check Syntax",
|
|
"type": "shell",
|
|
"command": "\"C:\\Program Files\\MetaTrader 5\\MetaEditor64.exe\"",
|
|
"args": [
|
|
"/check",
|
|
"${file}"
|
|
],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "mql5",
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
"pattern": {
|
|
"regexp": "^(.*)\\((\\d+),(\\d+)\\)\\s*:\\s*(warning|error)\\s*(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
},
|
|
{
|
|
"label": "MQL5: Verify Deployment",
|
|
"type": "shell",
|
|
"command": "powershell",
|
|
"args": [
|
|
"-ExecutionPolicy", "Bypass",
|
|
"-File", "${workspaceFolder}/simple_check.ps1"
|
|
],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": false,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": true
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
},
|
|
{
|
|
"label": "MQL5: Open MT5 Directory",
|
|
"type": "shell",
|
|
"command": "explorer",
|
|
"args": [
|
|
"C:\\Users\\$\\AppData\\Roaming\\MetaQuotes\\Terminal\\D0E8209F77C8CF37AD8BF550E51FF075\\MQL5"
|
|
],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": false,
|
|
"reveal": "never",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
}
|
|
]
|
|
}
|