How do you set the risk and get the lot automatically in MT5?
In Magic Entry, a trade manager for MetaTrader 5 by HINN, you type the risk as a percentage of the balance or as an amount in the account currency and place the stop on the chart; the advisor sizes the lot for that risk when the trade opens. In the % and $ modes it reduces the volume so that the loss at the stop plus the round-turn commission you enter in the settings stays within the risk, and with spread control on it places a sell’s stop one spread above the click and resizes the volume for the same risk.
The volume is rounded to the broker’s minimum lot and lot step, so the actual risk can differ slightly from the target; the Lots and Fixed Lots modes open the volume you type instead. With the DEFAULTS scheme on, a MARKET entry is one click: the stop you place sets the lot, and the take profit, partial takes and break-even come from the scheme. Like any Expert Advisor, it works while MetaTrader 5 is running and connected. Magic Entry is a trade manager (Expert Advisor) sold on MQL5 Market; it does not open trades by itself.