Nevalyashka 10-line EA – EA MetaTrader 4

Nevalyashka 10-line EA - expert for MetaTrader 4
Despite its size, this is an operational EA that can be efficient after minimum optimization. Martingale functions can be added. //——————————————————————– extern int  stoploss    = 50,             takeprofit  = 50; double      Lot=1; int         tip; //——————————————————————– int init() {    OrderSend(Symbol(),OP_SELL,Lot,Bid,3,NormalizeDouble(Ask + stoploss*Point,Digits),                         NormalizeDouble(Bid – takeprofit*Point,Digits),” “,777,Blue); } //——————————————————————– int start() {    for (int i=0; i<OrdersTotal(); i++){         if (OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==true){          … Read more