So I actually got a script for exactly what I was looking for
@aksatts . I usually use a 5 min ORB Strategy, of course with good indicators and news catalyst, and was looking for script that I could enter to automatically calculate a dollar amount divided by the 5 min high +$0.01. After someone gave me a script to input, it's going to be super beneficial for me due to the amount of time I'll be saving (3-5 seconds, which doesn't seem like a lot, but when a stock is very volatile, that's a lot of time) when
seeing how many shares I can buy compared to
calculating how many shares I can buy; especially for momentum trading, this is excellent. Here is the link:
https://tos.mx/xilNqLc . All you have to do is open TOS > go to SetUp > Open Shared Item > Paste Link > Click Open > Rename it > Go to Studies and Enter it.
What it does is create a label for me that I can see the amount of dollars I'd like to trade with divided by the high of the first 5 min. + $0.01. So if I input $1000 as my dollar amount and at 9:31 am, the high is at $1.01, it'll calculate the $1000/$1.02 to show me the amount of shares I can buy. And if the security increases to a high of $1.07 at 9:34 am, the label will adjust and show my $1000/$1.08.
You can also easily adjust it by changing the period end time to any time you want, your account balance to any amount you want, and your stock price adjustment to any increment you want. Hope that's useful for you; I wouldn't know how to change that into a percentage instead of stock price adjustment.