Print Text On The Chart

Created at 14 Jun 2014, 16:45
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!
cAlgoTrading's avatar

cAlgoTrading

Joined 13.06.2014

Print Text On The Chart
14 Jun 2014, 16:45


Hello,

How can I print a text with formatting (color,font,etc...) on the cAlgo or the cTrader chart not to the Log?

does this feature available or it will be implemented in the future and when?

Thanks


@cAlgoTrading
Replies

cAlgoTrading
14 Jun 2014, 18:56

ok found it!

public void DrawText(string objectName, string text, int index, double yValue, [optional] VerticalAlignment verticalAlignment, [optional] HorizontalAlignment horizontalAlignment, [optional] Colors? color)

but you can't specify font or size! I hope you include that in next releases!

Thanks


@cAlgoTrading

Spotware
16 Jun 2014, 09:46

Thank you for your idea. We will consider it. Additionally you can post it to vote.spotware.com.


@Spotware

Dmitriy
05 Jan 2017, 13:01

RE:

Hi guys,

I see that size of the text cannot be controlled in Drawtext method.

When are you going to add this feature?

As for now - is it possible to change default size anywhere?

 

Thanks in advance,

Dmitriy

 

Spotware said:

Thank you for your idea. We will consider it. Additionally you can post it to vote.spotware.com.

 


@Dmitriy

kricka
05 Jan 2017, 17:57

Selection of font and sizes

To be able to select a different font and also the font size is very high on my wish list.

Higher resolutions on monitors nowadays require a change in the Drawtext method.


@kricka