Warrior_EA/Variables/Variables.mqh

21 lines
1.3 KiB
MQL5
Raw Permalink Normal View History

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;
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);
//--- 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
//+------------------------------------------------------------------+