BigBitsIO

Fancy Moving Average [BigBitsIO]

BigBitsIO Cập nhật   
This script is for a single moving average with as many features as I can possibly fit into a single moving average. If you can think of more, or have questions regarding this script, please message me or contact me via social media.

Features:
- A single moving average (MA).

- Standard MA inputs.
- MA type.
- MA period.
- MA price.
- MA resolution (time frame).
- Visibility toggle.

- Fancy MA inputs.
- Toggle to show only candles included in the MA calculation ("Highlight inclusion") or display entire MA history.
- Toggle to show a ghost trail when Highlight inclusion is toggled on. Displays a shaded version of past MA history before the inclusion period (as seen on snapshot).
- Toggle to show forecast values for the MA.
- Other inputs related to forecasting:
- Forecast bias. (Neutral forecasts MA if the current price remains the same.)
- Forecast period.
- Forecast magnitude.


*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
Phát hành các Ghi chú:
Added a new option to select a different candle type to use to plot the moving average. Tickerids are created using the example values on the pine script reference manual for each different type of candle.
Phát hành các Ghi chú:
Snapshot update
Phát hành các Ghi chú:
Replaced custom hull moving calculation with the built-in function provided in pine.

Also, fixed a bug where selecting an MA Period <= 5 would result in an indicator error. Now forecasts are shortened with MA Periods 5 and below as they would otherwise rely on 50% or more assumed data.
Phát hành các Ghi chú:
Update: Fixed a bug where using a custom resolution would result in ghost trails not aligning correctly with inclusion trails.
Phát hành các Ghi chú:
Update: Added a couple of built-in alert conditions.
Phát hành các Ghi chú:
Replaced nested if statements with else if statements
Phát hành các Ghi chú:
Added ALMA
Phát hành các Ghi chú:
Updated to use Pine v5

Also adjusted the trail color to match the main plot color.
Phát hành các Ghi chú:
Updated inputs to use the newer group and inline option to make the indicator settings a bit more aesthetically pleasing.

Like and follow!

💻 Website: www.bigbits.io
📺 YouTube: www.youtube.com/bigbits
🎮 Discord: discord.gg/rapMn4z
🐦 Twitter: twitter.com/BigBitsIO
💸 Save $30 on TradingView Paid Plan: bit.ly/2CaRfjs
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?