¿puedo usar estos () {} tanto?

 
//+------------------------------------------------------------------+
//|                                                        xxxxx.mq4 |
//|                                              Copyright 2012 xxxxx|  
//|                                                                  |
//+------------------------------------------------------------------+
extern string xxxxx
extern double xxxxx
extern double xxxxx
extern double xxxxx
extern double xxxxx
extern int    xxxxx
extern int    xxxxx
extern double xxxxx
extern double xxxxx
extern double xxxxx
extern int    xxxxx
extern bool   xxxxx

void deinit() 
{
   Comment("");
}
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
int start()
{
   if(xxxxx)
   {
         Print("xxxxx");
         return(0);
   }
         if(xxxxx)
      {
            Print("xxxxx");
            return(0);
      }
         if(xxxxx)
      {
            Print("xxxxx");
            return(0);
      }

          datetime start = StrToTime("00:00");
          datetime end = StrToTime("23:59");
   
               if(TimeCurrent() >= StartTrade && TimeCurrent() < EndTrade)
               {
                  Print("TRADING");
               }
                  else
               {
                  Print("NOT TRADING");
                  return(0);
               }

   double xxxxx;
   double xxxxx;
   double xxxxx;
   double xxxxx;
   
      if((xxxxx))
   {
         Print("xxxxx);
      return(0);
   } 
      if(xxxxx)
   {
         Print("xxxxx);
      return(0);
   }
         if(xxxxx)
      {
            Print("xxxxx");
            return(0);
      }
         if(xxxxx)
      {
            Print("xxxxx");
            return(0);
      }      
           if (!xxxxx)
         {
              if ((xxxxx))
            {
                  OpenBuy();
                  return(0);
            }
                  if ((xxxxx))
               {
                     OpenSell();
                     return(0);
               }
         }
}
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
bool ExistPositions()
{
for (int i=100; i<xxxxx; i++) 
   {
   if (xxxxx(i, SELECT_BY_POS, MODE_TRADES)) 
      {
      if (xxxxx()==Symbol()) 
         {
         return(True);
         }
      } 
   } 
         return(false);
         }
            void OpenBuy() 
            { 
               double ldLot, ldStop, ldTake; 
               string lsComm; 
               ldLot = GetSizeLot(); 
               ldStop = GetStopLossBuy(); 
               ldTake = GetTakeProfitBuy(); 
               lsComm = GetCommentForOrder(); 
               OrderSend(Symbol(),OP_BUY,ldLot,Ask,Slippage,ldStop,ldTake,lsComm,0,0); 
            } 
            void OpenSell() 
            { 
               double ldLot, ldStop, ldTake; 
               string lsComm; 
               ldLot = GetSizeLot(); 
               ldStop = GetStopLossSell(); 
               ldTake = GetTakeProfitSell(); 
               lsComm = GetCommentForOrder(); 
               OrderSend(Symbol(),OP_SELL,ldLot,Bid,Slippage,ldStop,ldTake,lsComm,0,0); 
            } 
               string GetCommentForOrder() 
               { 
                  return(xxxxx); 
               } 


            double xxxxx() 
            {
               return(LotSize); 
            } 
            double Getxxxxx() 
            { 
               return(Ask+xxxxx*Point); 
            } 
            double Getxxxxx() 
            { 
               return(Bid-xxxxx*Point); 
            }
            double Getxxxxx() 
            { 
               return(Bid-xxxxx*Point); 
            }
            double Getxxxxx() 
            { 
               return(Ask+xxxxx*Point);
      return(0);
      }
 
mi pesadilla edición especial ~~
 

¿puedo saber cuál es el script de EA?

el archivo mqt.

 

¿Puedo añadir la línea de resistencia de apoyo a la EA?

¿para que el comercio sólo abra el comercio en la línea de soporte/resistencia y salga cuando alcance la línea de soporte/resistencia?

 

¿Cómo escribir el código si quiero que se dibujen algunas líneas en el gráfico cuando se ejecuta el EA?

línea de tendencia, línea de resistencia de apoyo y etc..

 

¿puedo utilizar este código para detectar el alto y el bajo de la vela?

if(High[1]<High[2] && Low[1]>Low[2]
 

¿Qué hay de este?

if(High[1]<High[2]
{       
int OrderSend (string symbol, int cmd, double volume, double price, int slippage, double stoploss,
double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)
return(0)
 

Estoy tratando de crear otro poderoso EA... ^^

Por favor, ayúdame,

¿hay alguien aquí?

 
¿Por qué creas un nuevo hilo sobre el mismo código básico? ¿Por qué necesitas dos hilos?
 
si, tu

¿puede usar estos () {} tanto?

mira a los mensajes de error cuando modifie

¿puedo saber para qué sirve el script de EA?

Un script se detendrá cuando su trabajo está hecho

¿puedo añadir la línea de soporte y resistencia al EA?

¿Por qué no? ¿No lo intenta?

¿Cómo escribir el código si quiero que se dibuje una línea en el gráfico cuando se ejecuta el EA?

línea de tendencia, línea de soporte y resistencia, etc.

Utilizar un indicador en el mismo gráfico

haga una línea en su EA

Print("high1 = ",High[1]); o Comment("high1 = ",High[1]) ;

===========================================

¿que pasa con este?

if(High[1]<High[2]
{       
int OrderSend (string symbol, int cmd, double volume, double price, int slippage, double stoploss,
double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)
return(0)

esto no funciona así escrito en tu programa lee practica comienza con la creación de programas simpel y pruébalo en cuentas demo

no tienes ni idea de lo que haces como vas a crear otro EA potente... ^^ si no empiezas con lo básico

 

Bien,

lo aprenderé de nuevo.

desde el principio...

Razón de la queja: