Edit Your Comment
Brokers that support More than 100 Orders at a Time?

forex_trader_32776
Mar 28, 2011 부터 멤버
게시물942
Sep 27, 2012 at 07:09
Mar 28, 2011 부터 멤버
게시물942
Most brokers Max Order count stops at 100. Then the broker will refuse your next order.
What brokers accept more than 100? And not InstaForex.
Also More importantly, How can I find out this information within the Metatrader Platform.
Within MarketInfo ( ) ,, there is not a MAX Order COunt, Only Max Lots. Any help Much appreciated.
Thanks
What brokers accept more than 100? And not InstaForex.
Also More importantly, How can I find out this information within the Metatrader Platform.
Within MarketInfo ( ) ,, there is not a MAX Order COunt, Only Max Lots. Any help Much appreciated.
Thanks

forex_trader_79941
Jun 06, 2012 부터 멤버
게시물1434
Oct 01, 2012 at 17:37
(편집됨 Oct 01, 2012 at 17:42)
Jun 06, 2012 부터 멤버
게시물1434
first you will ask your broker to learn the max number of trades that they allow.
then in your code
you will count trades that are not pending orders
extern int max orders allowed long == 100;
extern int max orders allowed short == 100;
void ordercount()
{
orderL=0;
orderS=0;
for(int a=0;a<=OrdersTotal();a++)
{
if(OrderSelect(a, SELECT_BY_POS, MODE_TRADES)==true)
{
if(OrderSymbol()==Symbol() && OrderMagicNumber() == Magic_N)
{
if(OrderType()==0)orderL++;
if(OrderType()==1)orderS++;
}
}
}
}
then you will limit your orders Long , Short regarding to the ordercount & max orders allowed .
if( orderL < max orders allowed long && your code.......................) send long order...........
same for short
or you can group short & long
this will help
good luck!
walker.
then in your code
you will count trades that are not pending orders
extern int max orders allowed long == 100;
extern int max orders allowed short == 100;
void ordercount()
{
orderL=0;
orderS=0;
for(int a=0;a<=OrdersTotal();a++)
{
if(OrderSelect(a, SELECT_BY_POS, MODE_TRADES)==true)
{
if(OrderSymbol()==Symbol() && OrderMagicNumber() == Magic_N)
{
if(OrderType()==0)orderL++;
if(OrderType()==1)orderS++;
}
}
}
}
then you will limit your orders Long , Short regarding to the ordercount & max orders allowed .
if( orderL < max orders allowed long && your code.......................) send long order...........
same for short
or you can group short & long
this will help
good luck!
walker.

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