TradingView
JustUncleL
9 Kas 2017 08:35

HTF Candle R1.2 by JustUncleL 

Australian Dollar/Canadian DollarFXCM

Açıklama

Description:

This indicator creates a representation of a Higher Time Frame (HFT_) candlestick which is overlaid onto the Current chart. You can optionally show Body and/or Wicks.

Warning:
Be aware the current HTF_ candle does not back update the bar representation and chart needs be refreshed to update properly. I don't know of a way around this issue.

Yorumlar
sadnc2020
does it re-paint?
DatCryptoBoi
I made a small modification to this. If you use this ternary when plotting

fill(po, pc, color=newBar?na:colour, title="Fill Colour Body")
fill(pt, ph, color=newBar?na:gray, title="Fill Top Wick")
fill(pb, pl, color=newBar?na:gray, title="Fill Bottom Wick")

Then you get gaps between the bars
GMDJ789
CanerAydogan
@DatCryptoBoi, Nice bro thank you! Breakout Scalper:)
JustUncleL
If you change line 53 : type=resolution to type=string

This allows more diverse options for Higher Time Frame resolutions, for example "1M", "240" etc., which are not available in the "resolution" type drop down list.
ETCBTC
@JustUncleL, you can also do use this for line 53

resoln = input(title="HTF Candle Resolution", defval = "D")

Then you can enter whatever res you want :)
JustUncleL
@ETCBTC, Same thing as type=string really, that just means the pinescripts assumes type=string if you specify default "D" without any type option.
ETCBTC
@JustUncleL, ah I see. Thanks for clarifying :) #I'maNoob
MerihliMert
Nice work, you are awesome JustUncleL
Couta
Nice concept!
Daha Fazla