Spectrometr refinement
Каким образом эти точки появились, если индикатор нарисовал, значит код индикатора надо... Если вторую красную убрать, то, по-моему, результат не изменится...
Take the zigzag and go to the barricades - it will be just as beautiful, but only according to history))))
You're a joker, you blondie.
These points are hand-drawn, the question is not to plot them on a chart but to calculate the number of bars between three (obligatory) tops (extrema). The whole problem is that my education does not allow me to do such things :((( I'm a political technologist ))))
For which purposes do you need to calculate the number of bars? how many days have you been in the forex market? there are various ready-made indicators that can solve such problems.
для каких целей нужен расчет количества баров? сколько дней вы на форексе? есть уже готовые различные индикаторы, которые решают подобные задачи.

Good day experts and not only.
Guys, help a blonde :) girl with writing a very simple indicator, I attach the picture, I really need...