It consists in the use of 3 moving averages:
When the averages come together, preferably they pass through a candle, there is a signal. The crossing of the short average (3) with the long average (21) provides us with a confirma-tion of the entry.
The average of 3 periods comes out on top, 8 goes in the middle and 21 goes down.
Average of 21 periods comes out on top, 8 in the middle and 3 down.
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.