IndicatorArea: Align Text Position to Window
IndicatorArea: Align Text Position to Window
05 Mar 2020, 07:42
Hi.
Currently using : IndicatorArea.DrawText("Text1", "Text1", index, price, Color);
To draw text on the indicator area however : VerticalAlignment.Top && StaticPosition.TopLeft (Obsolete ) are not accepted for the Y position of text in the indicator area
How could i go about aligning the text to the top of the Indicator Window ?
The values of the indicator range changes frequently , so i cannot simply use a Y constant.
Any ideas ?
Thanks
Replies
K100
05 Mar 2020, 09:31
RE:
PanagiotisCharalampous said:
Hi Hans,
You need to use DrawStaticText instead.
Best Regards,
Panagiotis
Great. Thank you
@K100
PanagiotisCharalampous
05 Mar 2020, 08:44
Hi Hans,
You need to use DrawStaticText instead.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous