Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hi. got a problem in the example. TestOrderPool.mq4 #42

Closed
chhcuo opened this issue Jun 1, 2018 · 2 comments
Closed

hi. got a problem in the example. TestOrderPool.mq4 #42

chhcuo opened this issue Jun 1, 2018 · 2 comments
Assignees
Labels

Comments

@chhcuo
Copy link

chhcuo commented Jun 1, 2018

// for simplicity, I will not use the Lang/Script class
void OnStart()
{
LinkedList<Order*> list; (OrderList error)
int total= OrdersTotal();//TradingPool::total();(here.. i dont know, just use the mql offical....) for(int i=0; i<total; i++) { if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)) (here.. i dont know, just use the mql offical....)
{
OrderPrint(); // to compare with Order.toString
list.push(new Order());
}
}

PrintFormat("There are %d orders. ",list.size());

===============
plz update TradingPool() in ur convience. thx lots.

@dingmaotu dingmaotu self-assigned this Jun 22, 2018
@dingmaotu dingmaotu added the bug label Jun 22, 2018
@dingmaotu
Copy link
Owner

See the latest README. The commit used to close this issue has some problems.

@chhcuo
Copy link
Author

chhcuo commented Jun 24, 2018

thank u. digmaotu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants