KLineChartAndroid icon indicating copy to clipboard operation
KLineChartAndroid copied to clipboard

can't draw indicator on the ohlc chart

Open iamomidk opened this issue 5 years ago • 4 comments

I'm trying to draw Sma indicator and it works on sub Indicators but I want to draw it on the ohlc chart; please help me out.

iamomidk avatar Feb 23 '21 14:02 iamomidk

Any update over this ??

AmmeySaini avatar Jun 29 '21 09:06 AmmeySaini

not really i tried so hard and i got so far but in the end i got no answer

iamomidk avatar Jun 29 '21 10:06 iamomidk

Ready to refactor, you can take a look at this first KLineChart.

liihuu avatar Jun 29 '21 12:06 liihuu

@iamomidk I had a quick view of the repo code, seems like we can add our own custom MainIndicatorTypes Just have a look at KLineChartView, KLineModel, IndicatorChart, CalcIndicatorUtils and Indicator.kt file (just need small modifications and you are ready to go)

AmmeySaini avatar Jun 29 '21 13:06 AmmeySaini