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