eha MA CrossIn the study of time series, and specifically technical analysis of the stock market, a moving-average cross occurs when, the traces of plotting of two moving averages each based on different degrees of smoothing cross each other. Although it does not predict future direction but at least shows trends.
This indicator uses two moving averages, a slower moving average and a faster-moving average. The faster moving average is a short term moving average. A short term moving average is faster because it only considers prices over a short period of time and is thus more reactive to daily price changes.
On the other hand, a long term moving average is deemed slower as it encapsulates prices over a longer period and is more passive. However, it tends to smooth out price noises which are often reflected in short term moving averages.
There are a bunch of parameters that you can set on this indicator based on your needs.
Moving Averages Algorithm
You can choose between three types provided of Algorithms
Simple Moving Average
Exponential Moving Average
Weighted Moving Average
I will update this study with more educational materials in the near future so be informed by following the study and let me know what you think about it.
Please hit the like button if this study is useful for you.
Đường Trung bình trượt Hàm mũ (EMA)
Sell Gravitation IndexThe Sell Gravitation Index was created by Howard Wang and was published in Stocks & Commodities V37:02 (36-38)
This indicator is similar to the relative strength index but the big difference is that this indicator gives early buy and sell signals which I find very helpful. Buy when it rises above its signal line and sell when it falls below its signal line.
Let me know if you would like to see me publish any other scripts!
AverageTrueRangeConvergenceDivergenceV1sloth288Simple indicator with the thought of merging MACD and ATR. The idea has come from trying to find a way to define sideways markets. Whipped this up quickly to explore the idea.
Feel free to throw in suggestions or even mention other open source indicators that define sideways markets well.
Simple instructions
If histogram green, breakouts/trade zone.
If histogram red, sideways/keep out.
Dynamic Support and ResistanceSupport is a price level where a downtrend can be expected to pause due to a concentration of demand or buying interest. As the price of assets or securities drops, demand for the shares increases, thus forming the support line.
Meanwhile, resistance zones arise due to selling interest when prices have increased.s their name implies, dynamic support and resistance levels change their level with each new price-tick.To draw dynamic support and resistance levels, traders usually use moving averages which are automatically drawn by your trading platform. The 200-day exponential moving average (EMA), 100-day EMA, and 20-30-40-50-day EMA are very popular dynamic support and resistance levels.also in some references Williams Fractal level used for dynamic support and resistance levels. and it also includes other support and resistance levels that are projected based on the pivot point calculation. All these levels help traders see where the price could experience support or resistance. Similarly, if the price moves through these levels it lets the trader know the price is trending in that direction.
Triple SMA/EMAThis indicator displays the 50, 100 and 200 period SMA and EMA and shades the area between the corresponding SMAs and EMAs
McGinley Dynamic IndicatorMcGinley Dynamic is a technical indicator developed by a market technician, R. McGinley in 1997
I based my indicator from code by everget so you should go follow him if you aren't already!
I had issues with the default version of this indicator using different lengths so this is my fix for those issues. This follows the price very closely especially when the stock is falling. I have color coded so go long when it is green and short when it is red.
Let me know if you would like me to write any other scripts for indicators out there!
EMA Cross 20/50/100/200EMA Cross 20 50 100 200
Easy identify cross between 20 and 50
Easy identify cross between 20 and 100
Cross between 20 and 50 is good signal for buy and sell.
Cross between 20 and 100 is confirmation signal for buy and sell.
Bars above/below EMACount of previous bars above or below a chosen Exponential Moving Average. Typically price reconnects with well defined EMAs regularly. If the price has been above/below an EMA for too long, you can expect a reconnect in a short order and bet on mean reversion strategies.
Strategija 2Hello
This strategy is based on Steve Primo's No. 4 with added entry conditions. I will describe long trades only, conversely is valid for shorts.
1. Price has to be above basis SMA and fast EMA
2. Fast EMA has to be above basis EMA
3. ADX has to be above 20 (settings 14,20, fixed)
4. RSI has to be above 50 and above its 21 EMA
5. A pullback has to occur with the touch of the fast EMA
6. A bounce from that level has to occur and close above the control EMA
7. We compare N (1) bars for reverse for fast EMA bounce
Please use it on your own risk. Will add some strategy rules afterwards. My proposal is to use it on Daily and Weekly TF.
Moving Average RibbonMoving Average Ribbon:
-----------------------------------------------------------
A series of moving averages of different lengths to create a ribbon-like indicator. Traders can determine trend strength by the distance between the moving averages, the overall balance of the coloured lines and determine price points. Price movements through the ribbon can be used to identify trend changes.
SMA, EMA, WMA with user defined length, starting plot, number of plots to show, theme choice and colour calculation toggle.
Inputs:
-----------------------------------------------------------
Source: input value for MAs (close)
Type: moving average type (ema)
Theme: multiple colours/themes (theme 2)
Length: MA length (13)
Start: MA plot number to start ribbon on (1)
No. of MAs: number of plots to show; maximum 32 (32)
Colour option: unchecked then line colour is based on the source value crossing current MA otherwise the moving average below (false)
Example:
-----------------------------------------------------------
multiple MAs overlaid with different values give interesting results e.g.
Ribbon1 :
length: 13
start: 1
Ribbon2:
length:1
start: 26
Notes:
-----------------------------------------------------------
if increasing the length beyond around 150 results in "references too many candles in history" error then reduce the no. of MAs value to show less MA plots; the longer length MAs will go beyond the 5k max candle history..
Moving Average Exponential crossover with bullish RSI signalsWhen the market is giving the signals for bullish trend, which shows the shorter period exponential(20) moving average crossing the longer period moving average(50), with a strength shown in the market i.e. RSI greater than 40.
So when all these conditions are met a buy signal is generated in output (Output of Ema cross and Rsi) having value as 1.
So a trader can enter into a long position when the value is 1 and exits a stock when value is 0.
This script is not to be used for selling the stocks in downtrend
Phicube EMASAR ( EMA Support and Resistance )Indicator based on the Concept created by Bo Williams. But unlike the original that uses MIMAs, EMAs are used here.
Exponential moving averages will be shown according to fractal alignment, in order to show the important support and resistance levels ( SAR ).
When the fractals are aligned to become support,
we will have the EMA in the graph with a bright color.
When the fractals are aligned to become resistance, we will have EMA in the graph with a matte color.
Available exponential moving averages: 17,34,72,144,305,610,1292 and 2584
____________________________________________________//_____________________________________________________________________
Indicador baseado no Conceito criado pelo Bo Williams. Mas diferente do original que utiliza MIMAs, aqui é utilizado EMAs.
As médias móveis exponenciais serão mostradas de acordo com o alinhamento dos fractais, com objetivo de mostrar os níveis importantes
de suporte e resistência( SAR ).
Quando estiver com os fractais alinhados virando suporte, teremos no gráfico a EMA com uma cor em tom brilhante.
Quando estiver com os fractais alinhados virando resistência, teremos no gráfico a EMA com uma cor em tom fosco.
Médias móveis exponenciais disponíveis: 17,34,72,144,305,610,1292 e 2584
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. ***
CBG MultiAverages ColorsThe latest version of my multiple moving averages. Now includes up to 14 moving averge lines plus a separate slow and fast moving average that can be assigned a different MA type.
In the screen shot is the fast/slow set to Hull with 15/50 periods. It is overlaid on top of my Key Numbers indicator.
7 moving averages in 1 indicator, including the Hull Moving Average .
SMA
EMA
Weighted
Hull
Symetrical
Volume Weighted
Wilder
Linear Regression
Lots of other features like background shading and paint bar colors.
Multi Timeframe Moving Averages This indicator allows you to view a moving average ( EMA or SMA ) of your choosing on other time frames than what you are currently on. You just need to edit the script and plot MAs that you want to see.
This is based on awesome work of @millerrh at but now instead of read inputs, I just plot what I desire with correct labels.
The reason I used that was that I wanted to see daily MAs in 15min, 5min and 1min charts.
To use the script add to your chart and edit it, you can add or remove any MA you want at end of file and then add it to your chart again.
The code off course is open source.
BEST Rainbow ChartHello traders
This script is a Pinescript adaptation of this FXCM/LUA script
Draws a flexible number of moving averages between 1 and 5 - with a end result looking like a rainbow
Formula
Each Moving Average is defined as a Moving Average of the previous MA
The first MA is based on candle close
MA = MA of Price
MA = MA of MA
....
MA = MA of MA
Bonus
You can select the MA type (EMA, SMA, SMMA, TEMA, DEMA, TMA, ALMA, VWMA, ...) and the MA period shared across all the moving averages
Scaling
If you have any issue with your scaling, you may follow this quick tutorial
Hope you'll like it because it looks nice on your chart :)
Dave
Key EMAsSimple trade helper script that plots:
- 10 & 20 EMA crosses for fast moves
- 10 & 200 EMA crosses for trends
- 50 & 200 EMA golden and death crosses
Alerts built in.
Bollinger Bands of RSIwith this script you can follow ema8 of RSI and also SMA20 of RSI with ∓ 2 standart deviation
Spliv's EMA Ribbon/MA ComboEMA and MA combo with many EMAs to create ribbons.
21ema|50-55ema|89-100ema|200ema|377ema|10s|30s|100s|200s
[redxbt] MA exit modified special thanks to redxbt for the script code
modified for 55,99 EMA's
dip and tip points
green and lime are dips for buying
red and orange are tops for selling
works best on 5,10 min scalping charts
Price Action and 3 EMAs Momentum plus Sessions FilterThis indicator plots on the chart the parameters and signals of the Price Action and 3 EMAs Momentum plus Sessions Filter Algorithmic Strategy. The strategy trades based on time-series (absolute) and relative momentum of price close, highs, lows and 3 EMAs.
I am still learning PS and therefore I have only been able to write the indicator up to the Signal generation. I plan to expand the indicator to Entry Signals as well as the full Strategy.
The strategy works best on EURUSD in the 15 minutes TF during London and New York sessions with 1 to 1 TP and SL of 30 pips with lots resulting in 3% risk of the account per trade. I have already written the full strategy in another language and platform and back tested it for ten years and it was profitable for 7 of the 10 years with average profit of 15% p.a which can be easily increased by increasing risk per trade. I have been trading it live in that platform for over two years and it is profitable.
Contributions from experienced PS coders in completing the Indicator as well as writing the Strategy and back testing it on Trading View will be appreciated.
STRATEGY AND INDICATOR PARAMETERS
Three periods of 12, 48 and 96 in the 15 min TF which are equivalent to 3, 12 and 24 hours i.e (15 min * period / 60 min) are the foundational inputs for all the parameters of the PA & 3 EMAs Momentum + SF Algo Strategy and its Indicator.
3 EMAs momentum parameters and conditions
• FastEMA = ema of 12 periods
• MedEMA = ema of 48 periods
• SlowEMA = ema of 96 periods
• All the EMAs analyse price close for up to 96 (15 min periods) equivalent to 24 hours
• There’s Upward EMA momentum if price close > FastEMA and FastEMA > MedEMA and MedEMA > SlowEMA
• There’s Downward EMA momentum if price close < FastEMA and FastEMA < MedEMA and MedEMA < SlowEMA
PA momentum parameters and conditions
• HH = Highest High of 48 periods from 1st closed bar before current bar
• LL = Lowest Low of 48 periods from 1st closed bar from current bar
• Previous HH = Highest High of 84 periods from 12th closed bar before current bar
• Previous LL = Lowest Low of 84 periods from 12th closed bar before current bar
• All the HH & LL and prevHH & prevLL are within the 96 periods from the 1st closed bar before current bar and therefore indicative of momentum during the past 24 hours
• There’s Upward PA momentum if price close > HH and HH > prevHH and LL > prevLL
• There’s Downward PA momentum if price close < LL and LL < prevLL and HH < prevHH
Signal conditions and Status (BuySignal, SellSignal or Neutral)
• The strategy generates Buy or Sell Signals if both 3 EMAs and PA momentum conditions are met for each direction and these occur during the London and New York sessions
• BuySignal if price close > FastEMA and FastEMA > MedEMA and MedEMA > SlowEMA and price close > HH and HH > prevHH and LL > prevLL and timeinrange (LDN&NY) else Neutral
• SellSignal if price close < FastEMA and FastEMA < MedEMA and MedEMA < SlowEMA and price close < LL and LL < prevLL and HH < prevHH and timeinrange (LDN&NY) else Neutral
Entry conditions and Status (EnterBuy, EnterSell or Neutral)(NOT CODED YET)
• ENTRY IS NOT AT THE SIGNAL BAR but at the current bar tick price retracement to FastEMA after the signal
• EnterBuy if current bar tick price <= FastEMA and current bar tick price > prevHH at the time of the Buy Signal
• EnterSell if current bar tick price >= FastEMA and current bar tick price > prevLL at the time of the Sell Signal