kruskakli

Trading Panel

kruskakli Updated   
When trading, position sizing and risk calculation is the key to become successful.

We need to keep the losses small and adjust the position size according to what
risk we are prepared to take for the planned Entry.

Based on the Account Size and the max percentage we want to risk for any trade,
we calculate, for a number of fixed max Loss percentages:

- The Position size, both in percent and in the selected currency.
- Number of shares to buy.
- Where to put the Stop Loss.

We also calculate the numbers based on the ATR times a multiple.

The values are presented in a table format and will hopefully aid in selecting
a suitable Stop Loss (based on the chart situation) and hence the proper Position Size.

We also allow for expressing the Account size in currencies other than USD.
Example:

Account Size in USD and trading US stocks: select USD
Account Size in SEK but trading US stocks: select USDSEK
Release Notes:
Changed the name to more accurate describe it; new name: 'Position Sizes'
Polished the look of the table and added a column with a calculated
1RTP (1 Risk amount Take Profit) value.
Release Notes:
Made it possible to switch between two pre-defined Accounts.
Release Notes:
Fixing an error in the calculations of Account2.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?