NeoButane

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: https://medium.com/@NeoButane/charting-i...

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
Phát hành các Ghi chú: Added offsets to all plots.
Phát hành các Ghi chú: - 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
Phát hành các Ghi chú: Updated to Pine Script v4 for much faster compilation, replaced some functions with the new built-in MAs, and added WMA to input.
Mã nguồn mở

Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
My published indicators: https://www.tradingview.com/u/NeoButane/#published-scripts

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)

Bình luận

what a work, thank you so much!
+2 Phản hồi
Hello sir, thanks for sharing this indicator with us. Please explain how to use it for Indian stocks & indices. Thank you
+1 Phản hồi
NeoButane Gangaram0719
Hello @Gangaram0719. As I understand, one popular Indian index is NIFTY and it is very choppy.

You can try experimenting with each moving average type and see what works for your trading style.

Here in this example, I have used "Hull MA" because it tends to move quickly with price, so there is less lag.

Phản hồi
Gangaram0719 NeoButane
@NeoButane, OK sir will try that. Thanks again.
+1 Phản hồi
That is some dope code. Pine Script Master in the house!
+1 Phản hồi
NeoButane AceFace
@AceFace, haha thank you! I still have a lot to learn :)
Phản hồi
Thanks for updating.
+1 Phản hồi
Appreciated your efforts and generous, this is a nice MA tools box, thank you =D
+1 Phản hồi
such work much wow
+1 Phản hồi
Very good, thank you!
+1 Phản hồi