OPEN-SOURCE SCRIPT
Telah dikemas kini MA Study: Different Types and More [NeoButane]

A study of moving averages that utilizes different tricks I've learned to optimize them. Included is Bollinger Bands, Guppy (GMMA) and Super Guppy.
The method used to make it MtF should be more precise and smoother than regular MtF methods that use the security function. For intraday timeframes, each number represents each hour, with 24 equal to 1 day. For daily, 3 is 3 day, for weekly, 4 is the 4 weekly, etc. If you're on a higher timeframe than the one selected, the length will not change.
Log-space is used to make calculations work on many cryptos. The rules for color changing Guppy is changed to make it not as choppy on MAs other than EMA. Note that length does not affect SWMA and VWAP and source does not affect VWAP.
A short summary of each moving average can be found here: medium.com/@NeoButane/charting-indicators-moving-average-types-8f69eac59379
List of included MAs:
The method used to make it MtF should be more precise and smoother than regular MtF methods that use the security function. For intraday timeframes, each number represents each hour, with 24 equal to 1 day. For daily, 3 is 3 day, for weekly, 4 is the 4 weekly, etc. If you're on a higher timeframe than the one selected, the length will not change.
Log-space is used to make calculations work on many cryptos. The rules for color changing Guppy is changed to make it not as choppy on MAs other than EMA. Note that length does not affect SWMA and VWAP and source does not affect VWAP.
A short summary of each moving average can be found here: medium.com/@NeoButane/charting-indicators-moving-average-types-8f69eac59379
List of included MAs:
- ALMA: Arnaud Legoux
- Double EMA
- EMA: Exponential
- Hull MA
- KAMA: Kaufman Adaptive
- Linear Regression Curve
- LSMA: Least Squares
- SMA: Simple
- SMMA/RMA: Smoothed/Running
- SWMA: Symm. Weighted
- TMA: Triangular
- Triple EMA
- VWMA: Volume Weighted
- WMA: Weighted
- ZLEMA: Zero Lag
- VWAP: Vol Weighted Average
- Welles Wilder MA
Nota Keluaran
Added offsets to all plots.Nota Keluaran
- Added second MA- Added McGinley Dynamic
- Added MVWAP (uses EMA)
- Added an EMA version of Triangular MA for experimentation
- Consolidated LRC with LSMA and SSMA/RMA with Welles Wilders as they have the same formulas
- Removed Super Guppy to help with lag/length limiting
- Commented out some inputs
- Reorganized
Nota Keluaran
Updated to Pine Script v4 for much faster compilation, replaced some functions with the new built-in MAs, and added WMA to input.Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
My published indicators: tradingview.com/u/NeoButane/
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
My published indicators: tradingview.com/u/NeoButane/
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.