[ARCHIVE]Toute question de débutant, afin de ne pas encombrer le forum. Professionnels, ne passez pas à côté. Je ne peux aller nulle part sans toi - 5. - page 221

 
Oui, bien sûr ! !! Je vais regarder, cependant.
 
 sont identifiés et utilisés tout au long du programme.
	          
 
Dimka-novitsek:
sont identifiés et utilisés tout au long du programme.

Je peux voir ?
 
int Buy[];int Sell[];
 
Dimka-novitsek:
Défini, et utilisé tout au long du programme.

Comment sont-elles définies ?
 
 {
//----


 // int F=1; for(int R=0;R<Tormoz;R++){F=F+R;Sleep(Slip);}
  
  

    if (!PozyProstavleny){ ArrayResize(Buy,Raz);ArrayResize(Sell,Raz);
   
           Price= (Ask+Dist*Point) ; TP_BUY=(Price+TP*Point);  SL_BUY= (Price- SL*Point);
           Price_SELL= (Bid-Dist*Point) ;  TP_SELL=Price_SELL-TP*Point;  SL_SELL=Price_SELL+SL*Point; K=1;
           
   for(int Raz1=0;Raz1<Raz;Raz1++){
   
           Sleep(2000); RefreshRates();  for(int A=25;A>=0;A--){if(IsTradeAllowed())break;if(A==0) Comment(" эксперту не разрешено торговать 
или поток для выполнения торговых операций занят "); }           
  tyccBuy= OrderSend (Symbol( ), OP_BUYSTOP,  Lot ,NormalizeDouble(Price, Digits), 5, NormalizeDouble( SL_BUY,Digits), 
  NormalizeDouble( TP_BUY,Digits), NULL, 450, 0, CLR_NONE);
   Buy[Raz1]= tyccBuy;
           Price= (Price+Dist*Point) ; TP_BUY= (Price+TP*Point); SL_BUY= (Price- SL*Point);
           Error=GetLastError();
     if (Error!=0){ string errorcomment = "Ошибка открытия ордера байстоп  "  + " " + Symbol() +  " " + ErrorDescript(Error); 
           Print (errorcomment);}
           
           Sleep(2000); RefreshRates();  for( A=25;A>=0;A--){if(IsTradeAllowed())break;if(A==0) Comment(" эксперту не разрешено торговать
 или поток для выполнения торговых операций занят "); }        
           Sell[Raz1]=OrderSend (Symbol( ), OP_SELLSTOP,  Lot ,NormalizeDouble(Price_SELL, Digits), 5, NormalizeDouble( SL_SELL,Digits), 
  NormalizeDouble( TP_SELL,Digits), NULL, 450, 0, CLR_NONE);
     Price_SELL= (Price_SELL -Dist*Point) ;TP_SELL=Price_SELL-TP*Point;   SL_SELL=Price_SELL+SL*Point;
            Error=GetLastError();if (Error==0)
            
            {errorcomment = "Ошибка открытия ордера селлстоп  "  + " " + Symbol() +  " " + ErrorDescript(Error); 
        Print (errorcomment);} PozyProstavleny=1; 
                       }
                       }   
                        
   if (!Pishem&&PozyProstavleny){SaveArray(FileBuy, Buy); SaveArray(FileSell, Sell); Pishem=1;}
       
             

//----
   Print( " Buy[0] " , Buy[0]," Buy[1] " , Buy[1]," Buy[2] " , Buy[2]," Buy[3] " , Buy[3]," Buy[4] " , Buy[4]," Buy[5] " , Buy[5] );
  
//+------------------------------------------------------------------+
Et ainsi de suite.
 
Juste une minute, papa.
 
Dimka-novitsek:
Excuse-moi une minute, papa.

Ok, qui est le papa ? Pas moi, j'espère. Et comment sont définis les tableaux après tout ?
 
Mon père. Ouf, c'est parti. Oh, mon frère est là, mec.
 
C'est quoi ce bordel. Après tout, c'est soit FLOOD, soit un forum à thème. Vous devriez être banni à jamais pour de telles bêtises.