AK-47 Scalper EA – EA MetaTrader 4

AK-47 Scalper EA - expert for MetaTrader 4
1. Input parameters #define ExtBotName “AK-47 Scalper EA” //Bot Name #define  Version “1.00” //— input parameters extern string  EASettings        = “———————————————“; //——– <EA Settings> ——– input int      InpMagicNumber    = 124656;   //Magic Number extern string  TradingSettings   = “———————————————“; //——– <Trading Settings> ——– input double   Inpuser_lot       = 0.01;     //Lots input double   InpSL_Pips        = 3.5;      //Stoploss (in Pips) input double   InpMax_spread     = 0.5;      //Maximum allowed spread (in … Read more

AK-47 Scalper EA – EA MetaTrader 5

AK-47 Scalper EA - expert for MetaTrader 5
1. Input parameter #define ExtBotName “AK-47 EA” //Bot Name #define  Version “1.00” //Import inputal 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    = 124656;   //Magic Number input string  MoneySettings      = … Read more