Lazy Bot MT5 (Daily Breakout EA) – EA MetaTrader 5
Input parameters //Import External class #include <TradePositionInfo.mqh> #include <TradeTrade.mqh> #include <TradeSymbolInfo.mqh> #include <TradeAccountInfo.mqh> #include <TradeOrderInfo.mqh> //— introduce predefined variables for code readability #define Ask SymbolInfoDouble(_Symbol, SYMBOL_ASK) #define Bid SymbolInfoDouble(_Symbol, SYMBOL_BID) //— input parameters input string EASettings = “———————————————“; //——– <EA Settings> ——– input int InpMagicNumber = 123456; //Magic Number input string InpBotName = “LazyBot_V1”; //Bot Name input string TradingSettings = … Read more