vinitpandya

Simple Position Sizer

vinitpandya Telah dikemas kini   
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.
Nota Keluaran:
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.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?