How to check the exist opening order in terminal price range

 

Hello I'm a newbie using MQL4.

Can anyone suggest me how to check existing order in range example I want to know how many order in price 1.25000 - 1.26000 

and what is the order pending price.

Are there any command to check it? 


Thank you

 
Boomboy26: Can anyone suggest me how

Are there any command to check it?

  1. Go through the orders, see if they are pending or open, get the open price check it.
  2. Perhaps you should read the manual.
              Trade Functions - MQL4 Reference

 
whroeder1:
  1. Go through the orders, see if they are pending or open, get the open price check it.
  2. Perhaps you should read the manual.
              Trade Functions - MQL4 Reference

Thanks 
To get the order price in order pool is very easy I know that.
My question is to scan in terminal range position example I have 100 pending order. I want to check 1.25000 to 126000 position. Are there any order inside this range? 

I design the Close system.
 
Boomboy Eakkawat:
Thanks 
To get the order price in order pool is very easy I know that.
My question is to scan in terminal range position example I have 100 pending order. I want to check 1.25000 to 126000 position. Are there any order inside this range? 

I design the Close system.
Show your code if you need coding help.
Reason: