To use chat, please login.
Back to contacts

Freebies by MetaCoder

MetaCoder
Dec 08 2011 at 11:24
126 posts
This is a script for closing multiple orders with specific magic No. Hope ya'll enjoy it.






extern int xi_magicNum = 0;
extern int xi_howMany = 0;

int start() {
   int l_ticket_0;
   string l_symbol_8;
   double l_price_16;
   double l_ord_lots_24;
   int li_36;
   int l_count_32 = 0;
   int l_pos_40 = 0;
   if (!xi_howMany) li_36 = OrdersTotal();
   else li_36 = xi_howMany;
   while (l_pos_40 < OrdersTotal() && l_count_32 < li_36) {
      RefreshRates();
      l_ticket_0 = OrderSelect(l_pos_40, SELECT_BY_POS);
      if (l_ticket_0 == 1) {
         if (xi_magicNum && xi_magicNum != OrderMagicNumber()) {
            l_pos_40++;
            continue;
         }
         l_ticket_0 = OrderTicket();
         l_symbol_8 = OrderSymbol();
         l_ord_lots_24 = OrderLots();
         l_price_16 = MarketInfo(l_symbol_8, MODE_BID);
         if (OrderType() == OP_SELL) l_price_16 = MarketInfo(l_symbol_8, MODE_ASK);
         if (OrderType() > OP_SELL) {
            if (OrderDelete(l_ticket_0) == 0) Print('ERROR OrderDelete: ', GetLastError());
            else l_count_32++;
         } else {
            if (OrderClose(l_ticket_0, l_ord_lots_24, l_price_16, 50) == 0) Print('ERROR OrderClose: ', GetLastError());
            else l_count_32++;
         }
      }
   }
   return (0);
}

My recommended Broker
MetaCoder
Dec 08 2011 at 15:55
126 posts
My trades today using a very powerful indicator.





Attachments:


My recommended Broker
MetaCoder
Dec 08 2011 at 15:56
126 posts
More Trades..😄





Attachments:


My recommended Broker
MetaCoder
Dec 08 2011 at 17:20
126 posts
Later on I might be posting my daily in-depth market analysis for all those looking to make great trades ...with Maximum stop of 11pips.



Cheers everyone

My recommended Broker
MetaCoder
Dec 08 2011 at 17:20
126 posts
Hence forth, I would only share basic Mt4 scripts and EAs on this thread. Market analysis would be made in

 Community/New Traders

Thread title is Pro Trading by MetaCoder

My recommended Broker
jebat (jebat)
Jan 02 2012 at 09:16
26 posts
any can help me about my ea code... almost 100% win but..... it make sell trade only...
i wanna make both trade... buy and sale...
here my link
https://1millionaireclub.blogspot.com/2012/01/almost-100-win-low-drawdown.html

Always win ...i Hope..
MetaCoder
Jan 02 2012 at 09:37
126 posts
Send me EA source Code So I could take a look and see whats wrong

My recommended Broker
jebat (jebat)
Jan 02 2012 at 11:46
26 posts
at my blog link because it need custom indicator... both mq4 file there

Always win ...i Hope..
jebat (jebat)
Jan 02 2012 at 11:46
26 posts
ooohh we also can attach here .. sorry newbies,, hik..

Attachments:


Always win ...i Hope..
jebat (jebat)
Jan 02 2012 at 11:47
26 posts
the best setting :
trailling 9
stop loss 300
plotlot true
maxorder 4
eachtickmode false
lots.... max trade lot (of the account)
min deposit... wanna trade 8 lot min 1200
                    wanna trade 80 lot min 12000
the best pair eurusd...
the best timeframe M30
my computer was very slow.. so never test for 10year previous
can anyone test give a result here... the best myfxbook.com

Always win ...i Hope..
Please login to comment .