OPEN-SOURCE SCRIPT

Standard deviation of the exponential moving average

Updated

This indicator emphasizes price movements when it moves away from or closer to the chosen moving average, within the envelope of its standard deviation. It serves as a complement to other indicators or can be used within a strategy by itself.
Release Notes

Improved deformation emphasis
Release Notes
* The code has been simplified y optimizado; some variables and the titles of some entries have been renamed.
* Included ema deviation value as input.
* A yellow line is included as a standard deviation of the difference between the value of the moving average and the assigned entry (price) for values ​​below the histogram below 0, just as the blue line at the top already worked for values ​​above to 0.
* Changed both the title of the indicator and the shorttitle.
Release Notes
* Header information.
* Best graphical example of the indicator
Release Notes
*Updated to Pine script v.5
Release Notes
* Correct entry of deviation.
* Input is included as a smoothing option
Chart patternsdeviationdeviationsEMASMoving AveragesOscillators

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