Forum

Can the number of lots of Pending order modified ?

Can the number of lots of Pending order be modified autmatically by one code work ? If not , we cannot help deleting an existing Pending order first of all and ordering a new Pending order ? If we cannot help doing so, it may be impossible to order a new Pending order occasionally because the price

How to express a condition in which an downtrend of 15pips aroused

If I try to express a condition in which a downtrend of 15pips aroused , is a following code right ? I think this code will be useful when we try to catch a trend of which a starting price is unspecified ( for example when we begin the trade newly) . int y ; if ( Low [ 0 ] == Bid && High [ y ] ==

Can the element of OrderSelect() be kept effective also after the new OrderSelect() if it is difined by the variable ?

Please watch the following . if ( OrderSelect ( i , SELECT_BY_POS , MODE_TRADES ) && OrderType () == OP_SELL) double a = OrderOpenPrice () ; if ( OrderSelect ( j , SELECT_BY_POS , MODE_TRADES ) && OrderType () == OP_BUY ) double b = OrderOpenPrice () ; c = a + b ; In this case , is the last "a"

SELECT_BY_POS and OrderTicket( )

If I choose SELECT_BY_POS in OrderSelect ( ) , can I use OrderTicket( ) related with it later