2025-05-30 16:35:54 +02:00
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
//| Warrior_EA |
|
|
|
|
|
//| AnimateDread |
|
|
|
|
|
//| |
|
|
|
|
|
//+------------------------------------------------------------------+
|
|
|
|
|
string eaName = "Warrior_EA";
|
|
|
|
|
string tableschema = "year INTEGER, month INTEGER, day INTEGER, dayOfWeek INTEGER, hour INTEGER, minutes INTEGER, pattern STRING, direction STRING, entryPrice DOUBLE, exitPrice DOUBLE, result STRING";
|
|
|
|
|
bool IsBacktesting = false;
|
|
|
|
|
bool EnableITF = true;
|
|
|
|
|
bool EnableSessionFilter = true;
|
|
|
|
|
bool EnableNewsFilter = true;
|
2026-07-18 17:29:38 -04:00
|
|
|
bool EnableRiskGuard = true;
|
2025-05-30 16:35:54 +02:00
|
|
|
bool EnablePAI = (AIType == 0 || AIType == 3);
|
|
|
|
|
bool EnableCONV = (AIType == 1 || AIType == 3);
|
|
|
|
|
bool EnableLSTM = (AIType == 2 || AIType == 3);
|
2026-07-17 23:21:12 -04:00
|
|
|
//--- Unlike the Enable* flags above (fixed from inputs at file-load time), this one is only known at
|
|
|
|
|
//--- runtime - OnInit() sets it from CheckMarketDepthAvailability() before any signal is created, and
|
|
|
|
|
//--- OnDeinit() reads it back to decide whether MarketBookRelease() is needed. See
|
|
|
|
|
//--- Signals\SignalMarketDepth.mqh's class-level comment.
|
|
|
|
|
bool g_marketDepthAvailable = false;
|
2025-05-30 16:35:54 +02:00
|
|
|
//+------------------------------------------------------------------+
|