Historical Exp MA crossover (EEMANI) strategyThis strategy is based on exponential moving average.
I was doing some research on when price extended too far from moving averages / exponential moving averages , ended up with this idea.
LONG RULE
when Exponential MA cross over the historical Exponential MA
EXIT RULE
when Exponential MA cross down the historical Exponential MA
Take Profit
if you check take profit parameter , strategy marks the bars in yellow color when it reaches 30% profit
Example:
I have tested this strategy with SPY , which showed best results with Exp MA = 51 and Historical Exp MA = 100
which has 71% win ratio and High profit factor low max draw down . especially Max Loss on any taken trade is less than 5%
Though price movement looks ugly on the chart , ultimately trade closes with decent profit / minimal loss
Note : past performance is not necessarily indicative of future results, please do your research and back test
Exponential
Demonstration of how history length affects all EMA valuesI saw some discussion of this so I whipped up an example to prove the that effect of history length on EMA values is pronounced, even for bars much further than the EMA length from the first candle of the chart.
This chart has two 89-bar EMAs of the close: a green one and a red one. However, for the red one, the first 89 bars of the graph are considered to have a close of "0", which is exactly whatTradingView's EMA calculation uses for bars before the start of the graph.
This is because unlike other moving averages, which reference the price of previous bars, the EMA references the EMA of previous bars. Therefore, bars closer to the beginning of the chart, where TradingView can't calculate an EMA because there is no previous EMA and therefore uses 0, will return substantially different values for the EMA() function that the same cart would with more history.
The further a bar is back in history, the less influence it has. However, every single historical bar has some influence on the EMA of every later bar.
To allow you to see this for yourself, this script contains the following inputs which you can change to see the effect:
-EMA period (default 89)
-Number of bars to ignore for EMA2 (default 89)
-decimal precision to show differences in. By making this a large number you can see that, although the effects diminish, history length affects all EMA values for the char.
-label spacing (increase this if you have a long history and run into TV's 50-label limit)
6 Moving Averages with MTF v1.0This indicator is a collection of 6 different period Moving Averages. It has support for different time-frame resolution for all of them individually.
Also, it has 11 different type of Moving Average calculation functions:
1. Simple Moving Average (SMA)
2. Exponential Moving Average (EMA)
3. Weighted Moving Average (WMA)
4. Volume Weighted Moving Average (VWMA)
5. Smoothed Moving Average (SMMA)
6. Double Exponential Moving Average (DEMA)
7. Triple Exponential Moving Average (TEMA)
8. Hull WMA Moving Average (HullMA)
9. Triangular Moving Average (TMA)
10. Super Smoother Moving Average (SSMA)
11. Zero Lag Exponential Moving Average (ZEMA)
Note: The Moving Average calculation function is adapted from @JustUncleL
Happy trading 😉
Thank you.
Bollinger Bands Ema 50,200,800EMAs converted to Bollinger Bands The bands are 50, 200 and 800 period, forming a strategy and having clear trends and stronger supports and resistances (when the lines converge the area is stronger).
RSI background by AvesTradingHello,
This is RSI indicator that shows background color, when proper levels reached, instead of line in another pane. Customizable options are available:
- source
- length
- overbought level
- oversold level
I have added as well RMA of RSI for extra confirmation if needed. I hope you enjoy and will leave me some feedback! Don't forget to follow me for new releases.
Cheers
Aves
Please remember that the indicators provided by me are for educational purposes only.
Bitcoin Power Law CorridorOpen-source live tracker of Harold Burger's Bitcoin "Power Law Corridor".
Added optional chart fill and labels to show the percentage delta to the regression center-line, support and resistance.
EMA High-Low ChannelThe channel is of High and low using EMA, so it is easily to track and see higher high when prices is breaking above channel. same is vice-versa when price is breaking below channel.
Alpha-Decreasing Exponential Moving AverageThe alpha parameter of this moving average decreases with every new bar on the chart, so it will become more slowly and slowly in course of time. Can act like additional support/resistance line but works in an acceptable way on weekly and monthly timeframes only.
EMA X 7/14use alongside other indicators like my hma, tesma, tdi scripts. this will give you confirmation for long short opportunity.
look up basic knowledge for fast and slow ema crossovers for other ways to use the script
EMA 21,13,8 - scalping3 EMAs will help identify and predict uptrends and downtrends
-If EMAs are all above the candles it a sign to sell & if the EMAs are below its a sign to buy
- If the Green-8 EMA crosses or touches red candle then flips under the other EMAs & candles then it's time to sell
-If the Green-8 EMA crosses or touches green candle then flips above the other EMAs & candles then it's time to buy
- how far is the EMAs from the candle it'll show how strong the trend. combine this strategy with the stochastic oscillator & RSI to get the maximum benefit
4 Fibonacci EMAsAdd 4 Fibonacci EMAs to your charts with one indicator.
Configureable by value, so they don't necessarily have to use Fibonacci numbers, and by colors.
AntiRekt RibbonThis script is a fork of the Madrid Ribbon, the only difference is that you can color your bars depending on the trend.
Volume (Incremental) Weighted VOLATILITY BANDSDISCLAIMER:
The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
The following indicator was made for NON LUCRATIVE ACTIVITIES and must remain as is following TradingView's regulations. Use of indicator and their code are published by Invitation Only for work and knowledge sharing. All access granted over it, their use, copy or re-use should mention authorship(s) and origin(s).
WARNING NOTICE!
THE INCLUDED FUNCTION MUST BE CONSIDERED AS TESTING. The models included in the indicator have been taken from openly sources on the web, problems could occur at diverse data sceneries.
WHAT'S THIS...?
Work derived by previous own research for study:
The given indicator is another VWAP analysis tool that contains openly procedures for rolling out time sessions as in other TradingView scripts .
Some novelties are introduced in this version:
INCREMENTAL WEIGHTED STANDARD DEVIATION BANDS: The calculation on this script are strictly based in regard of University of Cambridge Computing Service, February 2009 paper by Tony Finch publicly found at people.ds.cam.ac.uk .
From the Abstract, he explain how to derive formulae for numerically stable calculation of the mean and standard deviation, which are also suitable for incremental on-line calculation. Then he generalize these formulae to weighted means and standard deviations. He unpick the difficulties that arise when generalizing further to normalized weights. Finally he shown that the exponentially weighted moving average is a special case of the incremental normalized weighted mean formula, and derive a formula for the exponentially weighted moving standard deviation.
VOLUME WEIGHTED VOLATILITY ADAPTIVE MOVING AVERAGE & BANDS: Taking the INCREMENTAL WEIGHTED STANDARD DEVIATION already described and taking a specified anchor or Rolling procedure for a VWAP, I derive the variance against the price to use it as VOLATILITY PROXY for a normalization lambda to plot a First Order Impulse Response Filter or Adaptive Average . This idea have it's roots derived from Chaiyuth Padungsaksawasdi & Robert T. Daigler paper entitled "Volume weighted volatility: empirical evidence for a new realised volatility measure".
NOTES:
This version DO NOT INCLUDE ALERTS.
This version DO NOT INCLUDE STRATEGY: Feedback are welcome.
DERIVED WORK:
Incremental calculation of weighted mean and variance by Tony Finch (fanf2@cam.ac.uk) (dot@dotat.at), 2009.
Volume weighted volatility: empirical evidence for a new realised volatility measure by Chaiyuth Padungsaksawasdi & Robert T. Daigler, 2018.
Multi-Timeframe VWAP by TradingView user @mortdiggidi
CHEERS!
@XeL_Arjona 2019.
Adaptive Exponential Moving AverageThis indicator was originally developed by Vitali Apirine (Stocks & Commodities V. 37:5 (April, 2019): Adaptive Exponential Moving Average ).
This is his second modification of Kaufman Moving Average. In essence, the idea remains the same as in the previous ( ): the smoothing constant is calculated as a special ratio between the current price and highest/lowest prices for a given period.
In combination with EMA you can obtain a trading system based on double crossovers:
Long , when AEMA crosses up EMA
Short , when AEMA crosses down EMA
Source code on request
Multiple EMAMultiple EMA. Color switch of slowest EMA (def=200) when price close below or above. Trend marker when fastest EMA (def=9) cross slowest EMA (def=200).
Multiple EMAMultiple EMA lines. Color switch of slowest EMA (def=200) when price close above or below. Trend marker when fastest EMA (def=9) cross slowest one.
12 Exponential Moving AveragesThe Guppy Multiple Moving Average (GMMA). The short-term MAs are typically set at 3, 5, 8, 10, 12, and 15 periods. The longer-term MAs are typically set at 30, 35, 40, 45, 50, and 60.
12 Exponential Moving Averages Guppy The Guppy Multiple Moving Average (GMMA). The short-term MAs are typically set at 3, 5, 8, 10, 12, and 15 periods. The longer-term MAs are typically set at 30, 35, 40, 45, 50, and 60.
Multiple EMA MTF by ZekisA simple but effective strategy with multiple time frames for EMA.
Very useful so you don't have to change chart resolution to check it, you have direct confirmation.
I put 6 time frames for one EMA as bricks, sometimes is hard to see if a line is above or below the price and you need to zoom and zoom, so with this way of view, it will be easier.
Green = EMA is below price = bullish
Red = EMA is above price = bearish
Multi time frames as default (you can change it for your needs) - 5m, 15m, 30m, 1H, 2H and 4H.
Enjoy!
@Zekis