Manfrom1968
New member
For the Watchlist column I really like the Percentage Change from the Open but I was wondering is it possible be able to have this script modified so I could specify "Percentage Change after a specific time like 11:00 am NY time" for example? Any help is appreciated, Thank you! This is the %change from open script.
#this show percentage change from the open
def openPrice = if SecondsTillTime(930) == 0 then open else openPrice[1];
def pctChangeFromOpen = (close - openPrice) / openPrice;
AddLabel(yes, AsPercent(pctChangeFromOpen), color.white);
AssignBackgroundColor(if pctChangeFromOpen > 0 then color.dark_green else color.dark_RED);
#this show percentage change from the open
def openPrice = if SecondsTillTime(930) == 0 then open else openPrice[1];
def pctChangeFromOpen = (close - openPrice) / openPrice;
AddLabel(yes, AsPercent(pctChangeFromOpen), color.white);
AssignBackgroundColor(if pctChangeFromOpen > 0 then color.dark_green else color.dark_RED);