It's not possible to draw new "Clouds" between indicators that have "up" and "down" colors?

Created at 10 Feb 2020, 05:01
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!
FI

firemyst

Joined 26.03.2019

It's not possible to draw new "Clouds" between indicators that have "up" and "down" colors?
10 Feb 2020, 05:01


Hi SpotWare:

I saw your announcement that we can now draw clouds between indicators.

How is this possible with indicators that have two outputs for showing 'up' and 'down' colors?

For example, I have multiple indicators like as follows:

        [Output("Up", PlotType = PlotType.DiscontinuousLine, LineColor = "Green", Thickness = 5)]
        public IndicatorDataSeries UpTrend { get; set; }

        [Output("Down", PlotType = PlotType.DiscontinuousLine, LineColor = "Red", Thickness = 5)]
        public IndicatorDataSeries DownTrend { get; set; }

When the value is positive, the "Up" color is shown; when the value is negative, the "Down" color is shown.

However, your announcement says and only shows an example for two outputs. In my example, the above 2 lines comprise 1 indicator line; I have another 2 outputs to show another indicator line.

How is it possible to have clouds drawn between them?


@firemyst
Replies

PanagiotisCharalampous
10 Feb 2020, 09:16

Hi firemyst.

The cloud option works only between two IndicatorDataSeries. In your case just add another continuous transparent IndicatorDataSeries that will have all the values and use it for your cloud.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

firemyst
10 Feb 2020, 10:14

RE:

PanagiotisCharalampous said:

Hi firemyst.

The cloud option works only between two IndicatorDataSeries. In your case just add another continuous transparent IndicatorDataSeries that will have all the values and use it for your cloud.

Best Regards,

Panagiotis 

Join us on Telegram

 

Awesome.

How do I set a default color being "transparent" with the line color attribute?

For example, using:

LineColor = "Green"

Is there a special hex code or something to do it?

Thanks @Panagiotis!


@firemyst

PanagiotisCharalampous
10 Feb 2020, 10:42

Hi firemyst.

Check here.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

firemyst
10 Feb 2020, 14:44

RE:

PanagiotisCharalampous said:

Hi firemyst.

Check here.

Best Regards,

Panagiotis 

Join us on Telegram

Thank you @Panagiotis - much appreciated! (Y)


@firemyst