Additional Time Frame overlay

By John Mann1
Updated
tradingview.com/x/qxGUNJLL/
tradingview.com/x/yOzzY5wM/


Different time frames can be selected via controls

study("Add TimeFrame", shorttitle="TF Layer", overlay=true)
res = input("240", type=resolution)
o = security(tickerid, res, open)
h = security(tickerid, res, high)
l = security(tickerid, res, low)
c = security(tickerid, res, close)

col = c >= o ? lime : red
plotcandle(o,h,l,c, color=col)

snapshot
Comment
See if you can make use of it.
mtfmulti-timemulti-timeframeoverlaytimeframe

Disclaimer