Opening orders with safety

 
Hi, can you tell me some tips about things to be careful for, or a template you use for opening orders?
 

When you registered, perhaps you missed the part about Any discussions except of concerning MetaQuotes Language 4 and auto trading are forbidden. You're off topic.

 
Jasus5457:
Hi, can you tell me some tips about things to be careful for, or a template you use for opening orders?

Use this, OrderSend(), after you have read and understood this: https://book.mql4.com/appendix/limits and this What are Function return values ? How do I use them ?
Reason: