informanerd

HTF Candles

This draws candlesticks from higher time frames on the current chart. I tried to keep the script simple using some newly introduced Pine capabilities.
To change the options like the higher time frame and candle colors, check the indicator settings.
Looking forward to your opinions!
版本注释: - Fixed a bug related to the calculation of candle wicks position
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。

想在图表上使用此脚本?

评论

Amazing work, I recommend this one to everyone. I tested the candles to see if they are accurate and they are all perfect. Great example of box.new and using an array of boxes as well.
回复
it's very cool
thank u
回复
informanerd eminserdarsengul
@eminserdarsengul, no problem
回复
I have added option to make any custom timeframe according to need. and i was looking for this from so long. Thanks a lot sir
回复
informanerd Prakarti31
@Prakarti31, Good luck!
回复
Great! Can you at alerts?
回复
@dpanday, Alerts on what?
回复
dpanday informanerd
@informanerd, On the color change. Or is it not reliable to trade on that?
回复
@dpanday, Obviously you could not trade on that. I suppose you are thinking about trend trading. In that case HTF candles could help you e.g in this scenario:
1. Confirm the trend by observing successive HH-HLs / LH-LLs on HTF (Higher Time Frame) candles.
2. Confirm the same trend direction by observing successive HH-HLs / LH-LLs on CTF (Current Time Frame) candles.
3. Trade immediately on the trend.
4. Ride the trend and only exit if you lose the signs (HH-HLs / LH-LLs).

So I think you could increase your success rate by using HTF candles, but not by trading only on them.
回复
dpanday informanerd
@informanerd, thanks for your answer
回复