How to display an indicator line in a chart

Created at 31 Aug 2018, 17:14
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
95

9511486

Joined 31.08.2018

How to display an indicator line in a chart
31 Aug 2018, 17:14


In cBots, Indicators.MovingAverage method has been applied. How can I show this indicator in the chart?


@9511486
Replies

PanagiotisCharalampous
31 Aug 2018, 17:22

Hi 9511486,

Thanks for posting in our forum. In order to display something on the chart you either need to create an indicator and put the relevant values in an IndicatorDataSeries property with an Output attribute (See sample indicators) or use any of the drawing functionalities available in the new API.

Best Regards,

Panagiotis


@PanagiotisCharalampous