OPEN-SOURCE SCRIPT

Trading Panel

Telah dikemas kini
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
Nota Keluaran
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.
Nota Keluaran
Made it possible to switch between two pre-defined Accounts.
Nota Keluaran
Fixing an error in the calculations of Account2.
Pivot points and levels

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian