can i use these () {} so much ??

 
//+------------------------------------------------------------------+
//|                                                        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);
      }
 
my nightmare special edition ~~
 

may i know what's the EA script for ??

the mqt file.

 

can i add the Support resistance line to EA ??

so the trade will only open trade on support/resistance line and exit when reach support/resistance line ??

 

how to write code if i want some line drawing on chart when EA running ??

trendline, support resistance line and etc..

 

can i use this code to detect high low of candle ??

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

what about this one ??

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)
 

i m trying to create another powerful EA... ^^

please help me,

anyone here ??

 
Why are you creating a new thread about the same basic code ? why do you need two threads ?
 
yes, you

can use these () {} so much ??

look to errormessages when modifie

may i know what's the EA script for ??

A script will stop when its work is done

can i add the Support resistance line to EA ??

why not ??? don't you trie ??

how to write code if i want some line drawing on chart when EA running ??

trendline, support resistance line and etc..

use a indicator on the same chart

make aline in your EA

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

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

what about this one ??

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)

this is not working this way written in your program read practise begin with creating simpel programs and test it on demo accounts

you have no idea what you're doing how will you ever create another powerful EA... ^^ if you don't start with the basic

 

okay,

i will learn it again.

from beginning...