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

Question Tell me Password authentication function

Discussion in 'Belajar MQL dari Nol' started by haroharo, 29 Jan 2017.

  1. haroharo

    haroharo New Member

    Equity
    Credit
    Ref Point
    Suddenly I'm sorry.

    I developed EA, but I am in trouble because I do not know how to protect it. Could you tell me if it is okay?

    · Account number description.

    · A description that works by entering the password that only the creator (who refers to me) can know to the EA parameter setting.
     
  2. AutoProfit

    AutoProfit Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    input int SerialNum = 1234567;

    void OnInit(){
    int SN =0;
    SN = GetSerialNumber();
    if ( SN == SerialNum){
    //ok
    }
    }

    int GetSerialNumber(){
    int acc = AccountNumber();
    int secretFormula = 889;
    //you can use matrix to generate secret formula.
    return (acc * secretFormula);

    }


    Sent from SoeHoe.ID mobile apps
     
  3. blackking

    blackking Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Ikut menyimak sementara meski juga belum paham karena otak tidak mudah menerima pelajaran yang rumit bagaimana cara membuat ea
    manual lebih sederhana soalnya
     
  4. haroharo

    haroharo New Member

    Equity
    Credit
    Ref Point
    thanks!
     

Share This Page