OPEN-SOURCE SCRIPT

Position calculator [krazke]

Updated
This indicator will help you calculate your position. This will automatically calculate potential liquidation price and select leverage for your stop loss and risk size.

How to use it:
1. Select position direction. (long checkmark - selected if it's long)
2. Select entry. If you want to use custom entry price select checkmark and set value. (Current price is default entry)
3. Enter stop loss.
4. Enter risk.
5. Enter max leverage for current ticker.

P.S. Liquidation price is not 100% correct but it almost.
Release Notes
- Screenshot update
educationalPortfolio management

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer