Hi -
Is it possible to erase a prior portion of a plot or text within code? For example, if I were plotting points on the low of every 3rd bar, is it possible to erase/delete/hide the point plotted 6 bars ago? If it's not possible with plots, is it possible with text? I'm writing an indicator to highlight certain bars based on the 3 bars preceding it and 3 bars following it (like pivots). I would like to temporarily highlight a bar if 2 of the 3 bars following meet the criteria (as if to say this bar may be highlighted, depending on the outcome of the the most recent bar).
Thanks,
Mark
Erase Single Point or Text
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Erase Single Point or Text
Hello Mark,
If you are using a "Plot" then there is no way to remove a part of it. If you need to change the plot - you need to replot the whole plot with the adjusted values.
If you are using drawings then you can delete/replace already existing drawings from the code.
If you are using a "Plot" then there is no way to remove a part of it. If you need to change the plot - you need to replot the whole plot with the adjusted values.
If you are using drawings then you can delete/replace already existing drawings from the code.