Experts: BGC Grid EA

 

BGC Grid EA:

Regime-adaptive grid EA with three operating modes (BGT/TGT/MGT), ATR-dynamic spacing, CUSUM change-point detection, equity-based cycle management, and a full CSV diagnostics pipeline. Based on the Bi-Directional Grid Constrained (BGC) stochastic process research by Taranto & Khan (2020–2022).

BGC Grid EA

Author: Muhammad Minhas Qamar

 
Before testing, it's recommended to disable free-margin closures and check if your broker has Gold with 2 or 3 decimal prices. If gold has 3 decimal prices like "5123.231" than the default parameters are need to be modified significantly. 
 
How can we test. Once we created the folder post we have deployed the files in folder but still not working  
 
Mino Ista #:
How can we test. Once we created the folder post we have deployed the files in folder but still not working  
What do you mean by "not working"? Are there compilation errors? Is it not trading? 

if it's the first, kindly put all the include files in a folder somewhere in Expert/ directory. You can create a folder in Experts and try compiling once all the files are under 1 folder. 
 
Automated-Trading:

BGC Grid EA:

Author: Muhammad Minhas Qamar

Can you provide any insight to the parameters that allowed you to achieve the 2.2PF?  I've spent a few days working on variations added some additional filters and nothing has come close to that PF for the same time range.  The py scripts for tuning were unable to improve performance in any meaningful way.  Thanks in advance. 
 
Eric Scully #:
Can you provide any insight to the parameters that allowed you to achieve the 2.2PF?  I've spent a few days working on variations added some additional filters and nothing has come close to that PF for the same time range.  The py scripts for tuning were unable to improve performance in any meaningful way.  Thanks in advance. 

The backtest was done on XAUUSD with the defaults + BGT mode OFF. If your broker has 3 decimal gold prices, than the default input parameters won't work. 

The py scripts should be used in a sensible order. Backtest on 2-3 years of data, run calibration script, apply the suggestions, forward test on 1-2 years of data. 

 
Muhammad Minhas Qamar #:

The backtest was done on XAUUSD with the defaults + BGT mode OFF. If your broker has 3 decimal gold prices, than the default input parameters won't work. 

The py scripts should be used in a sensible order. Backtest on 2-3 years of data, run calibration script, apply the suggestions, forward test on 1-2 years of data. 

Thanks for the quick reply I will make some adjustments and get back to you with my findings. 
 
Ganz klar ist der Code Overfitted, testen man ihn vom 01.01.2025 - 01.01.2026 ist der Unbrauchbar