
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
BTW it's supposed to be:
No, still same problem. It opens many ordes. How can I find last order open price, any idea?
Is the last open order:
OrderSelect(0,SELECT_BY_POS,MODE_TRADES);
no the last order is OrderSelect(OrdersTotal()-1,SELECT_BY_POS,MODE_TRADES);
OK, than maybe there is a problem. Thanks I'll try this.
i don't understand how it's going to help u it's the same as
for(cnt=OrdersTotal()-1;cnt>=0;cnt--){
OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
Lets say I have BUY,1 BUY2, SELL1, SELL2 and SELL3 orders. BUY1 was opened first and SELL3 last. How can I find BUY2 open price. I try like this
Lets say I have BUY,1 BUY2, SELL1, SELL2 and SELL3 orders. BUY1 was opened first and SELL3 last. How can I find BUY2 open price. I try like this
no,
but this is gonna give u the last order
no,
but this is gonna give u the last order