Hello, looking for code to do two things 1. Show a line at Or show a label of the value of the mid of a bar (based on chart time, ie, 1-minute, or 5-minute, etc.). I think a nice, fat line right in the middle of the bar would be my preference so it is visually noticeable. 2. Change a bar color to bright purple when the range of the bar is larger or smaller than the ATR of the prior X (default to 10) bars for the chart period by a user's input value, like .5%, 1.2%, 50%, etc. of the ATR, whatever the user's preference. So if I am looking for a bar on a one-minute chart that has a range of 1.5x the ATR of the prior 10 bars, it will appear as a bright purple bar on my screen. Thank you for any help.
An additional attribute to 1. above is to have a few inputs so you could show lines at the .618, .5, and .272 levels of the bar.
An additional attribute to 1. above is to have a few inputs so you could show lines at the .618, .5, and .272 levels of the bar.
Last edited by a moderator: