Monospaced fonts
Created at 07 Jan 2025, 09:29
VO
Monospaced fonts
07 Jan 2025, 09:29
To show some trading info on my chart I use Chart.DrawStaticText() method.
It would be fine if I could apply any monospaced font like “consolas” so that tabulated data may be aligned correctly.
Is there any good solution to do that?
firemyst
08 Jan 2025, 00:26 ( Updated at: 08 Jan 2025, 08:29 )
Not natively within calgo and the ChartText object as they don't allow for font face selection.
For a possible work around, you could try creating your own Label and then placing the label on the chart as a control.
Good place to start:
https://help.ctrader.com/ctrader-algo/guides/ui/Controls/
@firemyst