I had tried searching through the forum to see if anyone had created a similar indicator/tool and the only thread I could find was this one: https://usethinkscript.com/threads/...eward-tool-i-would-like-some-assistance.2104/
It's kind of close to what I would like to have but unfortunately it looks as though it was never actually created. I've provided some screenshots of TradingView's position calculator where you can choose Long or Short and it will automatically tell you how many shares you can purchase based on your input.
Here are the parameter settings for the position calculator:
You can set it by your total account and the amount of risk (in USD or %) you want. It will automatically calculate the number of shares based on your entry, stop, and risk amount.
This is if you wanted to change colors and other style settings:
It would be great to have something like this within ToS so that I no longer have to try and set this up on TradingView and then scramble to place an order on ToS. If it's easier to create and less work, I can forgo the take profit level as I really just want to be able to show/mark my entry and stop loss and have the number of shares I can purchase all visible and automatically calculated based on my settings.
Is this possible to create within thinkscript? If anyone has any thoughts/ideas or know of something similar or has some partial code that can be tweaked, please let me know as it would be greatly appreciated. Thanks!