NS91

Custom position sizer

NS91 Güncellendi   
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.
Sürüm Notları:
Updated to generate label on current bar only
Sürüm Notları:
Further update to fix the issue of labels forming at every new bar
Sürüm Notları:
Reworked calculation of position size, added individual inputs for stop and target prices, added background colours.
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?