NS91

Custom position sizer

NS91 Diupdate   
This is a simple script to aid with determining position size.

Inputs are the intended entry price, desired risk (expressed as % of account at risk), account value, and leverage factor.

To use the script;

1. Identify and update the entry price (yellow line on the chart)
2. Update with desired risk
3. Update with account size
4. Adjust the leverage value until the stop loss (red line on chart for long positions, green line for short positions) reaches the desired value/location on the chart

The label will then update to show the required position size for the trade.
Catatan Rilis:
Updated to generate label on current bar only
Catatan Rilis:
Further update to fix the issue of labels forming at every new bar
Catatan Rilis:
Reworked calculation of position size, added individual inputs for stop and target prices, added background colours.
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?