vinitpandya

Simple Position Sizer

vinitpandya Aktualisiert   
Simple Position Sizer is designed to calculate optimal position sizes based on a defined risk percentage and stop-loss level. It offers two modes for determining position size: using the current close price or a specified entry price. The script provides key trade details such as entry price, stop-loss level, quantity to trade, total cost, and risk amount in monetary terms, alongside visual indications of these parameters through colored lines and labels on the chart. Users can customize account size, risk per trade percentage, and entry and stop-loss levels directly within the settings.

Usage Scenario:

A trader looking to enter a position would first decide whether the entry is based on the current closing price or a predetermined level. After setting the stop-loss level and specifying the risk per trade as a percentage of the account size, the script calculates the number of shares or contracts to purchase. It also computes the total cost of the position and displays the potential loss if the stop-loss is triggered, allowing the trader to understand the risk involved before entering the trade.

Visual Indicators:

  • Green indicators suggest a long setup where the entry level is above the stop-loss, indicating bullish entry.
  • Red indicators signal a short setup where the entry level is below the stop-loss, reflecting bearish entry
  • Blue lines represent the entry level when specified by the trader, providing a visual cue for planned entries.
Versionshinweise:
v1.04

Added the ability to have a yellow Take Profit line based on the RR that can be defined in the settings of the indicator.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?