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

forex_trader_32776
Miembro desde Mar 28, 2011
posts 942
Sep 27, 2012 at 07:09
Miembro desde Mar 28, 2011
posts 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
Sep 27, 2012 at 08:51
Miembro desde Feb 08, 2012
posts 46
http://4xtrader.net/ One of the EA shows that.

forex_trader_79941
Miembro desde Jun 06, 2012
posts 1434
Oct 01, 2012 at 17:37
(editado Oct 01, 2012 at 17:42)
Miembro desde Jun 06, 2012
posts 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.

*El uso comercial y el spam no serán tolerados y pueden resultar en el cierre de la cuenta.
Consejo: Al publicar una imagen o una URL de YouTube, ésta se integrará automáticamente en su mensaje!
Consejo: Escriba el signo @ para completar automáticamente un nombre de usuario que participa en esta discusión.