OPEN-SOURCE SCRIPT

Crypto and FX PSC

Updated
A simple tool to calculate crypto position size and FX lot size.

How to use:
1. Use TradingView measurement tool or position tool to know how wide is your stop loss.
2. Set the equity and risk parameters.
2. For crypto, input the PERCENTAGE in stop loss;
For FX, input the PIPS.
3. Position size will be displayed in the panel.

Notes:
>Position size is in USDT for Cryptocurrencies
>Lot size for forex.

Forex contract size is your account type set by the broker:
Standard = 100,000 units = ~110/PIP
Mini = 10,000 units = ~11/PIP
Micro = 1,000 units = ~00.10/PIP
Nano = 100 units = ~$0. 01/pip

Credits:
trananhvu149
hanabil
Release Notes
Fix "invalid symbol" on crypto chart.
calculatorCryptocurrencyForexPortfolio managementpositionsizing

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