how it type (if there is no opened positions now)in mlq4 please

 

how it type (if there is no opened positions now) in mlq4 please

thanks

 
What have you coded so far? Are you looking for if( OrdersTotal()==0 )? Are you looking to include Pending Orders? Give more details next time you ask a question.
Reason: