Published by user Eric Thies on 9/3/2020
Relatively simple script that is measuring the performance of the input over the previous y # bars.
The EMA appears to make troughs and peaks easy to see coming / look at as they happen.
- Orange Histogram Represents the immediate % Change
- Yellow Histogram represents the overall trend of such as an SMA of the same Y # of bars.
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.