stocktrends icon indicating copy to clipboard operation
stocktrends copied to clipboard

Hello Sir, how to convert renko code to range bar code?

Open vijaygamma opened this issue 2 years ago • 5 comments

I see both renko and range bar chart look alike and have only few differences related to open high low close values calculation. What are the values needed to be changed in renko code in order to get range bar code?

Thank you.

About range bar chart: https://www.investopedia.com/articles/trading/10/range-bar-charts-different-view.asp

vijaygamma avatar Sep 13 '21 15:09 vijaygamma

@vijaygamma I don't know much about range bar calculations. Need to look into it.

ChillarAnand avatar Sep 13 '21 15:09 ChillarAnand

Thanks for replying. Please tell me how to implement renko code with live stock market api rather than visualizing history data from .CSV file.

Thank you.

vijaygamma avatar Sep 15 '21 02:09 vijaygamma

This package only provides calculations for various charts.

For real time data, you need to buy API from any broker and then run Renko on top on the streaming data. @vijaygamma

ChillarAnand avatar Sep 15 '21 02:09 ChillarAnand

Hello, I'm trying to plot renko chart with stock market api(I'm using historical data api as of now). Being a beginner in python I have learnt from various tutorials to get the below result shown in the image. Can you please tell me what are the next steps in plotting the reko chart. I'm using Google Colab to plot the data.

Thank you. IMG_20210928_210047

vijaygamma avatar Sep 28 '21 16:09 vijaygamma

@vijaygamma I have written a tutorial long back on how to plot Renko bars with Python. https://avilpage.com/2018/01/how-to-plot-renko-charts-with-python.html

ChillarAnand avatar Sep 29 '21 11:09 ChillarAnand