TradingView
echepata
Aug 4, 2021 2:55 AM

No gaps candles 

GBLXTEC ETF UNITSASX

Description

This indicator repaints the candles so that every candle's open price is the previous candle's close price. This helps visualize stocks and ETFs that have big gaps, usually between trading days.

You should hide visibility of the ticker for this to be displayed properly.

Release Notes

Update chart

Release Notes

New feature to only apply the no gaps functionality to the day open candle

Release Notes

Show the current price line on the graph + add option to hide it

Release Notes

Update chart

Release Notes

Update to version 5

Release Notes

Fix problem with line

Release Notes

Extend the price line further into the past (free accounts seem to be limited to 4999 bars in the past)
Comments
Patidar_Patel
Thanks for the indicator...very useful for reading the gaps ...cheers..

I have one query...why it does not work when I copy the same scrip to my pine editor.... I want to use it along with my moving average - pine script overlay

can you help?
echepata
Hi @Patidar_Patel, I really can't say why it wouldn't work for you... maybe it's the version for your script? Make sure your script is version 4, with the comment //@version=4

Also, make sure to hide the original ticker, because showing both will not give the desired result. If this doesn't work, try to post your code here and I can check it out.
Patidar_Patel
@echepata, Thanks ...its working ....thanks again for this indicator...waiting for it since long for it...greatly working for my trade setup...cheers..
vgdbsbf
this is an amazing indicator and super helpful , thank you so much .
Kuldeep_Rathore
Hi sir , I am using this indicator, very good

There is one problem I am facing is I am keeping missing the openings gap.

Can you make another indicator which shows only data from 09:15AM to 03:30PM Indian standard time
Zayx0
My all time most favorite script, Thanks alot!
Basileus
Hello Echepata,
Thank you very much for your script and sharing with us!
I was trying to make a copy where the close of the prior bar is where the open of the next one is but without any success. Looks like the plotcandle doesn't have offset function. Any ideas how to accomplish this? Your help is much appreciated!
Basileus
Tried this code but it skips the candle before the last one, any idea how to fix this? Thank you!

myOpen = open
myClose = close
myHigh = high
myLow = low

if bar_index==last_bar_index
myOpen := open
myClose := close
myHigh := high
myLow := low
else
myOpen := open[1]
myClose := open
myHigh := high[1]
myLow := low[1]

candleColor = myOpen <= myClose ? color.teal : color.red

plotcandle(myOpen, myHigh, myLow, myClose, color=candleColor, bordercolor=candleColor, wickcolor=candleColor)
echepata
@Basileus, Maybe I don't understand what you're trying to do because the comments remove the square brackets... do you mind changing the comment to replace the square brackets with parenthesis?
echepata
@Basileus, Also, if you want you can publish your script and I'll take a look at what's going on
More