OPEN-SOURCE SCRIPT
Live Position Sizer V2

This is a refined version of my first Position calculator. The first one was getting in the way of the candles on the chart, so I added the ability for the user to position it where they want. I changed the color to gray. I added a "ATR based SL". This position sizer will lock onto the current price. With a SL of your choosing, it will give you real time quantity, and lots. Simply input your account size, risk, where you want your SL, long or short trade. It will spit out the info you need in real time. Like the first version, there is the ability to turn on "Live +R targets".
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.