EMA Difference
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © mostafaid3

//@version=5
indicator("EMA Difference")
s_len = input.int(10,"Short EMA Length")
l_len = input.int(20,"Long EMA Length")
dif_1 = ta.ema(close,s_len)
dif_2 = ta.ema(close, l_len)
dif3 = dif_1 - dif_2
plot(dif3,style = plot.style_histogram)