1. Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
    Dismiss Notice

Answered HELP How to put expiration date on my EA?

Discussion in 'Belajar MQL dari Nol' started by vincent villasante, 03 Oct 2016.

  1. vincent villasante

    vincent villasante Member

    Equity
    Credit
    Ref Point
    i have a good EA. Iwant to protect it by having expiration anybody can help me?
     
    • Dumb Dumb x 1
  2. reboriv

    reboriv Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi are you okay to send your mq4 through PM? I can try to add the expiration for you.
     
    • Like Like x 1
    • Agree Agree x 1
  3. Findexs

    Findexs Member Credit Hunter

    Equity
    Credit
    Ref Point
    //Below Parameters, put this code

    int gi_144 = xxxxx; // Your Account number here
    string gs_148 = "2017.10.10 23:59"; //Expire Date here
    bool gi_156 = TRUE;
    bool gi_160 = TRUE;
    extern string Password = "xxxxxxxxxxx"; // Your Password (in the input parameters)

    //Below int start, put this code

    int start() {
    int l_str2time_0;
    bool l_bool_4;
    int l_acc_number_8;
    if (gi_156) {
    l_str2time_0 = StrToTime(gs_148);
    if (TimeCurrent() >= l_str2time_0) {
    Alert("This EA has been expired! Please, Contact to__your [email protected]");
    return (0);
    }
    }
    if (gi_160) {
    l_bool_4 = (!IsDemo() && !IsTesting());
    if (!l_bool_4) {
    l_acc_number_8 = AccountNumber();
    if (l_acc_number_8 != gi_144) {
    Alert("Only Account Number " + gi_144 + " can use this EA ! Please, Contact to__your [email protected]");
    return (0);
    }
    }
    }

    if (Password != "Your Password") // Write your password here
    {
    Alert ("Wrong Password!");
    return (0);
    }
     
    • Like Like x 1
    • Dislike Dislike x 1
    • Friendly Friendly x 1
  4. Kabu1334

    Kabu1334 New Member

    Equity
    Credit
    Ref Point
    Hello send me through PM , I will add expiry code and will assist you with images where you can change values to update expiry .
     
    • Dislike Dislike x 1
  5. vincent villasante

    vincent villasante Member

    Equity
    Credit
    Ref Point
    where should i put this?
     
    • Dislike Dislike x 1
  6. vincent villasante

    vincent villasante Member

    Equity
    Credit
    Ref Point
    yes bro can you h
     
    • Dislike Dislike x 1
  7. Findexs

    Findexs Member Credit Hunter

    Equity
    Credit
    Ref Point
    For example,
    //+------------------------------------------------------------------+
    //| EA Findexs 04.mq4 |
    //| Copyright © 2016, [email protected] |
    //| https://www.xxxxxx.com |
    //+------------------------------------------------------------------+

    [HASHTAG]#property[/HASHTAG] copyright "Copyright © 2016, [email protected]"
    [HASHTAG]#property[/HASHTAG] link "https://www.xxxxxx.com"
    [HASHTAG]#property[/HASHTAG] version "1.00"

    Put that's parameter codes in this side

    int start() {

    And put other codes in this side
     
    • Dislike Dislike x 1
  8. vincent villasante

    vincent villasante Member

    Equity
    Credit
    Ref Point
    i don get you... can i send the file and teach me how to change expiration/?
     
  9. Findexs

    Findexs Member Credit Hunter

    Equity
    Credit
    Ref Point
    OK. I will send back to you and free always.
     
    • Dislike Dislike x 1
  10. vincent villasante

    vincent villasante Member

    Equity
    Credit
    Ref Point
    thank you bro
     
  11. vincent villasante

    vincent villasante Member

    Equity
    Credit
    Ref Point
    thank you very much bro
     
  12. Wardana

    Wardana Member Credit Hunter

    Equity
    Credit
    Ref Point
    gak di share bro ea nya??
     
  13. muhammadalidhedhi

    muhammadalidhedhi Member

    Equity
    Credit
    Ref Point
    can Anyone help me out with the same i am trying out to put expiry date in the Ea but getting some errors please tell me how to do it
     
  14. vincent villasante

    vincent villasante Member

    Equity
    Credit
    Ref Point
    send me your EA i will do it for you!
     
  15. reachme

    reachme Member Credit Hunter

    Equity
    Credit
    Ref Point
    4/5,
    This is my review for this thread:
    Good Info
     
    • Dislike Dislike x 1
  16. bubba76819

    bubba76819 New Member

    Equity
    Credit
    Ref Point
    I have a beta EA that I'm loving but they're not rolling it out... it's going to stop working on June 1st. I'm assuming somewhere in it is an expiration date... any idea how I'd remove that?
     
  17. bubba76819

    bubba76819 New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    This is just what i was looking for - hope someone replies!
     
  18. phillimon aaron

    phillimon aaron New Member

    Equity
    Credit
    Ref Point
    Hello everyone, can anyone help me to add expiration date in this EA
     

    Attached Files:

    • Agree Agree x 1
  19. ruri m kurniawan

    ruri m kurniawan Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    dicoba dulu mau diotak atik
     
  20. Ubaid

    Ubaid New Member

    Equity
    Credit
    Ref Point
    Hi I have a profitable bit but it's expired can u help by removing the expiry
     

Share This Page