Editors' picksOPEN-SOURCE SCRIPT

Fancy Triple Moving Averages [BigBitsIO]

Updated
This script is for three moving averages with as many features as I can possibly fit into a single moving average.

Features:
- Three moving averages (MA1, MA2, MA3).

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

- 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. ***
Release Notes
Updated the moving average plots to only show inclusion highlights if you are using the "00 Current" resolution for the respective moving average.
Release Notes
Added many new alert conditions based on moving average crosses and price crossing moving averages.
Release Notes
Minor bugs resolved: Updated alert condition titles so they didn't use the same number in some instances.
Release Notes
Updated the code to use else if instead of nested if statements.
Release Notes
Added ALMA
averagecrossovercrossunderExponential Moving Average (EMA)forecastinclusionMoving AveragesSimple Moving Average (SMA)threetrendtriple

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Like and follow!

💻 Website: bigbits.io
📺 YouTube: youtube.com/bigbits
🎮 Discord: discord.gg/rapMn4z
🐦 Twitter: twitter.com/BigBitsIO
💸 Save $30 on TradingView Paid Plan: bit.ly/2CaRfjs
Also on:

Disclaimer