PureBytes Links
Trading Reference Links
|
Adrian:
>Can any help suggest how to move text labels on indicators further away
>from price? I'm finding that they tend to plot over the bar and cover
>the actual high/low data.
Use Text_SetStyle to position the text more appropriately.
If you want to display text above the high of a bar, use
Text_SetStyle(ref, 2, 0);
If you want to display text below the low of the bar, use
TextSetStyle(ref, 2, 1);
Those will position the text away from the bars. To move them even
further away, add or subtract some fraction of AverageTrueRange to
the vertical position.
--
,|___ Alex Matulich -- alex@xxxxxxxxxxxxxx
// +__> Director of Research and Development
// \
// __) Unicorn Research Corporation -- http://unicorn.us.com
|