warning about colors to color.

Created at 17 Feb 2020, 06:24
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!
TR

traderfxmaster007

Joined 09.07.2019

warning about colors to color.
17 Feb 2020, 06:24


hi everyone, i need your help to update this code to work in version 3.7 thanks.

        [Output("Weak Up Trend", Color = Colors.Green, PlotType = PlotType.Histogram, Thickness = 2)]
        public IndicatorDataSeries weakbuy{ get; set; }

 


@traderfxmaster007
Replies

firemyst
17 Feb 2020, 08:45

RE:

traderfxmaster007 said:

hi everyone, i need your help to update this code to work in version 3.7 thanks.

        [Output("Weak Up Trend", Color = Colors.Green, PlotType = PlotType.Histogram, Thickness = 2)]
        public IndicatorDataSeries weakbuy{ get; set; }

 

        [Output("Weak Up Trend", LineColor = "Green", PlotType = PlotType.Histogram, LineStyle = LineStyle.Solid, Thickness = 2)]
        public IndicatorDataSeries weakbuy { get; set; }

 


@firemyst