1. پارامترهای ورودی //Import External class #include <Trade\PositionInfo.mqh> #include <Trade\Trade.mqh> #include <Trade\SymbolInfo.mqh> #include <Trade\AccountInfo.mqh> #include <Trade\OrderInfo.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 = “———————————————“; //——– <Trading Settings> ——– input double Inpuser_lot = 0.01; //Lots input double Inpuser_SL […]



