Padevul

PositionCalculator

PositionCalculator is a simple position calculator that helps to calculate position size or lot size based on custom settings. The calculation result is presented as a table on the chart screen.
Settings description:

MAIN SECTION:
Risk level in percentage
Account size
Entry price
Stop price
Take Profit


FOREX SETTINGS are in addition to the main:
- Exchange rate (default value = 1) - is applied if account currency is to other base currency.
If account currency is the base currency in the pair, the exchange rate should be 1.
- Reverse exchange rate flag - is used for pairs that don't contain account currency.
For example, the account currency is USD, trade pair is GBP/AUD
in this case exchange rate should be defined for AUD/USD in the corresponding field and
"Reverse exchange rate" flag should be set.
- Lot size - is the size of the lot that is used for specific currency (Should be taken from Broker,
the default value is 100 000)

TABLE SECTION
- Dark mode flag - defines the color of the table text according to the user color mode
(black/white)
- Position of table - the result table can be presented in four different places (top_left,
top_right, bottom_left, bottom_right)
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?