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.

*商用利用やスパムは容認されていないので、アカウントが停止される可能性があります。
ヒント:画像/YouTubeのURLを投稿すると自動的に埋め込まれます!
ヒント:この討論に参加しているユーザー名をオートコンプリートするには、@記号を入力します。