OPEN-SOURCE SCRIPT

Position Size Tool

Aktualisiert
Updated - Version 2

This tool is used to calculate the size of a trade.

Settings - Type in total account size and % of capital that can be risked on each trade.

The table will display:
Column 1 - Stop placement based on low, mid or high value of the current candle.
Column 2 - Percent risk on the trade.
Column 3 - Amount of shares that can be traded (calculated from account size, risk and selected stop placement).

Green color is intended for long position, stop at the low of the candle.
Red color is intended for short position, stop at the high of the candle.
Middle value can shift between either color since its measured from open to close.
Versionshinweise
Table size option.
Versionshinweise
Added a movable stop line for specific stop placement, can for example be helpful on shorter timeframes or custom values. The line have its own size / risk input which can be accessed from the inputs tab. You can hide the function via the styles tab. Line have two colors, in case above current price will be Green (buy stop order) or below price Red (sell stop order).
Versionshinweise
Labels
Versionshinweise
Added checkbox for the option to remove the main table information or movable line based on preference. This can be used in case one does not use both functions and want to have more space / clearer information.
Versionshinweise
Account Input: Account size and risk are now entered in one place.

Table: Added headers and the option to show or hide individual sections to make it more customizable.

Manual Stop Line: You are now prompted to enter an initial value to make the line visible, which can be re-opened from the indicator settings (simply select reset points). This can be helpful when switching between charts and the line falls outside of vision due to the price difference.

Layout: More user friendly settings tab and added some tooltips.
Versionshinweise
Labels
candleCandlestick analysisPortfolio managementpositionpositionsizeriskriskamanagementriskrewardsharesSIZEstatisticstool

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss