Signal conditions

Results 1 to 3 of 3
 0 Attachment(s)    

Thread: Signal conditions

  1. #1
    Junior Member
    Join Date
    Jan 2009

    Default Signal conditions

    hi all,
    it's a great place where , like me, we can learn so much and be helped by very kind and smart people. Thanks a lot you all.

    My question's day:
    i've found in one EA on this site, the below code:

    //|---------signal conditions

    int limit=1;

    for(int i=1;i<=limit;i++)

    .... then all the logic of that EA //

    Could someone give explanations about that logic piece of code, what mean "limit=1" for example
    Why to enable or disable that fonction , what's benefits ?
    Where can i find all the basics for programming with MT4 ?


  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008


    Hi kooller,

    The EA checks if there is a signal on the previous bar.

    The code is quite useless here, but sometimes I need to modify the limit to check on the X previous bars.

    See here for the guide : MetaTrader 4 programming guide

  3. #3
    Junior Member
    Join Date
    Jan 2009

    Default mql guide

    many many thanks, have lot of studying now !!!!

Similar Threads

  1. What are the conditions to get a dividend ?
    By fxtester in forum Stock market
    Replies: 0
    Last Post: 02-20-2016, 11:31
  2. Revolution in trading conditions
    By Andrew007 in forum Trading discussion
    Replies: 0
    Last Post: 01-31-2014, 14:46
  3. Could you please give the signal alert when all the conditions meet
    By locle in forum Ideas for manual systems
    Replies: 1
    Last Post: 08-20-2012, 06:29
  4. Conditions before to submit a request
    By funyoo in forum Ideas for expert advisors
    Replies: 2
    Last Post: 09-28-2011, 23:39

Posting Permissions

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

Signal conditions

GadgetVersus GadgetVersus France W3Ask W3Ask Brasil W3Ask Deutschland W3Ask Espaņa W3Ask France W3Ask Italia W3Ask Nederland