I am playing Triple EMA and made this script.
Calculate TEMA difference and display Divergence and Double HH/LL when cross happened.
Add useATR option:
This means how many bars can be filled between the two lines. This can be compared with other symbols for "narrow" or "wide"