Coloring between candles and moving average

Created at 22 May 2018, 23:41
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!
BR

brianchan661

Joined 15.07.2016

Coloring between candles and moving average
22 May 2018, 23:41


If now I am able to getting the candles and the moving average,

for every candles, how can I coloring the area bewteen

1. (candle > MA) candle's low to MA

2. (candle < MA) candle's high to MA

I cannot find the APIs to coloring an area, or creating a vertical line just within a price range

Thanks in advance 


@brianchan661
Replies

... Deleted by UFO ...

PanagiotisCharalampous
23 May 2018, 09:24

Hi brianchan661,

Coloring an area is not available currently. If you want to draw a vertical line you can use DrawVerticalLine method.

Best Regards,

Panagiotis


@PanagiotisCharalampous

brianchan661
24 May 2018, 08:12

RE:

Panagiotis Charalampous said:

Hi brianchan661,

Coloring an area is not available currently. If you want to draw a vertical line you can use DrawVerticalLine method.

Best Regards,

Panagiotis

Thanks for reply 

so I think the DrawVerticalLine is not able to drice between two prices right?

say, just between the low of the candle and the MA


@brianchan661

PanagiotisCharalampous
24 May 2018, 09:32

Hi brianchan661,

You can use DrawLine for that.

Best Regards,

Panagiotis


@PanagiotisCharalampous