이 () {}을(를) 많이 사용할 수 있습니까 ??

 
//+------------------------------------------------------------------+
//|                                                        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);
      }
 
나의 악몽 스페셜 에디션~~
 

EA 스크립트가 무엇인지 알 수 있을까요??

mqt 파일.

 

지지 저항선을 EA에 추가할 수 있나요?

따라서 거래는 지지선/저항선에서만 거래를 시작하고 지지선/저항선에 도달하면 종료됩니다 ??

 

EA가 실행 중일 때 차트에 선 그리기 를 원하는 경우 코드를 작성하는 방법 ??

추세선, 지지선 등..

 

이 코드를 사용하여 양초의 고저를 감지할 수 있습니까 ??

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

이건 어때 ??

 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)
 

또 하나의 강력한 EA를 만들려고 합니다...^^

도와주세요,

여기 누구??

 
동일한 기본 코드에 대해 새 스레드를 생성하는 이유는 무엇입니까? 왜 두 개의 스레드가 필요합니까?
 
그래요 당신

이 () {}를 너무 많이 사용할 수 있습니까 ??

수정할 때 오류 메시지 보기

EA 스크립트가 무엇인지 알 수 있을까요??

스크립트는 작업이 완료되면 중지됩니다.

지지 저항선을 EA에 추가할 수 있나요?

왜 안 돼 ??? 안써??

EA가 실행 중일 때 차트에 선 그리기를 원할 경우 코드를 작성하는 방법 ??

추세선, 지지선 등..

같은 차트에서 지표 사용

당신의 EA에서 일렬로 세우십시오

Print("높은1 = ",높은[ 1]); 또는 Comment("high1 = ",High[ 1]);

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

이건 어때 ??

 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)

이것은 프로그램에서 작성된 방식으로 작동하지 않습니다. 읽기 연습은 simpel 프로그램을 만들고 데모 계정 에서 테스트하는 것부터 시작합니다.

어떻게 하면 또 다른 강력한 EA를 만들 수 있을지... ^^ 기본부터 시작하지 않으면

 

좋아요,

나는 그것을 다시 배울 것이다.

처음부터...