# Ohlc candles displayed in a candlestick chart are not connected

**URL:** <https://community.bitquery.io/t/ohlc-candles-displayed-in-a-candlestick-chart-are-not-connected/787>\
**Category:** GraphQL API\
**Tags:** support\
**Created:** [January 5, 2022, 4:06pm UTC](https://community.bitquery.io/t/ohlc-candles-displayed-in-a-candlestick-chart-are-not-connected/787 "2022-01-05T16:06:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![d-bardiau](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@d-bardiau](https://community.bitquery.io/u/d-bardiau)\
**Post date:** [January 5, 2022, 4:06pm UTC](https://community.bitquery.io/t/ohlc-candles-displayed-in-a-candlestick-chart-are-not-connected/787/1 "2022-01-05T16:06:07Z")

</div>

Hi everyone,

I try to render a candle sticks and could use some help to solve a issue.

I try to rneder a candle stick chart on the bsc network and basically it works. Only problem is that the candles are not connected to each other because open and close for each interval have a big difference.

This is how it looks like:

![Screenshot 2022-01-05 at 17.00.59](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/9b75cdabb0eed20946187eb907f01b5d1ed516d3.png)

You can find a example query here:

[https://graphql.bitquery.io/ide/SYA—BNB-ohlc](https://graphql.bitquery.io/ide/SYA---BNB-ohlc)

Can you please point me in the right direction how to solve this issue? Thx in advance.

---

<div class="post-metadata">

**Author:** ![d-bardiau](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@d-bardiau](https://community.bitquery.io/u/d-bardiau)\
**Post date:** [January 5, 2022, 4:07pm UTC](https://community.bitquery.io/t/ohlc-candles-displayed-in-a-candlestick-chart-are-not-connected/787/2 "2022-01-05T16:07:35Z")

</div>

This is how it should look like:

 ![Screenshot 2022-01-05 at 17.02.15](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/c47a1d6171485447c8c0b69dd4c3f7bad8618a43.png)

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [January 7, 2022, 12:45pm UTC](https://community.bitquery.io/t/ohlc-candles-displayed-in-a-candlestick-chart-are-not-connected/787/3 "2022-01-07T12:45:05Z")

</div>

OHLC can be calculated in different ways.

Pass the last candle close price as the new candle open price. And you will get the connected candle.
