These are Long and Short labels based on the crossings of a Macd. The Macd that was worked with was modified in its configuration to smooth out the crossings and thus we managed to make them cleaner so that when it came to passing them to labels there was no noise.
It also includes a filter with two values of the oscillator itself (400;-400) to eliminate false signals in lateralizations or low volume areas and thus leaving the signals that occur in overbought and oversold areas, increasing the probability that the label is correct.
In any case, it is simply an analysis tool that has served as a didactic example, it should NOT be taken as trading signals. Do your own research and make your own decisions under your sole responsibility. Thank you