Watchlist column that shows difference between Last price and 52 week low?

S

Superfast

New member
I'd like to create a column on my watchlist that shows the % difference between the last price and the 52 week low. E.g. if the last price of BA is 355 and the 52 week low is 300, I'd like to have a column on my watchlist that shows the % difference between 355 and 300 i.e. 55/300 = 18.33%. Thanks.
 
T

tomsk

Active member
@Superfast Here's a watchlist column to perform what you requested

def Low52Week = Lowest(low(period = "Day"), 252);
AddLabel(1, AsPercent((close-Low52Week)/Low52Week), Color.Cyan);
 
2

2sureshk

Member
@Superfast Here's a watchlist column to perform what you requested

def Low52Week = Lowest(low(period = "Day"), 252);
AddLabel(1, AsPercent((close-Low52Week)/Low52Week), Color.Cyan);
[/QUOTE

Please share the similar for 52 HIGH and within 15% from 52week low and Hight as separate columns

Thx
 

Top