+ Reply to Thread
Results 1 to 2 of 2
 0 Attachment(s)    

Thread: code in start() never runs ???

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    2

    Question code in start() never runs ???

    Hi All,

    I'm new to mql but have a little programming experience elsewhere.

    My first step with any new lang/environment is to get a "hello world" program running.

    In the EA code below the init() Alert and the deinit() Alert are triggered with no problem when the EA is added and removed.

    But the start() Alert never trigers, it's like it just doesn't see the ticks.

    Any help on this most basic of stumbling blocks greatly appreciated, what am I doing wrong ????


    int init()
    {
    //----

    Alert("Function Init() triggered at start");

    //----
    return(0);
    }


    int deinit()
    {
    //----
    Alert("Function deinit() Triggered at exit");
    //----
    return(0);
    }


    int start()
    {
    //----

    Alert("New tick ");

    //----
    return(0);
    }

  2. #2
    Junior Member
    Join Date
    Mar 2010
    Posts
    2

    Thumbs up Worked it out !!

    Hi All,

    Sorry worked it out...... forgot to enable EA's on the platform (blush).

    Regards
    Jeff

+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: 11-07-2009, 06:36
  2. Start e-trailing from total profit
    By romano in forum MQL programming
    Replies: 0
    Last Post: 03-07-2009, 09:42
  3. How to code MA on RSI in an EA ?
    By funyoo in forum MQL programming
    Replies: 0
    Last Post: 11-17-2008, 20:03
  4. Lucky code
    By funyoo in forum Expert advisors demo statements
    Replies: 0
    Last Post: 09-23-2008, 11:13

Posting Permissions

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