Average
AntiRekt RibbonThis script is a fork of the Madrid Ribbon, the only difference is that you can color your bars depending on the trend.
[RS]ZigZag Percent Reversal - Forecast - patterns - labels description:
• Zig Zag indicator plots points on the chart whenever prices reverse
by a percentage greater than a pre-chosen variable.
• Forecasts area based on zigzag statistics.
• Displays labels with detected patterns.
• Displays slope information rate of price, time diferentials and angle(experimental)
Ratio OCHL Averager - An Alternative to VWAPIntroduction
I had the idea to make this indicator thanks to @dpanday with the support of @Coppermine and @Reika. Vwap is a non parametric indicator based on volume used by lot of traders and institutions, its non parametric particularity makes it great because it don't need to go through parameter optimization. Today i present a similar indicator called Ratio OCHL Averager based on exponential averaging by using the ratio of open-close to high-low range by using monthly high/low.
The Indicator
The indicator can more recursive by checking the "recursive" option, this allow to use the indicator output instead of the open price for the calculation of the ratio of open-close to high-low range. The result is a more reactive estimation,
The indicator reactivity change based on the time frame you are in, using higher time frame result in a more reactive indicator, however it is way less reactive than the vwap, this is a personal choice since i wanted this indicator to be smooth even with high time frames, if you want to change that you use another resolution for H and L in line 5,6.
Conclusion
I presented an alternative to vwap based on the Ratio OCHL indicator. I hope you like it and thanks for reading !
Thanks to Coppermine and Reika for the support during the creation of the indicator
AVERAGE MULTI_SMAIndicator returns an average of 5 SMAs. an interesting point that I have noticed that the price has several times reacted on it.
Note 1: Do not just use this as a criterion for buying and selling, use as one more aid.
Note 2: It is possible to leave in the chart all the averages, if you feel it necessary.
------------------------------------//--------------------------------------------------
Indicador retorna uma média de 5 SMAs. um ponto interessante que tenho notado que o preço tem diversas vezes reagido nele.
Observação 1: Não use apenas isso como critério para compra e venda, use como mais um auxilio.
Observação 2: É possivel deixar no grafico todas as médias, caso você ache necessário.
Moving Average Heatmap Visualization7 different types of moving averages (5 different lengths of each) compared to a base moving average. Base moving average can be configured to be a slew of different types of moving averages (credit to @mortdiggiddy for the code) and have a custom length.
Red = base moving average is over other moving average (bearish)
Green = base moving average is under other moving average (bullish)
lengths for the different MAs are just fibonacci numbers due to lack of creativity.
First 5 moving averages are Simple moving average the next 5 are Exponential moving averages and after that it is weighted moving averages, volume weighted moving average (VWAP), Exponential volume weighted moving average (thanks again @mortdiggiddy ), hull moving averages and lastly zero lag moving averages.
The indicator might lag your chart out a bit so be ready for that.
Have fun!
Averages - PineCoders FAQ█ WARNING
The publication of our ConditionalAverages library has deprecated this publication.
█ ORIGINAL DESCRIPTION
The need to calculate averages (arithmetic mean) comes up here and there in scripts. When you want the average of a value only when a given condition has occurred, you will often not be able to use the standard sma function in Pine because it will average all values in the series. Even if you take care to use your condition to set non-conforming values to zero, this ends up skewing your results with zero values.
This script calculates:
1. The running average of all up volumes,
2. The average of last x occurrences of up volume ,
3. The average up volume occurrences in last y bars.
Look first. Then leap.
Moving Average Trend IndicatorThis Indicator shows you the major moving averages, both in simple and exponential.
Flagging BandsIntroduction
A pun between the word flag and the adjective flagging (less dynamic) , this indicator have two bands who react faster when in contact to the price. Imagine you are under sheets, if you abruptly rise, the sheets will instantaneously go up, then if you abruptly get down, the sheets will fall slowly until being in contact with a surface, this is because of a type of friction called drag or air resistance , this force is described in fluid dynamics and i inspired myself from that for the creation of the indicator.
The indicator
The indicator is made of two bands, one upper band and one lower band, then a weighted average of each bands, this average is weighted depending on which band the price is closer. The length control the period of the indicator, in general higher lengths will create wider bands, you must consider that this parameter behave differently than other ones and may create slower results in comparison with other bands indicators while having the same length period.
The indicator can use a simple breakout methodology (see trailing stop part) but can sometime provide support and resistance points, in fact i believe that when the average variability/volatility of band A is higher than the average variability/volatility of band B and that the price cross band B then price will reverse its direction, this claim is not justified, research is needed.
Trailing Stop Mod
It is possible to make the indicator act as a trailing stop, in order to do so just tick the trailing stop mod box.
The average/bands will automatically disappear being replaced by the trailing stop.
Conclusion
I was just playing around when making the skeleton of the indicator, i hope the code is easy to understand, if you need some kind of explanation just pm me, i'm always open to help people/receive suggestions.
Best Regards
(YEK) Combo(YEK) Combo is a combination of several indicators (listed below). You can use them together or one by one. Just click settings, and choose which of them to be shown.
Here are the indicators included in this script:
- Ichimoku Cloud
- Bollinger Bands
- Moving Average 1
- Moving Average 2 (In case of detecting golden crosses or death crosses)
- Exponential Moving Average
- T3 Tillson
- MavilimW
Enjoy!
EMA Rainbow by uykusuzpenguenTo Survive in Bear Markets or in Horizontal Markets;
EMA Rainbow ;
EMA Rainbow is a rainbow which is formed by multiplying the moving average by certain proportions and reflecting up and down on the ema200. According to the observations, dark green areas are strong buying areas, dark red areas are strong sales regions. Trading decisions can be made according to the line breaks or the regions in which the price movements. Rates can be edited in the settings section.
The graph shows reactions in dark green areas.
Ayı Piyasasında yada Yatay Piyasalarda hayatta kalmak için ;
EMA Rainbow ;
EMA200 hareketli ortalamanın belirli oranlarla çarpılarak ema200ün üstüne aşşağı ve yukarı yansıtılmasıyla oluşan gökkuşağıdır. Yapılan gözlemlere göre koyu yeşil bölgeler güçlü alım yerleri , koyu kırmızı bölgeler güçlü satış bölgeleridir. Çizgi kırılımlarına yada fiyatın gezindiği bölgelere göre alım satım kararı verilebilir. Oranlar ayarlar kısmından düzenlenebilir.
Grafikte koyu yeşil bölgelerdeki tepkiler gözlemlenebilir.
Ehlers Modified Optimum Elliptic FilterThis indicator was originally developed by John F. Ehlers (Stocks & Commodities, V.18:7 (July, 2000): "Optimal Detrending").
Mr. Ehlers didn't stop and improved his Optimum Elliptic Filter. To reduce the effects of lag he added the one day momentum of the price to the price value.
This modification produce a better response.
Ehlers Optimum Elliptic FilterThis indicator was originally developed by John F. Ehlers (Stocks & Commodities, V.18:7 (July, 2000): "Optimal Detrending").
Mr. Ehlers worked on the smoother that could have no more than a one-bar lag. An elliptic filter provides the maximum amount of smoothing under the constraint of a given lag.
Self-Weighted Moving AverageThis type of moving average was originally developed by Alex Orekhov at his home. This WMA uses previous prices as weights for the new ones. At the moment, this is a highly experimental approach, so don't use it in real trading.
The weighting scheme is presented on the chart.
Quadruple Exponential Moving Average (QEMA)This type of moving average was originally developed by Bruno Pio in 2010. I just ported the original code from MetaTrader 5.
QEMA - Quadruple Moving Averages (50,100,200,300)The script combines the common moving averages 50,100 and 200 and adds an additional MA300 to the graph.
Average Indicators Positionsby this script you can see the average level of macd, macd-asprey, rsi, stochastic, cci, momentum, obv, DI, volume weighted macd, cmf indicators within a period. It also calculates and creates the same graph for higher time frame, so you can see average levels for current and higher time frame. you can also check it for divergence/convergence. You can use it as you wish and add/remove indicators.
Parabolic Weighted Moving AverageThe weights of this moving average are powers of the weights of the standard weighted moving average WMA .
Remember:
When parameter Power = 0, you will get SMA .
When parameter Power = 1, you will get WMA .
Good luck!
Bitstamp BTC Horizontal 200 Week SMAsmall change to my horizontal 200 week SMA script.
Plots the latest 200 week SMA value from Bitstamp BTCUSD on the chart. I use it for the Bitmex chart, as Bitmex doesn't have enough history for a 200 week moving average.