OPEN-SOURCE SCRIPT

Moving Averages Convergence (Agulhada do Didi)

The script is based on a strategy developed by Odir “Didi” Aguiar called “Agulhada do Didi”.

It consists in the use of 3 moving averages:

SMA 3
SMA 8
SMA 21


Strategy:
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.

Buy:
The average of 3 periods comes out on top, 8 goes in the middle and 21 goes down.

Sell:
Average of 21 periods comes out on top, 8 in the middle and 3 down.
agulhadadodidiconvergencecrosscrossovercrossunderdidididiaguiarMoving AveragesSimple Moving Average (SMA)

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer