PROTECTED SOURCE SCRIPT
Mis à jour

Statistical pivot wave - Average periods and drawdowns

13 554
Statistical pivot wave - Average cycle periods and drawdowns (and assuming there is a trend)

How does these cycle periods and drawdowns come from?
Collecting the data from the last 70 pivot waves. Pivot waves are defined by once a new pivot low is recognized.

Explanation of variables:
Period(i) : Timespan from one pivot low to its previous pivot low.
Drawdown(i) : Max drawdown (from 22 bars lookback high + trend adjustment)
Trend(up / down): Historical linear regression

Median cycle: Median value of Period(i), based on i=1 to i=70 pivot waves data.
Median drawdown: Median value of Drawdown(i), from the trend projected high, based on i=1 to i=70 pivot waves data.
Notes de version
A new input variable updated.
Now the users could specify the total number of the most recent observed pivot waves period, in the input panel.

Indicator where observations = 10:
snapshot

Indicator where observations = 70:
snapshot
Notes de version
Not the indicator allows change of colors.

Clause de non-responsabilité

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