PROTECTED SOURCE SCRIPT
Updated

Position Size Calculator

2 164
Position size calculator!

Lotsize is calculated by using properties described below.

Properties:

- Show position size: Will only be visible on 5m - 15m - 60m chart
- Account Currency:
- Account Size: Between 0 and 10 000 000 units of currency
- Risk: Between 0 and 100%
- Stoploss: Between 0 and 200 pips
- Textcolor
- Contract sizes for different assets:
- Indices: SPXUSD, DE30, NAS100, US30
- Bonds: ZB, ZN, ZF
- Gold: XAUUSD
- Oil: XTIUSD
- Currency futures: 6A, 6B, 6C, 6E, 6J, 6N, 6S

Other symbols can be added by request.

Enjoy!
Release Notes
Added symbols to indexes:
- US30USD
- NAS100USD
Release Notes
Added calculation for ES
Release Notes
Added background color functionality + shorten indicator title

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.