Placing an order
The ticket starts from how much money the trader is willing to lose, not from a lot size.
Size from money at risk
Risk is a fixed amount or a percentage of capital, and the stop is a price distance. The lot size is derived. When the budget cannot buy the minimum lot, the order rounds up to 0.01 and the ticket shows the real risk of that lot, and the account limits are checked again with that number.
Take-profit from a reward-to-risk ratio
The target is stated as R, a multiple of the stop distance, so changing the stop moves the target with it.
Armed entries: limit after return
Wait until price touches level A, then rest a limit order at return level B. The condition is held by the Expert Advisor, so it keeps working while the server restarts.
Margin is not risk
A pending order holds no margin until it triggers, so a tight stop can produce a lot the account cannot carry at that moment. Margin is checked before sending: automated orders are refused, manual ones get a warning with the numbers.