BigBitsIO

Fancy Triple Moving Averages [BigBitsIO]

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
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 a 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: https://www.bigbits.io
📺 YouTube: https://www.youtube.com/bigbits
🎮 Discord: https://discord.gg/rapMn4z
🐦 Twitter: https://twitter.com/BigBitsIO
💸 Save $30 on TradingView Paid Plan: https://bit.ly/2CaRfjs

Comments

500 coins
Reply
BigBitsIO PineCoders
@PineCoders, Thank you!
Reply
Hi, thanks for your script. Should the dots appear in the chart once it is added? and when the dots should appear in the chart? Cheers
+2 Reply
BigBitsIO Mexi_kiwi
@Mexi_kiwi, Yes, the dots are the forecasted values. They appear by default, but there is a setting to disable them. Also, selecting a custom resolution will also disable them to prevent issues on the x-axis.
Reply
Mexi_kiwi BigBitsIO
@BigBitsIO, Can you let me know how to enable them? would the dots help to create bullish/bearish signals?
Reply
BigBitsIO Mexi_kiwi
@Mexi_kiwi, Click on the settings icon next to the the indicator name on your chart. It should already be checked by default, but scroll down toward the bottom of the settings and make sure the setting "Show Forecasts" is checked/enabled.

The forecast by default assumes the price does not change, but you can apply a bullish or bias to it in the settings as well.
+1 Reply
Mexi_kiwi BigBitsIO
@BigBitsIO, thank you very for your replies, but the dots do not shows up, not sure why.
Reply
Wish there was a good way to do the forecasts without causing 5 Name and Last Value labels to show up per MA but so far it seems everyone does it this way. It causes a lot of label clutter! Would be great if it were possible to instead do a Plot "extends right" setting and just label each MA and see the values of the forecast as you hover over them.
Reply
Awesome stuff David. Big thanks to you.

Since you are a real clued up in the subject, do you think you could develop a tool or way to execute orders during the replay mode? You'd make a fortune on that tool. People are screaming for it but TradingView team do not seem to bother. If tradingview offered a simulation mode/tool this platform would reach near perfection.
Reply
thanks for sharing so many moving average types. it is easy to compare them in a single script
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out