John Mann1

Additional Time Frame overlay

John Mann1 已更新   
FX:EURUSD   欧元/美元




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)

评论:
See if you can make use of it.
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。