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)
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?