It indicates a bull trend with or without (yellow and green arrow) and give a buy signal (green flag) once the trend is "confirmed" and the stock became good for the buy market.
I look forward to make this for a bear market as well, but it's not good for now.
Symbols and its meanings:
Yellow Arrows --> When the of 9 candles and the MA of 21 candles are higher then the previous candle.
Green Arrows --> When the of 9 candles and the MA of 21 candles are higher then the previous candle and the is higher than the MA of 21 candles.
Green Flag --> The previous candles has a green arrow and the running candle reaches the previous candle high + 1 point/cent.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.