background

Tradematic Support Center

Guides, articles, videos and links for Tradematic users and developers.

Как вывести текст на графике цены?

16085РЕДАКТОР КОДА ANNOTATEBAR ГРАФИК ТЕКСТ ЦЕНА ЦЕНОВОЙ ABOVEBAR

Следует воспользоваться функцией AnnotateBar. Пример:

// AnnotateBar(string text, int bar, bool aboveBar, Color color);

text - нужный текст
bar - номер бара, для вывод текста
aboveBar - если true, то вывод над свечей, если false, то вывод под свечей
color - цвет текста

//вывод значения SMA 9
AnnotateBar(SMA.Series(Close,9)[bar].ToString(), bar, true, Color.Black);
This website uses cookies. By continuing to use this website, you consent to our Privacy Policy. OK