SahrJohn
8f7d94ef58
fix: margin-aware lot sizing and broker stops-level clamping
...
- NormalizeLots: derive rounding digits from SYMBOL_VOLUME_STEP instead of
hardcoded 2, floor onto the step grid before clamping to min/max
- FitLotsToMargin: shrink volume to fit 90% of free margin via
OrderCalcMargin; skip the trade when even VOLUME_MIN cannot be afforded
(fixes repeated 'not enough money' rejects on XAUUSD)
- GetSLPoints/GetTPPoints: clamp to SYMBOL_TRADE_STOPS_LEVEL + spread
(fixes repeated 'invalid stops' rejects on GBPUSD counter trades)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 16:19:12 -05:00
hooks
Skip compile step when MetaEditor GUI is already open
2026-07-14 16:05:11 -05:00
.gitignore
Add auto-versioning post-commit hook for build-NNNN tags
2026-07-14 16:01:01 -05:00
AIGateway.mqh
fix: correct StringToCharArray call and add XAUUSD chart template
2026-03-02 23:36:51 +00:00
AILabels.mqh
feat: replace OpenAI with n8n AI Gateway + session + watchlist
2026-02-20 06:34:27 +00:00
AISession.mqh
feat: replace OpenAI with n8n AI Gateway + session + watchlist
2026-02-20 06:34:27 +00:00
AISignalConfirmation.mqh
feat: replace OpenAI with n8n AI Gateway + session + watchlist
2026-02-20 06:34:27 +00:00
CandlePatterns.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
ChartLabels.mqh
feat: replace OpenAI with n8n AI Gateway + session + watchlist
2026-02-20 06:34:27 +00:00
ChartStructure.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
compile.log
feat: replace OpenAI with n8n AI Gateway + session + watchlist
2026-02-20 06:34:27 +00:00
Config.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
ea_template.tpl
fix: correct StringToCharArray call and add XAUUSD chart template
2026-03-02 23:36:51 +00:00
FibLevels.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
GlobalVariables.mqh
feat: update EA gateway, NN, news, and execution modules
2026-02-27 21:49:28 -06:00
Indicators.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
InputParams.mqh
feat: update EA gateway, NN, news, and execution modules
2026-02-27 21:49:28 -06:00
MarketState.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
MasterAICoordinator.mqh
feat: replace OpenAI with n8n AI Gateway + session + watchlist
2026-02-20 06:34:27 +00:00
NeuralNet.mqh
feat: update EA gateway, NN, news, and execution modules
2026-02-27 21:49:28 -06:00
NewsEngine.mqh
feat: update EA gateway, NN, news, and execution modules
2026-02-27 21:49:28 -06:00
nn_model.onnx
chore: add local gitignore and nn model artifact
2026-02-26 10:35:54 -06:00
NNDataLogger.mqh
feat: update EA gateway, NN, news, and execution modules
2026-02-27 21:49:28 -06:00
NNFeatures.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
PatternCoordinator.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
PositionManagement.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
Praise.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
profitgtx.mq5
feat: update EA gateway, NN, news, and execution modules
2026-02-27 21:49:28 -06:00
README.md
Initial commit
2026-02-15 04:52:07 +00:00
ReEntry.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
SignalCoordinator.mqh
feat: update EA gateway, NN, news, and execution modules
2026-02-27 21:49:28 -06:00
TradeExecution.mqh
fix: margin-aware lot sizing and broker stops-level clamping
2026-07-14 16:19:12 -05:00
TradingSetups.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00
Utilities.mqh
fix: margin-aware lot sizing and broker stops-level clamping
2026-07-14 16:19:12 -05:00
Warnings.mqh
Sync from vizion-trading infra/mt5/ea_local
2026-02-15 05:13:55 +00:00