Parameter Line Output - Reference Color as Variable

Created at 05 Mar 2020, 07:25
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!
K1

K100

Joined 04.11.2018

Parameter Line Output - Reference Color as Variable
05 Mar 2020, 07:25


Hi,

 

Is it possible to obtain the color value for a parameter output. I have a number of lines drawn in the indicator area, i have text drawn as well. 

I would like the user to be able to set the color for the line as normal in the indicator preferences however, then extract that color selection and use it for the text color as well - without having the user to manually set the color for each text element separately.

I can't figure out how to obtain the outputs line color, can anyone assist ?

 

Thanks.

 


@K100
Replies

PanagiotisCharalampous
05 Mar 2020, 08:49

Hi Hans,

Unfortunately it is not possible to read the color value of a parameter. 

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous