ahujat Posted September 26, 2022 Report Share Posted September 26, 2022 Is there a way to have the text of the SetLine() function to be in the padding space on the X-axis. I am using SessionStart and Timestamp as the two X-Axis anchors and the text position is RightAbove. The text overlaps with the candles. Want to be same as for the Horizonal Line indicator. In the attached image, Phigh is using 'Horizontal Line' and the other 3 are using SetLine() Quote Link to comment Share on other sites More sharing options...
ahujat Posted September 26, 2022 Author Report Share Posted September 26, 2022 I use the same Paintbar on multiple timeframes, so not sure how the CandleNumber parameter will work, if i want the first anchor to be the start of the Trading Session. Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted September 28, 2022 Report Share Posted September 28, 2022 1. If you set the right X coordinate to something like 99999, it will always be flush right. 2. The X parameter can be a timestamp. So you can do TradingDay.SessionStart I guess. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.