Warrior_EA/Variables/Variables.mqh

20 lines
1.4 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;
//--- EnableITF/EnableSessionFilter/EnableNewsFilter/EnableRiskGuard moved to real inputs
//--- (Variables\Inputs.mqh) for consistency with every other filter's on/off toggle - see there.
bool EnablePAI = (AIType == MLP_3L || AIType == MLP_4L);
bool EnableCONV = (AIType == CONV_2L);
bool EnableLSTM = (AIType == LSTM_2L);
bool EnableHYBRID = (AIType == HYBRID_2L);
//--- 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
//+------------------------------------------------------------------+