The reason I published this script is because all other position size calculator scripts try to provide way too much when it should be much simpler, position in strange areas of the chart and leave unwanted chart pollution.
This is a bare-bones functional table that takes your risk level, entry, stop and take profit as inputs, and calculates your loss, profit and required position size for your chosen risk level as a result.
Inspired by a table type position size calculator made by DojiEmoji design/color-wise. Functionally different however.
I hope you find this script useful and include it on your trading journey.
Now users can select their account currency denomination and calculate their relevant lot size for Forex trading pairs irrespective of whether or not the pair is denominated by their account currency or not.
This feature is in beta and improvements may be made.
Removed 'CNH' account denomination currency temporarily as exchange rates for USDCNH pairs cannot be fetched.
Fixed a bug where the incorrect lot size was returned for pairs not in the specified account currency.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.