Edit Your Comment
Freebies by MetaCoder
Dec 08, 2011 at 11:24
(편집됨 Dec 08, 2011 at 10:01)
Nov 26, 2011 부터 멤버
게시물119
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);
}
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
Dec 08, 2011 at 15:55
Nov 26, 2011 부터 멤버
게시물119
My recommended Broker
Dec 08, 2011 at 15:56
Nov 26, 2011 부터 멤버
게시물119
My recommended Broker
Jan 02, 2012 at 09:16
Jan 02, 2012 부터 멤버
게시물26
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
http://1millionaireclub.blogspot.com/2012/01/almost-100-win-low-drawdown.html
i wanna make both trade... buy and sale...
here my link
http://1millionaireclub.blogspot.com/2012/01/almost-100-win-low-drawdown.html
Always win ...i Hope..
Jan 02, 2012 at 11:46
Jan 02, 2012 부터 멤버
게시물26
ooohh we also can attach here .. sorry newbies,, hik..
Always win ...i Hope..
Jan 02, 2012 at 11:47
Jan 02, 2012 부터 멤버
게시물26
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
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..
Jan 04, 2012 at 13:41
Jan 02, 2012 부터 멤버
게시물26
finally i found it...
my contest acc work perfect...
https://www.myfxbook.com/members/jebat/jebat-contest-acc/217376😎
my contest acc work perfect...
https://www.myfxbook.com/members/jebat/jebat-contest-acc/217376😎
Always win ...i Hope..
Jan 05, 2012 at 18:00
Jan 02, 2012 부터 멤버
게시물26
ooo ok i get it...i just wanna try on demo acc with high lot + high risk hik... but the real account 1lot and below...
in first ea just come with 1 strategy... and this contest acc more than 7 strategy on 1 ea(more RAM need ahhh)... anyway tq alot for helping me out...
i will find so solution for these situation .... any suggestion, trick, strategy and comment for make better EA... i hope next day this ea will helping out our trader..
😀
in first ea just come with 1 strategy... and this contest acc more than 7 strategy on 1 ea(more RAM need ahhh)... anyway tq alot for helping me out...
i will find so solution for these situation .... any suggestion, trick, strategy and comment for make better EA... i hope next day this ea will helping out our trader..
😀
Always win ...i Hope..

*상업적 사용 및 스팸은 허용되지 않으며 계정이 해지될 수 있습니다.
팁: 이미지/유튜브 URL을 게시하면 게시물에 자동으로 삽입됩니다!
팁: @기호를 입력하여 이 토론에 참여하는 사용자 이름을 자동으로 완성합니다.