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

Similar Threads

  1. Replies: 4
    Last Post: 11-07-2009, 06:36

Tags for this Thread

mql, programming

Posting Permissions

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