DrawStaticText throws cTrader.CrossDomain.Shared.Exceptions.AlgoAbortedException

Created at 04 Jan 2019, 10:21
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!
SH

Shares4UsDevelopment

Joined 14.10.2018

DrawStaticText throws cTrader.CrossDomain.Shared.Exceptions.AlgoAbortedException
04 Jan 2019, 10:21


Chart.DrawStaticText("nono", "Bias (" + outputType + ") indicator", VerticalAlignment.Top, HorizontalAlignment.Center, Color.AliceBlue);

Exception of type 'cTrader.CrossDomain.Shared.Exceptions.AlgoAbortedException' was thrown.


@Shares4UsDevelopment
Replies

Shares4UsDevelopment
04 Jan 2019, 10:22

RE:

dhr.a.koning said:

Chart.DrawStaticText("nono", "Bias (" + outputType + ") indicator", VerticalAlignment.Top, HorizontalAlignment.Center, Color.AliceBlue);

Exception of type 'cTrader.CrossDomain.Shared.Exceptions.AlgoAbortedException' was thrown.

Sorry. text needed to be added:
Sometimes this error gets thrown. Anyone an idea why?


@Shares4UsDevelopment

PanagiotisCharalampous
04 Jan 2019, 10:24

Hi Ton,

Can you share the complete cBot code?

Best Regards,

Panagiotis


@PanagiotisCharalampous

Shares4UsDevelopment
04 Jan 2019, 12:25

Sorry. cant do.
I put it in try catch now it does not bother me anymore.
Thank for the interest.


@Shares4UsDevelopment