OPEN-SOURCE SCRIPT

Trading Panel

已更新
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
版本注释
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.
版本注释
Made it possible to switch between two pre-defined Accounts.
版本注释
Fixing an error in the calculations of Account2.
Pivot points and levels

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明