John Mann1

Additional Time Frame overlay

John Mann1 Updated   
FX:EURUSD   Euro / U.S. Dollar




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)

Comment:
See if you can make use of it.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.