Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I was wondering if any one has a study that shows your P/L as a % gain basis. I have my $ P/L hidden but I would like to be able to view my % gain on the stock in real time as my strategy is based off of % gains or at least when I am looking to sell a portion of my position.
The formula to do so isnt bad from how I am looking at it.
X = Current Price - My Cost Avg
P/L % = (X / My Cost Avg) *100.
That should give me a rolling % P/L.
Im just not that familiar with TOS think script as far as plotting the data goes. I would prefer it to be just a small little bubble in the corner of the chart some where if Possible.
Any help here would be greatly appreciated!
Thanks in advance
Can you help answer these questions from other members on NexusFi?
Here's a simple Thinkscript that will display what you want in a lower panel. IF you simply want the label on the primary chart window, remove the declare instruction, but be sure to update the settings to not show the plot so it doesn't impact your timeframe chart scale.