PROTECTED SOURCE SCRIPT
已更新

Statistical pivot wave - Average periods and drawdowns

13 549
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.
版本注释
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:
快照

Indicator where observations = 70:
快照
版本注释
Not the indicator allows change of colors.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。