Adding RSI indicator below candlesticks chart
Hi,
Attachment: TradingViewExample_bb7548e2.rar
in stock charts, an RSI indicator value goes between 0 and 100. Therefore, RSI is usually shown below the candlesticks pane since they can't have the same Y-axis.
So, I'm trying to create a chart that shows the candlesticks chart and below it the RSI. Both candlesticks chart and RSI will have the same Time range. Please see an example from TradingView of what I'm trying to achieve.
Thanks.
Saleh.
Attachment: TradingViewExample_bb7548e2.rar
SIGN IN To post a reply.
3 Replies
1 reply marked as answer
SM
Saravanan Madheswaran
Syncfusion Team
March 16, 2021 01:37 PM UTC
Hi Saleh,
Greetings from Syncfusion support.
We would like to let you know that we can achieve your requirement by using chart Multiple Area support.
Using that we can divide chart area into rows and columns like grid panel.
|
<syncfusion:SfChart >
<syncfusion:SfChart.RowDefinitions>
<syncfusion:ChartRowDefinition Height="20"/>
<syncfusion:ChartRowDefinition Height="60"/>
</syncfusion:SfChart.RowDefinitions>
<syncfusion:SfChart.PrimaryAxis>
. . .
</syncfusion:SfChart.PrimaryAxis>
<syncfusion:SfChart.SecondaryAxis>
<syncfusion:NumericalAxis
OpposedPosition="True" LabelFormat="0%" . . . .
Header="Indicator" />
</syncfusion:SfChart.SecondaryAxis>
<syncfusion:FastHiLoOpenCloseBitmapSeries
ItemsSource="{Binding Datas}". . . >
<syncfusion:FastHiLoOpenCloseBitmapSeries.YAxis>
<syncfusion:NumericalAxis
syncfusion:ChartBase.Row="1" Header="USD" />
</syncfusion:FastHiLoOpenCloseBitmapSeries.YAxis>
</syncfusion:FastHiLoOpenCloseBitmapSeries>
. . .
</syncfusion:SfChart> |
Please check the sample above and let us know your concern.
Regards,
Saravanan.
Marked as answer
SA
Saleh
March 16, 2021 10:53 PM UTC
Thanks Saravanan. Just what I really need.
Again, thanks for the quick reply and for providing the sample. I really appreciate it.
YP
Yuvaraj Palanisamy
Syncfusion Team
March 17, 2021 05:38 AM UTC
Hi Saleh,
Thanks for your update.
Please let us know if you have any further assistance.
Please let us know if you have any further assistance.
Regards,
Yuvaraj.
SIGN IN To post a reply.