The indicator should be able to do the following: It should mark me candles with at least 5 points in the chart with a different color. If a green or red candle appears in the chart or if the last candle (green or red) is at least 3 points long, this candle should be marked in the chart with another color like black. In addition, I can change the value of the candle in the indicator settings, which should then be displayed in the chart when the candle size appears.
thanks in advance for the help

. I still have two things in mind that I would like to optimize my indicator. I have tried many things, but still do not fully understand the programming connections. The marked candles are now displayed in HeikenAshi. I would like to program that now in such a way that if a candle was marked by the indicator that with the High of the candle automatically a line is to be drawn for example with 10 points higher. And when the next marked candle comes, then the line and the marked candle should be deleted at the last one and drawn in at the new one. Will this be too difficult for a beginner to program? I would be happy if you could give me some tips.
Comment