Please help me check my coding , it's not working . - page 4

 
juniorlcq:
read the link what cycle do you wanna break ??
 
juniorlcq:


I'm sorry still don't get it ........

You need to read the Book if you don't understand about function return values and how to use them . . .

juniorlcq:


The Symbol to Emblem still not working :(

Show your current code, and please fit it to the page so I don't have to keep editing it for you . . .
 
juniorlcq:

How do I solve this break issue ???

Easy . . .

 else
            {
        //       break ;
            }
 
juniorlcq:

This is the current one, I've check everything else is fine ( I guess )

I edited your code again to stop it making the page unusably wide . . . please do not post your code like that again, I already asked you to fix it once.

Your last remaining compile issue is the break . . . what is it meant to achieve ?
 
RaptorUK:

Easy . . .


If I add //, then I'm not using the break function at all isn't it ????
 
juniorlcq:

If I add //, then I'm not using the break function at all isn't it ????
What is the break meant to be doing for you ? if we don't understand what you are trying to do it's hard to tell you how to do it correctly . . . the break is certainly wrong.
 
RaptorUK:
What is the break meant to be doing for you ? if we don't understand what you are trying to do it's hard to tell you how to do it correctly . . . the break is certainly wrong.


Break the sub function if there is no error in it ...
 
juniorlcq:

Break the sub function if there is no error in it ...

OK Why not simply . . .

return(0);

. . . ?

 

so many answers?!

codes! forum shoude accept those as chars.

yes, all functions should definded outside start function.

//+------------------------------------------------------------------+
   int start()
   {
   
      if ( IsConnected() == False )
      {
         Alert ( " Please ensure that the server is connected properly !!! " ) ;
      }
      
      
      for ( int x = 0 ; x < TotalPairs ; x++ )
      {
         iBars ( MajorPairs[x] , PERIOD_M1   ) ;
         iBars ( MajorPairs[x] , PERIOD_M5   ) ;
         iBars ( MajorPairs[x] , PERIOD_M15  ) ;
         iBars ( MajorPairs[x] , PERIOD_M30  ) ;
         iBars ( MajorPairs[x] , PERIOD_H1   ) ;
         iBars ( MajorPairs[x] , PERIOD_H4   ) ;
         iBars ( MajorPairs[x] , PERIOD_D1   ) ;
         iBars ( MajorPairs[x] , PERIOD_W1   ) ;
         iBars ( MajorPairs[x] , PERIOD_MN1  ) ;
      }
      
      
            ProcessDaily   ( PERIOD_D1 ) ;
            ProcessWeekly  ( PERIOD_W1 ) ;
            ProcessMonthly ( PERIOD_MN1 ) ;
   
            Alert ( " Update completed successfully :) !!! " ) ;

   return(0) ;
   }
 
 else
            {
               break ;
            }

such break does not has any effect !, so you can delete it .