Position size
How many coins if this stop hits.
The coin amount is the loss you are willing to take, divided by how far the stop sits from the entry. A larger gap means fewer coins. A closer stop means more coins and a higher chance that ordinary noise hits it.
The fields start as a worked example: €10,000, risking 1%, entry €80,000, stop €74,000. That is €100 of risk across a €6,000 gap, about 0.0167 coins, about €1,333 at the entry. Replace every number with your own before you use the result.
How it is calculated
Risk euros are the account times the percent. Coins are those euros divided by the absolute distance between entry and stop. Position in euros is coins times the entry. If the stop fills exactly at the typed price, the loss on the coins equals the risk euros. A stop above the entry is treated as a short. A stop below it is treated as a long.
Slippage, a gap through the stop, funding on a perpetual, and leverage are not in the sum. Leverage in particular makes this size too large, because the loss arrives on borrowed coins. If you do not have a stop, the formula has nothing to divide by.
Questions
How is position size set?
Risk euros are account times the percent. Coins are those euros divided by the absolute distance between entry and stop. A fill exactly at the stop then costs about that much.
Does this include leverage or slippage?
No. Slippage, a gap through the stop, funding on a perpetual, and leverage are not in the sum. Leverage makes this size too large.