BigBitsIO

Scripting Tutorial 6 - Triple Many Moving Averages Forecasting

This script is for a triple moving average indicator where the user can select from different types of moving averages, price sources and lookback periods.

Features:
- 3 Moving Averages with variable MA types, periods, price sources and ability to disable each individually
- Crossovers are plotted on the chart with detailed information regarding the crossover (Ex: 50 SMA crossed over 200 SMA )
- Forecasting available for all three MAs. MA values are forecasted 5 values out and plotted as if a continuation to the MA.
- Forecast bias also applies to all forecasting. Bias means we can forecast based on an anticipated bullish , bearish or neutral direction in the market.
- To understand bias, please read the source code, or if you can't read the code just send me a message on here or Twitter . Twitter should be linked on my profile.


This script is meant as an educational script with well-formatted styling, and references for specific functions.
Sep 24
Notes de version: Added some more code comments to clarify what is happening in the script.
Oct 01
Notes de version: Added some validations, metadata.
Supprimer des scripts favoris Ajouter aux scripts favoris
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.
Is there a reason why i am getting an error when attempting to use an EMA of 5? The program is telling me that i cannot have a value of "0" in the EMA function. It will, however, display a result when i change the value to anything greater than 5. Any thoughts?
Répondre
Accueil Filtre d'actions Filtre Forex Filtre Crypto Calendrier économique Shows Comment ça marche Caractéristiques du graphique Prix Règles de conduite Modérateurs Solutions site web & courtier Widgets Solutions de cartographie Bibliothèque de graphiques allégés Centre d'aide Parrainer un ami Demande de fonctionnalité Blog & News Twitter
Profil Paramètres du Profil Compte et Facturation Parrainer un ami Mes tickets au support Centre d'aide Idées Publiées Suiveurs Suivi Messages privés dialogue en ligne Se Déconnecter