@simba296
so you wanna know:
if you already have reached the total allowed number of trades or if you allowed to open any trade (if OrdersTotal(); <max trades) means you are below max trades and can open another
if you are allowed to open trades on the current symbol basically the same but just with the current symbol check.
can look like this:
94399ab0-4ff5-4d32-b6d0-ffe7a06a5703-image.png