Moyenne mobile exponentielle triple (TEMA)
QUAD DEMAHey Folks,
Just created my first script, It's basically 4 DEMA in one indicator which helps you not to use multiple indicators.
It's more accurate than Exponential Moving Average & give signals much prior to the breakout, very helpful in short timeframes.
Tweak it according to your preference
Instructions to use
-When 55 DEMA crosses all the DEMA it's a clear signal for uptrend or downtrend which can potentially be a entry or exit points.
-Don't depend on this when all the DEMA's are entangled to each other.
-Use Stochastic RSI for better approach in entry.
-Most accurate in 1hr time frame for short term entry.
Enjoy!
investor_EMA Three-CrossI produced a strategy using short term ema intersections.
A short-term low capital buy signal creates a yellow background after the red background color. Here, profit should be taken by following the trend.
When the green background is formed, positions can be increased, the price will lead us to a safer market.
Exposures can be turned off in the formation of a red background.
The pink zigzag average always shows the Weekly ma9. Price should be followed above the MA9 weekly average which will allow us to see medium term positive price movements.
As a result, the background colors will present a more understandable graph in price movements up and down movements.
The above strategy will generate signals as long and short.
You can make the coloring you want from the settings section.
TEMA/HMA/VWMACD - Short Strategy 4HAs we can discover by studying the history of BTCUSD, the fall is always swift. Confirmation of this - today's collapse. In this strategy, an attempt is made to catch such drop by using quick entry and quick exit.
Let's describe what this strategy consists of:
• TEMA (you can find this strategy separately on this page or on platform)
• VWMACD
• HMA
• Take-profit and Stop-losses
Logic:
Firstly we VWMACD (the difference between VWMACD and simple MACD is only in the way of calculating moving average) and plot it as a histogram.
Then HMA is adding as a trend filter. For easy understanding let's plot it now on chart separately.
Next step is to create and add TEMA. After it is needed to subtract slow TEMA from fast TEMA and plot this value around 0 on histogram. This is the main decision for the implementation of the short trade.
ENTRY the trade:
When VMACD is below 0 and price (src = close) is below the HMA and TEMA below 0.
CLOSE the trade:
When VWMACD is upper than 0 or price is upper than HMA or TEMA is upper than 0
You can find more strategies on tradingammo.pro.
Daily EMA50 100 200 + BBStandard Bollinger Bands (timeframe dependent), period and standard deviation are configurable.
And standard daily triple EMA (timeframe independent). Short, Medium and Long periods are configurable (50/100/200 by default)
10X Moving Average Dingue V510X Moving Averages into 1 indicator - This is the updated V5 for PineScript 5
This moving average indicator lets you quickly visualize what is happening with the price.
Color-coded for easy visualization of all 10 MAs at the same time.
Fill in colors that let you see expansion and contraction between MAs and also if MAs are above or under each other plus if they are rising or falling.
10 Different Moving Averages give you full control over how you trade. You can have many long-term trends, mixed in with short-term MA. You can mix and match MA types to give a better idea of what other traders might see, important levels, etc… You can select from a wide range of MA Type: 'SMA', 'SMMA', 'EMA', 'DEMA', 'TEMA', 'WMA', 'VWMA', 'KAMA', 'FRAMA', 'TRIMA', 'ALMA', 'HMA', 'LSMA', 'ZLEMA', 'ViDYA', 'JMA', 'T3'
You can select different settings for EACH MA ie. Their type, length, line size, fill or not.
You can quickly ‘Override’ all MA's types by selecting an Override Type. That way you can quickly keep your settings and compare them with another type.
In the same way, you can turn ON/OFF all 10xMA at the same time with one button.
You can plot a moving average of all the 10x moving averages and plot just that one.
'Tool tips' explain much of the settings but if you have any questions, feel free to ask. Thank you for the feedback and check all my ‘Dingue’ indicators.
MA MTF Cross StrategyStrategy Introduction
This multi-timeframe strategy generates buy and sell entries based on two Moving Averages’ cross with an option to turn on trend direction confirmation through 3rd Moving Average selection. While all three moving averages can be selected from the following list:
SMA
EMA
DEMA
TEMA
LRC
WMA
MF
VAMA
TMA
HMA
JMA
Kijun v2
EDSMA
McGinley
Only long trades are enabled currently
Default Settings
I've set the default selection to the perfect options for 1D timeframe. You can modify all MAs selections and their lengths according to your selected timeframes.
Following default settings are used:
Heiken Ashi Candles are selected by default as source
1st Moving Average selection is set to LRC (Linear Regression Curve)
Length of 1st Moving Average is set to 50
2nd Moving Average is set to EDSMA (Ehlers Deviation-Scaled Moving Average)
Length of 2nd Moving Average is set to 30
3rd Moving Average is set to HMA (Hull Moving Average)
Length of 3rd Moving Average is set to 200
Uptrend direction confirmation through 3rd Moving Average is set to false by default
Start date is set to start from 2013
Backtesting can also be done selecting %age of equity
Suggestions for Usage
Mostly winning trades by set defaults have no prominent drawdown so losing trades can be abolished with Stoploss. Would soon add Stoploss and Takeprofit options in next version. Also, if you want an alerts version of it then just comment below and would publish it later. I’ve found this strategy useful on 1D timeframe with described default settings but multiple Mas selections can be explored further.
H/L Price Band with Signal Line (PBS)This indicator centers a moving average around the hl2 of the price. This is calculated as the difference of two moving averages. The upper band is a 9 period exponential moving average, the lower band is a 7 period moving average and the center line is the average between the two. The "Fast Line" is our signal line in this oscillator. When the price is hovering around the center of the band this indicates that a trend is pausing or reversing. When the fast line exits the band this could be a buy or sell signal. It could also indicate a very strong trend in that direction. To get the optimal entry and exit you might want to wait for the price to return to the center line. In addition to the basic functionality of this indicator I have added some bonus features. You can enable the "Slow Line" or the "Long Line" to enhance your signals. When the fast line is above the slow/long line you are in an up trend and inversely when the fast line is below the slow/long line you are in a down trend. The crossing of these lines can indicate a reversal. I have also included a "J" style amplification line. This works by enhancing the difference between the Fast and Slow/Long line to make it more visually apparent. You can also configure the "J" line to be calculated between either the slow or long line. Finally I have added the feature to amplify the band width by the standard deviation. This is set to 1 by default but you can also get a more responsive signal by setting this to 0.
This indicator works in most markets. There is a tool tip for every aspect of this indicator explaining how everything works. I hope you are very profitable with this one!
If you find this indicator is useful to you, Star it, Follow, Donate, Like and Share.
Your support is a highly motivation for me.
Keltner Channel With User Selectable Moving AvgKeltner Channel with user options to calculate the moving average basis and envelopes from a variety of different moving averages.
The user selects their choice of moving average, and the envelopes automatically adjust. The user may select a MA that reacts faster to volatility or slower/smoother.
Added additional options to color the envelopes or basis based on the current trend and alternate candle colors for envelope touches. The script has a rainbow gradient by default based on RSI.
Options (generally from slower/smoother to faster/more responsive to volatility):
SMMA,
SMA,
Donchian, (Note: Selecting Donchian will just convert this indicator to a regular Donchian Channel)
Tillson T3,
EMA,
VWMA,
WMA,
EHMA,
ALMA,
LSMA,
HMA,
TEMA
Value Added:
Allows Keltner Channel to be calculated from a variety of moving averages other than EMA/SMA, including ones that are well liked by traders such as Tillson T3, ALMA, Hull MA, and TEMA.
Glossary:
The Hull Moving Average ( HMA ), developed by Alan Hull, is an extremely fast and smooth moving average . In fact, the HMA almost eliminates lag altogether and manages to improve smoothing at the same time.
The Exponential Hull Moving Average is similar to the standard Hull MA, but with superior smoothing. The standard Hull Moving Average is derived from the weighted moving average ( WMA ). As other moving average built from weighted moving averages it has a tendency to exaggerate price movement.
Weighted Moving Average: A Weighted Moving Average ( WMA ) is similar to the simple moving average ( SMA ), except the WMA adds significance to more recent data points.
Arnaud Legoux Moving Average: ALMA removes small price fluctuations and enhances the trend by applying a moving average twice, once from left to right, and once from right to left. At the end of this process the phase shift (price lag) commonly associated with moving averages is significantly reduced. Zero-phase digital filtering reduces noise in the signal. Conventional filtering reduces noise in the signal, but adds a delay.
Least Squares: Based on sum of least squares method to find a straight line that best fits data for the selected period. The end point of the line is plotted and the process is repeated on each succeeding period.
Triple EMA (TEMA) : The triple exponential moving average (TEMA) was designed to smooth price fluctuations, thereby making it easier to identify trends without the lag associated with traditional moving averages (MA). It does this by taking multiple exponential moving averages (EMA) of the original EMA and subtracting out some of the lag.
Running (SMoothed) Moving Average: A Modified Moving Average (MMA) (otherwise known as the Running Moving Average (RMA), or SMoothed Moving Average (SMMA)) is an indicator that shows the average value of a security's price over a period of time. It works very similar to the Exponential Moving Average, they are equivalent but for different periods (e.g., the MMA value for a 14-day period will be the same as EMA-value for a 27-days period).
Volume-Weighted Moving Average: The Volume-weighted Moving Average (VWMA) emphasizes volume by weighing prices based on the amount of trading activity in a given period of time. Users can set the length, the source and an offset. Prices with heavy trading activity get more weight than prices with light trading activity.
Tillson T3: The Tillson moving average a.k.a. the Tillson T3 indicator is one of the smoothest moving averages and is both composite and adaptive.
Combo Backtest 123 Reversal & TEMA1This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This study plots the TEMA1 indicator. TEMA1 ia s triple MA (Moving Average),
and is calculated as 3*MA - (3*MA(MA)) + (MA(MA(MA)))
WARNING:
- For purpose educate only
- This script to change bars colors.
Moving Average PanelThis indicator calculates many different moving averages and displays whether they are increasing or decreasing as a panel/table instead of a plot. Rows/columns can be removed from the table as needed in the options menu, there is also a mobile friendly/compact option as well as a location option.
Note: This script is large and may take a few moments to load.
Note: If there is not enough data, will default to bearish/decreasing.
Value Added
This is the most complete and transparent moving average panel/table indicator. Unlike things such as the Technical Ratings, you can see what components are increasing or decreasing.
There may be some advantage in judging if a trend is likely to reverse or not based on the MA's with less lag.
Good for quick screening of charts.
[MX]Moving Average - LibraryLibrary "MA_library"
OVERVIEW
This library contains moving average functions that calculate values for which they do not exist by default in PineScript
Functions
tema(source,length) : Triple Exponencial Moving Average
dema(source,length) : Double Exponencial Moving Average
wwma(source,length) : Welles Wilder Moving Average
gma(source,length) : Geometric Moving Average
MACD-EDT "EMA DEMA TEMA" [DM]Greetings to all colleagues
Today I share a MACD with the EMA , DEMA , TEMA variants.
The aim is that they can see how the signals vary from a normal MACD to one with the averages created by Patrick Mulloy (1994)
Variables of this MACD:
EMA = Exponential Moving Average
DEMA = Double Exponential Moving Average
TOPIC = Triple Exponential Moving Average
He also has in the arsenal:
SMA Simple Moving Average
WMA Weighted Moving Average
Plus...:
Volume-weighted variant in all of them
Visual options:
Points at the crossroads
Shadows on the body of the signals
All colors are customizable
Histogram and shadow are gradients at 15 steps
It has switches for:
Shadow
Histogram
Macd and signal
Crosses
Some minor details remain to be incorporated in the next few days.
Pre-cross calculation.
Alerts
Bar color
Enjoy!!! ;-)
Double_Triple_EMALibrary "Double_Triple_EMA"
Provides the functions to calculate Double and Triple Exponentional Moving Averages (DEMA & TEMA).
dema(_source, _length) Calculates Double Exponentional Moving Averages (DEMA)
Parameters:
_source : -> Open, Close, High, Low, etc ('close' is used if no argument is supplied)
_length : -> DEMA length
Returns: Double Exponential Moving Average (DEMA) of an input source at the specified input length
tema(_source, _length) Calculates Triple Exponentional Moving Averages (TEMA)
Parameters:
_source : -> Open, Close, High, Low, etc ('close' is used if no argument is supplied)
_length : -> TEMA length
Returns: Triple Exponential Moving Average (TEMA) of an input source at the specified input length
multiMaLibrary "multiMa"
Provides function that returns the type of moving average requested.
ma(type, src, len) Returns the moving average requested.
Parameters:
type : The type of moving average (choose one of "EMA", "SMA", "DEMA", "TEMA", "WMA", "VWMA", "SMMA", "HMA")
src : The source
len : The length
Returns: The moving average requested or `na`
MACD Alert [All MA in one] [Smart Crypto Trade (SCT)]This code is a gift from "Smart Crypto Trade (SCT)" group
MACD indicator contains 3 EMA, I think one of the best usage of MACD is trend detection and divergences.
In our indicator, you can select the type of Moving averages that used in macd.
You can using "MACD" based on several types of moving averages including:
Exponential Moving Average ( EMA )
Volume-Weighted Moving Average ( VWMA )
Simple Moving Average ( SMA )
Weighted Moving Average ( WMA )
Exponentially Weighted Moving Average (RMA) that used in RSI
Smoothed Moving Average ( SMMA )
Arnaud Legoux Moving Average ( ALMA )
Double EMA ( DEMA )
Double SMA (DSMA)
Double WMA (DWMA)
Double RMA (DRMA)
Triple EMA ( TEMA )
Triple SMA (TSMA)
Triple WMA (TWMA)
Triple RMA (TRMA)
Linear regression curve Moving Average ( LSMA )
Variable Index Dynamic Average ( VIDYA )
Fractal Adaptive Moving Average ( FRAMA )
In other words we tried to collect all the most popular MAs in our MACD indicator.
In addition, you can use four types of alert or alarm conditions for detection LONG or SHORT positions and trends. For this, you must set an alert in alert tab and set the condition based on four defaults conditions.
Enjoy
TemaVWAPRSI StrategyExchange: Kraken
Timeframe: 5m
Pair: ETH/USD
If you use this for any other exchange or pair, you'll have to tweak the settings, most importantly are the trailing stop ticks. This strategy is currently in what I would call beta mode. It uses the volume weighted average price indicator, rate of change, two triple exponential moving averages and the relative strength index to find buy and sell signals.
TemaRSI StrategyThis strategy uses a triple exponential moving average (Tema) and RSI to find buy points and uses stops, trailing stops and take profit to exit. Draft 1.
PSAR + EMA/TEMA/RSI/OBVThe Parabolic Stop-and-Reservse (PSAR) is a trend indicator, intended to capture reversal signals and show entry and exit points. The PSAR is bullish when the PSAR is below the candle body (usually indicated by a dot) and bearish when the PSAR is above the candle body. The PSAR generally only moves in the direction of the trend, making it useful for markets with an upward or downward trend, as well as swing markets. It is weaker when the market it sideways, as it can be prone to frequent flips (bull-to-bear or vice versa) in markets where a predominant trend is not present.
In order to combat the tendency for rapid swings in the PSAR, it is commonly paired with a second indicator. Often, this is a moving average (MA) to confirm the PSAR signal. Here is a common example:
PSAR + 2 EMAs: A trade would consider entering long when the PSAR is bullish and the fast EMA is above the short EMA.
PSAR + 3 EMAs: As above, but the trader could also add a very long EMA (200, for example) and use that as an additional filter.
In addition to using EMA, other MAs can be used and may be more appropriate to certain instruments and timeframes. Using TEMA, for example, may result in less lag but introduce more noise. Likewise, the Ehler's MAMA is an option.
Some traders use other indicators as PSAR confirmation signals, such as the relative strength index (RSI) on on-balance volume (OBV). The strategy is similar:
bullish PSAR + RSI oversold = consider long entry
bullish PSAR + OBV oscillator > 0 = consider long entry
The strategy presented here is based on my PSAR + EMA + TEMA study. Any of the above strategies are supported by this script:
1. The PSAR is the primary signal.
2. Confirmation is provided by any of the following: EMA , TEMA , Ehler's MAMA , RSI , or OBV.
3. You may use a third EMA (set to 200 as the default) to filter entries -- if used, the strategy will only show signals if the price is above the third (additional) EMA .
For example, a normal long signal would be a bullish PSAR + fast EMA > slow EMA + price > ema 200.
In addition, you may use a SL, which is set to the PSAR dots shown. You may also limit the backtesting dates. (Please note in the chart above, I do not have a limit on the trading dates. I believe this exaggerates the success of the strategy, but the house rules demand I not limit the timeframe to show you a more accurate picture.)
User Selectable Moving Average GuppyA version of the popular "Moving Average Ribbon" or "Guppy" indicators, except nearly everything about it is user selectable. The user can change the source, period, and type of moving average used for every single line on the chart. Note: The visuals are fairly intensive and may take a moment to catch up after adjusting settings.
Credit: This script utilizes the "Color Gradient Framework" tutorial by LucF (PineCoders) to create gradient visuals, which are also customizable for the user.
Moving Average Options:
Running (SMoothed) Moving Average (RMA or SMMA) - Slowest
Simple Moving Average (SMA) - Slow
Exponential Moving Average (EMA) - Responds faster to price than SMA
Weighted Moving Average (WMA)
Volume-Weighted Moving Average (VWMA)
Triple EMA (TEMA)
Exponential Hull Moving Average (EHMA) - Hull with Smoothing (Slower than Hull)
Least Squares Moving Average (LSMA) - Simple Linear Regression
Arnaud Legoux Moving Average (ALMA) - Adjustable, set offset=1 to be current, offset=0.85 for good smoothing (Slower)
Hull Moving Average (HMA) - Normally responds fastest to price of all options
Value Added :
This script is unique in that it allows the user to chart the "Guppy", except nearly everything about it is customizable. The user can change the source, period, and type of moving average used for every single line.
Typically, the Guppy is plotted with simple moving average or exponential moving average, which respond much slower to price than the Hull Moving Average, which this indicator uses as default. (Elimination of lag)
The Hull MA settings for the highest time frame moving averages should work well for assessing the overall macro trend, with a nice visual presentation. Additional labels and alerts for the macro trend are available.
Furthermore, this script provides many more options for type of moving average than is typical for a moving average indicator that provides the user with options, including advanced options such as Hull, TEMA, and ALMA.
The visual presentation is customizable and should provide some entertainment for users who want to create pretty charts.
Bollinger Bands With User Selectable MABollinger Bands with user selection options to calculate the moving average basis and bands from a variety of different moving averages.
The user selects their choice of moving average, and the bands automatically adjust. The user may select a MA that reacts faster to volatility or slower/smoother.
Added additional options to color the bands or basis based on the current trend and alternate candle colors for band touches. Options:
REACT SLOW/SMOOTH TO VOLATILITY
simple moving average (Regular Bollinger Bands)
REACT SMOOTH TO VOLATILITY
exponential moving average (EMA Bollinger Bands)
weighted moving average (Weighted MA Bollinger Bands)
exponential hull moving average (Hull Bollinger Bands with better smoothing)
HIGHLY ADJUSTABLE TO VOLATILITY
Arnaud Legoux Moving average (ALMA Bollinger Bands)
Note: 0.85 ALMA default for more smoothing, set offset=1 to turn off smoothing
REACT HARSH TO VOLATILITY
least squares moving average (Least Squares Bollinger Bands)
REACT VERY FAST TO VOLATILITY
hull moving average (Hull Bollinger Bands or Hullinger Bands)
VALUE ADDED: This script is unique in that no other Bollinger Bands indicator offers a user selection for moving average, and some of the options do not exist yet as Bollinger Bands indicators.
Definitions:
Bollinger Bands: A Bollinger Band® is a technical analysis tool defined by a set of trendlines plotted two standard deviations (positively and negatively) away from a simple moving average (SMA) of a security's price, but which can be adjusted to user preferences.
Exponential Bollinger Bands: The most important characteristics of the Exponential Bollinger Bands indicator are: When the market is flat, the bands will stay much closer to prices. When the volatility is high, the bands move away from prices faster.
Hull Bollinger Bands: Bollinger Bands calculated by Hull moving average, rather than simple moving average or ema. The Hull Moving Average (HMA), developed by Alan Hull, is an extremely fast and smooth moving average. In fact, the HMA almost eliminates lag altogether and manages to improve smoothing at the same time.
Exponential Hull Bollinger Bands: Bollinger Bands calculated by Exponential Hull moving average, rather than simple moving average or ema. The Exponential Hull Moving Average is similar to the standard Hull MA, but with superior smoothing. The standard Hull Moving Average is derived from the weighted moving average (WMA). As other moving average built from weighted moving averages it has a tendency to exaggerate price movement.
Weighted Moving Average Bollinger Bands: A Weighted Moving Average (WMA) is similar to the simple moving average (SMA), except the WMA adds significance to more recent data points.
Arnaud Legoux Moving Average Bollinger Bands: ALMA removes small price fluctuations and enhances the trend by applying a moving average twice, once from left to right, and once from right to left. At the end of this process the phase shift (price lag) commonly associated with moving averages is significantly reduced. Zero-phase digital filtering reduces noise in the signal. Conventional filtering reduces noise in the signal, but adds a delay.
Least Squares Bollinger Bands: The indicator is based on sum of least squares method to find a straight line that best fits data for the selected period. The end point of the line is plotted and the process is repeated on each succeeding period.
_CM_Ultimate_MA_MTF_V4***For a Detailed Video Overview Showing all of the Settings...
Click HERE to View Video
New _CM_Ultimate_MA_MTF_V4 - Update - 08-24-2021
Thanks to @SKTennis for help with code
Added Ability to Plot 1 or 2 Moving Averages - Fast MA & Slow MA
Added Ability to Plot Fast MA with Multi TimeFrame
Added Ability to Plot Slow MA with Multi TimeFrame
Added Ability to Color Fast MA Based on Slope of MA
Added Ability to Color Fast MA based on being Above/Below Slow MA
Added Ability to Plot 8 Types of Moving Averages
Simple, Exponential, Weighted, Hull, VWMA, RMA, TEMA, & Tilson T3
Added Ability to Set Alerts Based on:
Slope Change in the Fast MA Or Fast MA Crossing Above/Below Slow MA.
Added Ability to Plot "Fill" if Both Moving Averages are Turned ON
Added Ability to control Transparency of Fill
Added Alerts to Settings Pane.
Customized how Alerts work. Must keep Checked in Settings Pane, and When you go to Alerts Panel, Change Symbol to Indicator (_CM_Ultimate_MA_MTF_V4)
Customized Alerts to Show Symbol, TimeFrame, Closing Price, & Moving Average Signal Name in Alert
Alerts are Pre-Set to only Alert on Bar Close
See Video for Detailed Overview
New Updates Coming Soon!!!
***Please Post Feedback and Any Feature Requests in the Comments Section Below***
Multi Range Pivots
Multi Range Pivots works by recognizing the high and low of the timeframe selected and plotting range high to MEAN averages and range low to MEAN averages.
This is essentially the VWAP pivots updated to include not only VWAP as a MEAN, but also SMA, EMA, VWMA, DEMA, TEMA, TRIMA, KAMA, MAMA, T3, H/L basis and Donchian basis.
Also, with high and low no longer repainting, I was able to add true reliable signals.
Enjoy