Currently I use Draw.Text() to draw swing high/low information using a +/- margin based on either a multiple of TickSize or ATR() away from the swing high/low bar. However, this margin is dynamic and becomes inconsistent, either too large or too small depending on timeframe, volatility, instrument, etc. Here is my question:
Is it possible to print swing information text (Vol, Points, etc.) with a constant margin that is static and will not change as the timeframe, volatility, or instrument is changed?
I assume this could be done using a certain number of pixels away from the swing highs and lows. Any ideas how to accomplish this in Draw.Text()?
Many thanks.
Comment