Results 1 to 1 of 1
 0 Attachment(s)    

Thread: Not all control paths return a value

  1. #1
    Senior Member fxtester's Avatar
    Join Date
    Nov 2008
    Posts
    3,165

    Default Not all control paths return a value

    If this is an int or a double function :

    At the end before }, add :

    Code:
    return(value);
    "Value" should be the name of the variable that you want to get for the specified function.

    If you want to set different variable, add :

    Code:
    return(0);
    Last edited by fxtester; 08-11-2014 at 10:37.

Similar Threads

  1. CONTROL YOUR EMOTIONS
    By painofhell in forum Trading discussion
    Replies: 12
    Last Post: 09-07-2015, 01:45
  2. Correlation JPY Manual Strategy with control Panel
    By advisor in forum Commercial manual systems
    Replies: 0
    Last Post: 08-16-2014, 11:55
  3. How can i control MAXPIPS between next open trade ??
    By begu in forum MQL programming
    Replies: 3
    Last Post: 04-04-2009, 12:19

Tags for this Thread

add

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •