How to code to get MIN and MAX openprice of all "Open Trade"
Hi guys, I would like ask if anyone know how to code the function to get the MIN and MAX open price of all ongoing running trade of Symbol() , assume I got no magic number.
E.g I got 4 trades of EUR USD running
1.3040 , 1.3077, 1.3129, 1.3158
I want to able get the return result of getting the MIN open price and MAX open price
e.g
double minPrice = getMinOpenPrice();
double maxPrice = getMaxOpenPrice();
which the getMinOpenPrice() and getMaxOpenPrice() is a function thats return the min / max of Symbol() only applicable to all "Open & Running Trade" & not include closed order that touch tp / sl
Hi guys, I would like ask if anyone know how to code the function to get the MIN and MAX open price of all ongoing running trade of Symbol() , assume I got no magic number.
E.g I got 4 trades of EUR USD running
1.3040 , 1.3077, 1.3129, 1.3158
I want to able get the return result of getting the MIN open price and MAX open price
e.g
double minPrice = getMinOpenPrice();
double maxPrice = getMaxOpenPrice();
which the getMinOpenPrice() and getMaxOpenPrice() is a function thats return the min / max of Symbol() only applicable to all "Open & Running Trade" & not include closed order that touch tp / sl
Trading is something special.