Results 1 to 4 of 4
 3 Attachment(s)    

Thread: Funyoo,you can be better in programming.

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    11

    Default Funyoo,you can be better in programming.

    Funyoo,sorry for my English.these are scripts I got today.The “close ** ”close all the orders one by one, not only when the prise changes. Can you cold it into you EA?
    Take place of
    int CloseBuyOrders(int Magic)
    {
    int total=OrdersTotal();

    for (int cnt=total-1;cnt>=0;cnt--)
    {
    OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
    if(OrderMagicNumber()==Magic&&OrderSymbol()==Symbo l())
    {
    if(OrderType()==OP_BUY)
    {
    OrderClose(OrderTicket(),OrderLots(),Bid,3);
    }
    }
    }
    return(0);
    }


    int CloseSellOrders(int Magic)
    {
    int total=OrdersTotal();

    for(int cnt=total-1;cnt>=0;cnt--)
    {
    OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
    if(OrderMagicNumber()==Magic&&OrderSymbol()==Symbo l())
    {
    if(OrderType()==OP_SELL)
    {
    OrderClose(OrderTicket(),OrderLots(),Ask,3);
    }
    }
    }
    return(0);
    }
    I didn't get the mq4 file,so
    Attached Files Attached Files

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

    Default PLs help me to programme

    I do not know anything about programming, but i have a trading strategy. can you help me program it?

  3. #3
    Junior Member
    Join Date
    Jul 2010
    Posts
    2

    Default

    Anybody here please,I do not know anything about programming, but i have a trading strategy. can you help me program it?

  4. #4
    Junior Member
    Join Date
    Jul 2010
    Posts
    2

    Default

    Quote Originally Posted by coolpips View Post
    Anybody here please,I do not know anything about programming, but i have a trading strategy. can you help me program it?
    I surely can. Just send me a private message if you are still interested.

Similar Threads

  1. Programming help please
    By Leverage1 in forum MQL programming
    Replies: 0
    Last Post: 03-20-2012, 04:02
  2. Programming help please
    By Leverage1 in forum MQL programming
    Replies: 2
    Last Post: 02-01-2012, 18:54
  3. Problems with programming EAs
    By bbbtrader in forum Ideas for expert advisors
    Replies: 0
    Last Post: 11-23-2010, 20:52
  4. Programming issue
    By roodstaart in forum MQL programming
    Replies: 3
    Last Post: 06-03-2010, 21:43
  5. MTF EA Programming
    By GarethC in forum MQL programming
    Replies: 5
    Last Post: 07-22-2009, 13:14

Tags for this Thread

funyoo, magic, mq4, programming, scripts, strategy, trading

Posting Permissions

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