OPEN-SOURCE SCRIPT

Trading Panel

Zaktualizowano
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
Informacje o Wersji
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.
Informacje o Wersji
Made it possible to switch between two pre-defined Accounts.
Informacje o Wersji
Fixing an error in the calculations of Account2.
Pivot points and levels

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności