System Defined Colors

Created at 03 Oct 2018, 11:59
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!
alexander.n.fedorov's avatar

alexander.n.fedorov

Joined 02.01.2018

System Defined Colors
03 Oct 2018, 11:59


Dear Panagiotis!
 

in a new API , how do you use system difined colors in bots?

 [Output("MA Slow",LineColor = )]
        public SimpleMovingAverage MaSlow { get; set; } ?

Best regards

 

Sasha


@alexander.n.fedorov
Replies

PanagiotisCharalampous
03 Oct 2018, 12:26

Hi Sasha,

You can try an obsolete method as below

[Output("Main", Color = Colors.Red)]

Best Regards,

Panagiotis


@PanagiotisCharalampous

alexander.n.fedorov
03 Oct 2018, 12:34

Worst comes to worst I will have to 


@alexander.n.fedorov