Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Help with code

  1. #1
    Junior Member
    Join Date
    Jul 2009

    Default Help with code

    Hi, can anyone please show me how to do the following: I need to add some code to an EA which will allow it to trade with accounts starting with certain numbers only. For example I only want EA to trade with account numbers starting with 16*** The account number starts with 16 and is a five digit number...the remaining three numbers can be any numbers. Any help appreciated...Best rgds

  2. #2
    Junior Member
    Join Date
    Mar 2009


    Account_to_Trade = "16",
    Account_Number = AccountNumber();

    if (StringSubstr(Account_Number,0,2) != Account_to_Trade)return;

Similar Threads

  1. Can anyone Code this EA?
    By pret1102 in forum Softwares
    Replies: 1
    Last Post: 03-21-2012, 04:26
  2. Need Code for S/L and some more
    By Monkesy in forum Ideas for expert advisors
    Replies: 0
    Last Post: 04-05-2011, 10:30
  3. Please help me to code this EA
    By sshirbhate in forum MQL programming
    Replies: 2
    Last Post: 03-21-2011, 13:03
  4. Help my code
    By fellargasi in forum MQL programming
    Replies: 0
    Last Post: 10-27-2010, 18:37
  5. How to code MA on RSI in an EA ?
    By funyoo in forum MQL programming
    Replies: 0
    Last Post: 11-17-2008, 19:03

Tags for this Thread

add, how to

Posting Permissions

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