INVITE-ONLY SCRIPT

EMASpreadPrctiles

618
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)


Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.