Indicator line not showing on chart

Created at 26 Apr 2020, 05:19
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!
AC

acrigney

Joined 25.05.2017

Indicator line not showing on chart
26 Apr 2020, 05:19


Hi Guys,

                 I have an indicator that works fine but its not showing on the cbot that is referencing it. I know that the values are in range of the chart.

   [Output("Prediction", Color = Colors.Magenta, PlotType = PlotType.DiscontinuousLine, Thickness = 2)]
        public IndicatorDataSeries MyIndicator{ get; set; }

So why would not the indicator display?

Best Regards,

                         Alistair


@acrigney
Replies

PanagiotisCharalampous
27 Apr 2020, 09:36

Hi Alistair,

cBots do not display the values of the referenced indicators. To display an indicator, you need to add it directly on the chart.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous