Using watchlist custom study in Chart


New member
Hi everyone! I am trying to add labels on a chart where each label shows a different time frame. So even on a 5 minute chart, you will probably see labels like 5,15,30,1hr,4hr,D on top left and the color will be the identifier of the histogram. This isn't possible because I can't pass aggregation period on the function which I am trying to use (code isn't available on tos)
However, I realized that I can create custom variables for watchlist to use the same function and in there, I can specify the timeline like here


So I was thinking maybe I can create different columns like this and maybe call them in my script. Does TOS support this? So far when I started typing in the editor, the name remained red.
Last edited by a moderator:

Similar threads