OPEN-SOURCE SCRIPT

MultiType Shifting Predictive Moving Averages (MA) Crossover

已更新
Just 2 Moving Averages with adjustable settings and shifting capability, plus signals and predicting continuations.
At the time of publish these different types of MAs are supported:

- SMA (Simple)
- EMA (Exponential)
- DEMA (Double Exponential)
- TEMA (Triple Exponential)
- RMA (Adjusted Exponential)
- WMA (Weighted)
- VWMA (Volume Weighted)
- SWMA (Symmetrically Weighted)
- HMA (Hull)

I'm looking forward to any idea about filtering the signals. Thanks.
版本注释
Added support for 2 other types of MA:
- LSMA (Least Squares)
- TMA (Triangular)
版本注释
- Fixed bugs
- Now shifting will be applied in crosses
版本注释
Screenshot corrected!
版本注释
Fixed some small bugs!
版本注释
Major Update!
- Added support for 2 new types of MA:
12. MAEMA which is my "Momentum Adjusted EMA" indicator
13. VMA which is a customized Variable Index Dynamic Average (Original VIDYA is made by Tushar Chande)
- Added MA coloring and filling based on the trend
- Added the ability to change MAs thickness
- Made negative shifting possible due to many users request
- Fixed a bug related to prediction tails which would happen in case of setting MA lengths less than 4
版本注释
- Made signals to shift with the fast MA (per a user request)
Note that in case of unequal shifts of the fast MA and the slow MA, the signals may not be accurate.
版本注释
- Added alert conditions as many users requested
The next step for the users is to set up their alerts manually (tradingview.com/support/solutions/43000595315-how-to-set-up-alerts)
版本注释
- Made some tweaks to the options
- Added an option to show range bands around MAs based on ATR
版本注释
- Organized indicator settings
- Added an option to generate bands using standard deviation instead of ATR
版本注释
ATR and Standard Deviation multipliers now accept float numbers in the settings.
版本注释
Made some setting inputs more organized.
Average True Range (ATR)crosscrossoverMoving AveragespredictiveshiftStandard Deviation

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明