Hi, i want to be able to track stocks % gain/loss since open, how can i do this? ideally i would like it next to the current % loss/gain since previous close. Surely this is possible? ive been looking but i cant find anything.
thanks
WingParticipant
Veteran
// Today's current %
PriceChange = close / dopen(0)
// Since yesterday close % change
PriceChange2 = close / dclose(1)
thanks but thats code for a screener/system i just want to be able to see it in a list or something
WingParticipant
Veteran
Use this indicator:
// Today's current %
PriceChange = close / dopen(0)
// Since yesterday close % change
PriceChange2 = close / dclose(1)
return pricechange, pricechange2
Ok thank you but how do I do that?
WingParticipant
Veteran
As far as I know, you can’t display it in a list like you are asking for, but you can display it using an indicator. You have to add the code as a new indicator and add it on your chart.
StefParticipant
Average
A Screener is just a list.
Create a screener with the following code:
PriceChange = ((close/dopen(0))-1)*100
SCREENER[PriceChange](PriceChange as "%Chg Today")
You can then drag the column so that it is displayed next to the %Chg column.
Keep in mind that PRT’s %Chg value does not include the auction close (yesterday’s real close) price and would therefore be different from what is displayed in other platforms.
Also, the screener will only display up to 50 matches – you can use the sort column to try and get/see the ones that you are interested in. Or, set it up to run on specific predefined lists.
Regards
Stef
hi, thanks for the help.
But i already rely heavily on a screener, so is there a way i can have 2 screeners open?
Thanks