Skip to content

Quick-tip 23 | Draw text labels a fixed distance from a bar, irrespective of scaling

Back in tutorial 124 I described a way of spacing a text label from a price bar so that the pixel distance was constant even though the price scale of the chart changed. The process was fairly complex and a Markplex user, Malcolm, sent me a useful tip as to how the same things could be achieved a lot more simply.

The code used in this tip uses EasyLanguage Objects and so will not work with MultiCharts.

Gold Pass members may copy and paste the code below. Make sure that you are logged in with your Gold Pass details.

Video

Gold Pass content

This content is for members only.