Indicator doesn't plot in cbot

Created at 03 Jan 2019, 06:18
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!
3N

3nen1000nichi

Joined 03.01.2019

Indicator doesn't plot in cbot
03 Jan 2019, 06:18


Hi!

I'm trying to create a cbot which refers to a custom indicator using "Indicators.GetIndicator" method.
But seems like the indicator doesn't plot anything while activating the cbot or backtesting.

In order to reproduce the problem, I prepared 2 simple custom indicators(RSI:IsOverlay = false, SMA:IsOverlay= true).
They both works fine when used as indicator.
But once I combain it with cbots for each, they started not plotting, was able to get the values though.

Is it possible to use cbot with plotting indicator either on chart or on separeted indicator area.

thank you.


@3nen1000nichi
Replies

PanagiotisCharalampous
03 Jan 2019, 09:42

Hi 3nen1000nichi,

Thank you for posting in our forum. You cannot plot an indicator from a cBot. You need to manually add it on the chart.

Best Regards,

Panagiotis


@PanagiotisCharalampous

3nen1000nichi
03 Jan 2019, 13:12

Hi Panagiotis,

Thank you for your prompt reply.

 


@3nen1000nichi