♥ 0 |
I would like to apply dynamic background color to watchlist fields based on a symbol’ real time %change from the previous days close. I would like this formula using %change to be dynamic so that the colors change as the %change from the close changes in real time. I’m unable to apply code to the %Change field that comes standard in a watchlist, so how can i make my own %change field and apply background color to it, that changes in real time along with the %change data? I very much need this idea to work in the premarket as well as the rest of the day. Any help greatly appreciated!
Marked as spam
|
Private answer
Pretty sure you already ran across the following posts when you searched the forum before posting your question. But the question you have posted has already been solved in numerous ways on this forum. The following post shows how to display the percent change from previous close in real time including extended hours trading session: https://www.hahn-tech.com/ans/percent-change-comparing-previous-day-close-to-premarket/ The following post shows how to display the percent change from previous close in real time for regular session only. But it does show how to dynamically set the background color based on positive or negative percent change: https://www.hahn-tech.com/ans/percent-change-comparing-previous-day-close-to-premarket/ We can put those two elements together to solve your specific request:
IMPORTANT NOTE: You need to read the first post I linked above in order to understand how to properly set the custom column to the correct time frame and adjust the "endTime" variable to the appropriate time. Marked as spam
|
Please log in to post questions.