♥ 0 |
Hello, I am wanting to add different lines and bubbles to the chart that match different levels of % change from the previous days close. An example would be one line at 15% down from the previous days close and another at 17% from the previous days close. I would like to have them be different colors as well. If possible, have a list of 5 possible lines and user input for the percent change and color, and if nothing is picked, then no line would be displayed. Thank you
Marked as spam
|
Private answer
The lines you requested were provided in the previous post I found using the search function: https://www.hahn-tech.com/ans/plot-line-on-intraday-at-percentage-of-previous-day-close/ So all we need to do is add the chart bubbles. Given my example, you can work out how to add whoever many lines and chart bubbles you want to display. Here is the code from the solution I linked above:
To add the chart bubbles to this we must first assume that you intended to place those chart bubbles on the last bar of the chart. Here is the new section of code which adds the chart bubbles to the last bar of each of the lines plotted on the chart:
Marked as spam
|
Please log in to post questions.