Although this can be done with labels, it is better to use OBJ_TEXT as they will always remain anchored to time.
It is still relatively complicated to keep moving them so that they are positioned nicely on the chart.
Maybe you could consider coding an indicator in a separate window with the OBJ_TEXT at a 90 degree angle. That way, they would always be in line and it is easy to do. Also no chance of it obscuring any bars and it only uses a small amount of space.
Although this can be done with labels, it is better to use OBJ_TEXT as they will always remain anchored to time.
It is still relatively complicated to keep moving them so that they are positioned nicely on the chart.
Maybe you could consider coding an indicator in a separate window with the OBJ_TEXT at a 90 degree angle. That way, they would always be in line and it is easy to do. Also no chance of it obscuring any bars and it only uses a small amount of space.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I want to place the volume of a bar as a (text-)number at the bottom of the chart, below the bar and always 5 ticks off the bottom.
That means
1) if the next bar appears this volume-number should shift 1 bar to the left and
2) it should not move up or down if the chart is shifted acc. to new highs or lows.
Is that possible without redrawing all the text-objects at a new bar or at a new high or low?
It should not be a too exotic wish, but a lable sticks at its corner :( and a normal object is moving up and down :(
Regards,
Gooly