Histogram shows the market resilience as volume ratio to the true range. Area is EMA volume.
//@version=2 study("Resistance index", precision=2) len = input (100) r0 = volume/tr r = r0 / sma(r0,len) v0 = volume / sma(volume,len) v = ema(v0,round(sqrt(len))) plot(r, "Resistance", style = histogram, linewidth = 2, color = navy, transp = 50) plot(v, "EMA Volume", style = area, color = #30A0E0, transp = 80)