LiquidityTracker

EMASpreadPrctiles

ema
EMA Spread Percentiles:
Author: Andrew Palladino
Date: 2/25/2017

Description:
The indicator will alert the trader when the difference in pips between an EMA of period N and close price is reaching extremes.
There are three extreme thresholds:
Green Threshold: When spread is above 95th percentile of the last X bars a vertical green line is displayed. Only 5% of the time the spread will exceed this threshold.

Yellow Threshold: When spread is above 97th percentile of the last X bars a vertical yellow line is displayed. Only 3% of the time the spread will exceed this threshold.

Red Threshold: When spread is above 99th percentile of the last X bars a vertical red line is displayed. Only 1% of the time within the past X bars the spread will exceed this threshold.

The trader can modify the following:
EMA Period (Default = 200)
Bars Back Lookback period for percentile calculation (Default = 500)
Green Percentile Threshold (Default = 95)
Yellow Percentile Threshold (Default = 97)
Red Percentile Threshold (Default = 99)



Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact LiquidityTracker for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?

Warning: please read before requesting access.