DT21 Moving Averages
I know a lot of people use the free version of TradingView, So I made a script to combine 5 Moving averages as 1 indicator for my followers
Sma
Scripting Tutorial 6 - Triple Many Moving Averages ForecastingThis 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.
Volume-supported Fractal SRModified version of SynapticEX's Volume-supported Fractal S/R with EMA instead of SMA, pinescript 4 port, and EMA20/EMA50 defaults for support and resistance.
EMA20 = red/green
EMA50 = orange/yellow
MTF Bollinger Bands - ModifiedModified version of tansancrypto's MTF Bollinger to Pinescript 4 and removed limiters on BB1/BB2 max Sigma values.
Original Script:
Scripting Tutorial 5 - Triple Many Moving Averages CrossoversThis script is for a triple moving average indicator where the user can select from different types of moving averages and periods. This script improves upon tutorial 3 by adding source selection for MAs and another option for an MA that is not built-in, the HMA . It is meant as an educational script with well formatted styling, and references for specific functions.
Scripting Tutorial 4 - Triple Many Moving Averages ImprovedThis script is for a triple moving average indicator where the user can select from different types of moving averages and periods. This script improves upon tutorial 3 by adding source selection for MAs and another option for an MA that is not built-in, the HMA. It is meant as an educational script with well formatted styling, and references for specific functions.
Scripting Tutorial 3 - Triple Many Moving AveragesThis script is for a triple moving average indicator where the user can select from different types of moving averages. It is meant as an educational script with well formatted styling, and references for specific functions.
Scripting Tutorial 1 - Simple Moving AverageThis script is for a simple moving average indicator. It is meant as an educational script with well formatted styling, and references for specific functions.
DT-21 Moving AveragesI know a lot of people use the free version of TradingView, So I made a script to combine 5 Moving averages as 1 indicator.
VWAP/MVWAP/SMA CROSSOVERTo use this indicator is simple.
When the VWAP (Thick Yellow) AND the two SMA (Orange and thin Yellow) cross above the MVWAP (Purple) then you will be in a uptrend that could possibly continue upwards. The opposite is true if you are looking a short opportunity, wait for the three other lines to cross under the MVWAP and you should be in a downtrend that could possibly continue downwards
Of course as with all indicators not every signal will be 100% accurate there is no way to predict human emotions when it comes to trading but based on the VWAP strategy used in other markets this is the closest I could get.
Note: Don't relay completely on this indicator to think for you. Use other forms of TA to confirm all positions before entering. And if the candles start trending the opposite direction after a lets say a mini pump/dump then the signal was false.
Finally this was made according to the 15 minute chart. I did not plan on remaking it for any other timeframes as I have left the code open for you to tweak and the setting are free to adjust aswell.
Q/A
Q: Does it repaint?
A: No, this is based on moving averages as far as I know they don't repaint.
Q: How did you come up with this indicator?
A: Went on youtube looking for trading strategies other and the usual EMA crosses and found a VWAP & EMA strat. I added the MVWAP and played with the numbers until I found something that I liked.
Q: How long have you been trading/learning pinescript?
A: Been trading less than a two months and pinescript about a month and a half.
Forecast 7 SMA's 6 periodsForecast 7 SMA's 6 periods
This script is an upgrade of the existing Triple MA Forecast from Yatrader2
To allow the user to display 7 different SMAs and look 6 candles ahead
Default Value
8 SMA
13 SMA
20 SMA
50 SMA
100 SMA
128 SMA
200 SMA
Note:
Best to use on high timeframe, if on low timeframe change the forecast maximum to lower
This was made to forecast the 20 SMA on weekly timeframe on the upcomming Bitcoin price
HMA-Kahlman Trend, DifferenceFilter & TrendlinesThis update to the previous HMA-Kahlman Trend, Clipping & Trendlines script features the same structure with the three modules:
- Trendlines module,
- NEW Winsorizing submodule using difference-based filtering.
- HMA-Kahlman Trend module.
The Winsorizing submodule filters signals by a volume level, eliminating the ones with the volume below a threshold. This module substitutes the previous 'low-level' filtering implementation. This time it filters out based on difference between scaled volume and its moving average.
Tested with BTCUSD.
basifx 3 SMA cross 5 SMA(high, low, close) = short-term line(Orange)
34 SMA(high, low, close) = long-term line(Green & Red)
If 5 SMA is above 34 SMA = Green color, If 5 SMA is below 34 SMA = Red color
Multi EMA/SMA with Bollinger Bands Combo 1.0This script provides:
5 regular EMAs
5 regular SMAs
3 multiple time frame EMAs
3 multiple time frame SMAs
Bollinger Bands
All features can be turned on/off and customized regarding color, lines, etc.
Excellent for TradingView users with limited or free accounts.
Tabajara com Nutella [xdecow]Tabajara setup from André Machado
-ma 8
-ma 20
-ma 50
-ma 200 (blue)
-vwap (aqua)
-bollinger bands
-barcolor based on tabajara rules
Leeloo Quadruple (4x) Simple Moving AverageOne-stop shop for all of the simple moving averages because editing separately is annoying.
Mix1 : Ema Cross + Trend Channel [Gu5]Based on Trend Channel
Ema-crossover is added
Crossing alerts, only on trend
Basado en mi anterior indicador, Trend Channel
Se agrega Cruce de Medias Moviles (Ema-crossover)
Las alertas solo son en favor a la tendencia
El valor de SMA Range es arbitrario (No Backtesting). Cambia la amplitud de canal que determina cuando es rango (barras amarillas por estar muy cerca del SMA200, sin tendencia definida)
Range Multiplier adapta el indicador a distintos mercados
//Setting recommended for SMA Range
//BTCUSD = 100
//EURUSD = 1000
//SPX = 100
//ETHUSD = 10
Si te fue útil este indicador, puedes comprarme una cerveza ;)
2 Moving Average Color Direction Detection 2 Moving Average Color Direction Detection, possibility to configure:
- Type: SMA , EMA , WMA , VWMA , SMMA , DEMA , TEMA , HULLMA, ZEMA, TMA, SSMA
- Lenght
- Source
- Color direction