Mira cómo descargar robots gratis
¡Búscanos en Twitter!
Pon "Me gusta" y sigue las noticias
¿Es interesante este script?
Deje un enlace a él, ¡qué los demás también lo valoren!
¿Le ha gustado el script?
Evalúe su trabajo en el terminal MetaTrader 5
Asesores Expertos

Nevalyashka 10-line EA - Asesor Experto para MetaTrader 4

Visualizaciones:
13944
Ranking:
(13)
Publicado:
2016.03.22 07:49
Actualizado:
2016.11.22 07:32
Nevalyashka.mq4 (1.75 KB) ver
¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa

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){
         if (OrderSymbol()==Symbol()){
            tip = OrderType();
            Lot = OrderLots();return;}}}
   if (Lot==0) return;
   if (tip==0) OrderSend(Symbol(),OP_SELL,Lot,Bid,3,NormalizeDouble(Ask + stoploss*Point,Digits),
                                    NormalizeDouble(Bid - takeprofit*Point,Digits)," ",777,Blue);
   if (tip==1) OrderSend(Symbol(),OP_BUY ,Lot,Ask,3,NormalizeDouble(Bid - stoploss*Point,Digits),
                                    NormalizeDouble(Ask + takeprofit*Point,Digits)," ",777,Blue);
   return(0);
}
//-----------------------------------------------------------------

Simple optimization results



Traducción del ruso realizada por MetaQuotes Ltd
Artículo original: https://www.mql5.com/ru/code/9418

Daily Channel Daily Channel

Simple display any time zone daily channel.

Strength Arrow Strength Arrow

This is an indicator which totally based on RSI. The reason to amend this indicator is knowing the strength of a currency.

Trading Comments Trading Comments

Commentary on behalf of Exponential Moving Average.

Period ConverterALL Period ConverterALL

Script for converting a chart of the M1 timeframe into all other charts of the standard timeframes and recreating the M1 timeframe chart.