OrderSelect() operates on a pool of trades, it does not know anything about charts.
You code above is not "chart specific".
phy:
OrderSelect() operates on a pool of trades, it does not know anything about charts.
You code above is not "chart specific".
Yup, I just realized that. I had issues inside my loop that was causing the problem. Thanks for the help.

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
I have a small script that I created. When I drag it to a chart, it only sees via SelectOrder() the trades for that specific chart.
Is there a way to select all orders regardless of the chart and pair globally?
I am just using a for loop to get all orders: