Adaptive ChannelThis indicator uses KAMA to adjust the length of a channel according to volatility.
A set up is generated when a candle closes below/above the mid point line; this is indicated via the background color.
Buy/sell on the break of the high/low of the signal candle.
Use the channel top/bottom as a stop (or a close above/below the mid pint line)
Media mobile adattiva di Kaufman (KAMA)
Powered Kaufman Adaptive Moving AverageIntroduction
The ability the Kaufman adaptive moving average (KAMA) has to be flat during ranging markets and close to the price during trending markets is what make this moving average one of the most useful in technical analysis. KAMA is calculated by using exponential averaging using the efficiency ratio (ER) as smoothing variable where 1 > ER > 0 . An increasing efficiency ratio indicate a trending market. Based on one of my latest indicator (see Kaufman Adaptive Bands) i propose this modified KAMA that allow to emphasis the abilities of KAMA by powering the efficiency ratio. I also added a new option that allow for even more adaptivity.
The Indicator
The indicator is a simple KAMA of period length that use a powered ER with exponent factor .
When factor = 1 the indicator is a simple KAMA, however when factor > 1 there can be more emphasis on the flattening effect of KAMA.
You can also restrain this effect by using 1 > factor > 0
Note that when the exponent is lower than 1 and greater than 0 you are basically applying a nth square root to the value, for example pow(2,0.5) = sqrt(2) because 1/0.5 = 2, in our case :
pow(ER,factor > 1) < ER and pow(ER,1 > factor > 0) > ER
Self Powered P-KAMA
When the self powered option is checked you are basically powering ER with the reciprocal of ER as exponent, however factor does no longer change anything. This can give interesting results since the exponent depend on the market trend strength.
In orange the self powered KAMA of period length = 50 and in blue a basic powered KAMA with a factor of 3 and a period of length = 50.
Conclusion
Applying basic math to indicators is always fun and easy to do, if you have adaptive moving averages using exponential averaging try powering your smoothing variable in order to see interesting results. I hope you like this indicator. Thanks for reading !
Options - Kaufman / LEAST SQUARES Moving AverageThis is a combo of multiple indicators :
1- three kama moving averages
2- one lsma moving average
3- a kama upper and lower band that you can set to use any of the three kama moving averages in the indicator as source
4- upper, lower and center bollinger bands price for last candle
The horizontal dot line is the bollinger and the horizontal arrowed lines are the bands for kama indicator.
The parameters are available for KAMA, LSMA and BB settings, the default settings are prefabricated for options trading.
HLC3/Kaufman Strategy This is an upgrade of the old Heikin/Kaufman Strategy. This script DONT use Heikin value anymore, so I hope no more repaint. Try it and let me know. Use an ADX indicator can help to check the strenght of the trend.
Highly Optimized (Aroon, DMI, RWI)It is a highly optimized script for H4, D1. Backtests from (2016 - 2019, depending on the currency pair). Optimization still
going on.
Following alerts can be activated:
-
Buy-Signal (Baseline-Cross)!
Sell-Signal (Baseline-Cross)!
Buy Signal (Aroon)!
Sell Signal (Aroon)!
Buy Signal (DMI)!
Sell Signal (DMI)!
Buy Signal (RWI)!
Sell Signal (RWI)!
Can be used by the following pairs:
AUDCAD
AUDCHF
AUDJPY
AUDNZD
AUDSGD
AUDUSD
CADCHF
CADJPY
CHFJPY
CHFSGD
EURAUD
EURCAD
EURCHF
EURGBP
EURJPY
EURNZD
EURSGD
EURTRY
EURUSD
GBPAUD
GBPCAD
GBPCHF
GBPJPY
GBPNZD
GBPSGD
GBPUSD
NZDCAD
NZDCHF
NZDJPY
NZDUSD
SEKJPY
SGDJPY
USDCAD
USDCHF
USDCNH
USDJPY
USDSGD
USDTRY
XRPUSD
Price is 5€ per Month or 75€ lifetime. One week free for testing.
Kaufman Adaptive BandsIntroduction
Bands are quite efficient in technical analysis, they can provide support and resistance levels, provide breakouts points, trailing stop loss/take profits positions and can show the current market volatility to the user. Most of the time bands are made from a central tendency estimator like a moving average plus/minus a volatility indicator. Therefore bands can be made out of pretty much everything thus allowing for any kind of flavors.
So i propose a band indicator made from a Kaufman adaptive moving average using an estimate of the standard deviation.
Construction
The Kaufman moving average is an exponential averager using the efficiency ratio as smoothing variable, length control the period of kama and in order to provide more smoothness a power parameter has been introduced, higher values of power will return smoother results.
The volatility indicator is made from a biased estimation of the standard deviation by using the square root of the mean of the square minus the square of the mean method, except that we use kama instead of a mean.
The bands are made by adding/subtracting this volatility indicator with kama.
How To Use
The ability of the indicator to adapt to the current market state is what makes him a great tool for avoiding major exposition during ranging market, therefore the indicator will have a greater motion during trending market, or more simply the bands will move during trending markets while staying "flat" during ranging ones. Therefore the indicator might be more suited to breakouts, even if some cases will return what where turning points, this is particularly true during ranging markets.
Of course the efficiency ratio is not an "unbiased" trend metric indicator, it can consider high volatility markets as trending markets. Its one of his downsides.
High values of power will create smoother bands.
When using a low power parameter use an higher mult. In general using a low power value will make the bands move more freely as well as making them closer to each others.
Conclusion
At least the indicator is really nice to the eyes when using high power values, its ability to adapt to the market is a great addition to other more classical bands indicators, i also introduced a volatility estimator based on kama, some might have used the following estimation : kama(abs(price - kama)) which would have created a slower result. A trailing stop might be made from it if i see request about such addition.
If you are curious here are some more images of the indicator performing on different markets. Thanks for reading !
Double KAMA + VWMAThis study combines a fast and slow Kaufman Adaptive Moving Averages (KAMA) with a fast and slow Volume-Weighted Moving Average(VWMA).
The KAMA is definitely one of our favorite moving averages because it takes into account volatility and filters out false signals during periods of insignificant or horizontal price movement. This results in more patient, less impulsive trading. At its most basic, the KAMA's value remains relatively close in value to the price when volatility is low then lags slightly behind it during highly volatile movements and larger trends.
We've plotted two Kaufman's Adaptive Moving Averages:
-The first KAMA is the slow KAMA, which we use as a trend filter. It is shown on the graph as the thicker solid line that alternates between green and red. When the trend filter KAMA is bullish, the line turns green. It then turns red when bearish. Users can adjust the lengths of the fast and slow EMA for the KAMA's calculation in the input option menu, but it is important to remember that the number of periods should remain high in comparison to the fast KAMA as this allows it to track long-term price movements and trends.
-We then include a fast KAMA which has shorter EMA Lengths to focus in on movements within a smaller timeframe.
NOTE: The fast KAMA is only plotted when the trend filter KAMA is generating bullish signals. It is shown as the alternating pink and teal line above the main green line. When the fast KAMA is increasing, its line and the area between it and the slow KAMA are filled teal. When the fast KAMA is falling, its line and the area between the fast and slow KAMA lines are colored pink. This helps with timing exits.
Lastly, we've included a fast and slow VWMA to time long entries. These are only plotted when the Trend Filter KAMA is bearish. The fast VWMA is the teal solid line under the trend filter KAMA and the slow VWMA is the pink line. Optimal entries will occur when the fast VWMA crosses above the slow VWMA. When the slow VWMA is greater than the fast VWMA, the area between the two lines is filled red, while the same area is filled teal when the fast VWMA is greater than the slow.
I've included entry signals (shown on the screenshot as the lime green background highlights), but this is the basic version of the indicator. If you're interested in taking a look at the full version with alerts and entry + exit signals, feel free to send us a message!
Koby's 3 average MACD indicatorThis MACD is averaging 3 different MACD; KAMA MACD, ZLEMA MACD, and normal MACD.
Can find easier MACD's divergence and convergence than normal MACD.
And more smoothly drawing than ZLEMA MACD (KZ_MACD) which is I've made before.
Koby's ZLEMA MACD and KAMA signalUsing zero lag ema for MACD line, and using KAMA for MACD's signal line.
Test version.
This has MACD and signal cross alert, and 0 line alert.
Moving Average CrossoverIt was planned as an addition to Moving Average Smoothness Benchmark and Profitable Moving Average Crossover , but can be used standalone.
Supports 62 types of well-known moving averages and allows full-featured customization.
Supported types of averages and filters:
AEMA , Adaptive Exponential MA (by Vitali Apirine)
AHMA , Ahrens MA (by Richard D. Ahrens)
ALMA , Arnaud Legoux MA (by Arnaud Legoux and Dimitris Kouzis-Loukas)
ALF , Adaptive Laguerre Filter (by John F. Ehlers)
AMA , Adaptive MA (by Vitali Apirine)
ARSI , Adaptive RSI
BAMA , Bryant Adaptive MA (by Michael R. Bryant)
BF2 , Butterworth Filter with 2 poles
BF3 , Butterworth Filter with 3 poles
DEMA , Double Exponential MA (by Patrick G. Mulloy)
DWMA , Double Weighted (Linear) MA
EDCF , Ehlers Distance Coefficient Filter (by John F. Ehlers)
EDSMA , Ehlers Deviation-Scaled MA (by John F. Ehlers)
EHMA , Exponential Hull MA
EMA , Exponential MA
EVWMA , Elastic Volume Weighted MA (by Christian P. Fries)
FRAMA , Fractal Adaptive MA (by John F. Ehlers)
GF1 , Gaussian Filter with 1 pole
GF2 , Gaussian Filter with 2 poles
GF3 , Gaussian Filter with 3 poles
GF4 , Gaussian Filter with 4 poles
HFSMA , Hampel Filter on Simple Moving Average
HFEMA , Hampel Filter on Exponential Moving Average
HMA , Hull MA (by Alan Hull)
HWMA , Henderson Weighted MA (by Robert Henderson)
IDWMA , Inverse Distance Weighted MA
IIRF , Infinite Impulse Response Filter (by John F. Ehlers)
JAMA , Jurik Adaptive MA (by Mark Jurik)
JMA , Jurik MA (by Mark Jurik, )
KAMA , Kaufman Adaptive MA (by Perry J. Kaufman)
LF , Laguerre Filter (by John F. Ehlers)
LMA , Leo MA (by ProRealCode' user Leo)
LSMA , Least Squares MA (Moving Linear Regression)
MAMA (by John F. Ehlers)
FAMA , Following Adaptive MA (by John F. Ehlers)
MD , McGinley Dynamic (by John R. McGinley)
MHLMA , Middle-High-Low MA (by Vitali Apirine)
MNMA , McNicholl MA (by Dennis McNicholl)
NSMA , Moving Average 3.0 on SMA (by Manfred G. Dürschner)
NEMA , Moving Average 3.0 on EMA (by Manfred G. Dürschner)
NWMA , Moving Average 3.0 on WMA (by Manfred G. Dürschner)
NVWMA , Moving Average 3.0 on VWMA (by Manfred G. Dürschner)
PEMA , Pentuple Exponential MA (by Bruno Pio)
PWMA , Parabolic Weighted MA
QMA , Quick MA (by John McCormick)
QEMA , Quadruple Exponential MA (by Bruno Pio)
REMA , Regularized Exponential MA (by Chris Satchwell)
RMA , Running MA (by J. Welles Wilder)
RMF , Recursive Median Filter (by John F. Ehlers )
RMTA , Recursive Moving Trend Average (by Dennis Meyers)
SHMMA , Sharp Modified MA (by Joe Sharp)
SMA , Simple MA
SSF2 , Super Smoother Filter with 2 poles (by John F. Ehlers)
SSF3 , Super Smoother Filter with 3 poles (by John F. Ehlers)
SWMA , Sine Weighted MA
TEMA , Triple Exponential MA (by Patrick G. Mulloy)
TMA , Triangular MA (generalized by John F. Ehlers)
T3 , (by Tim Tillson)
VIDYA , Variable Index Dynamic Average (by Tushar S. Chande)
VWMA , Volume Weighted MA (by Buff P. Dormeier)
WMA , Weighted (Linear) MA
ZLEMA , Zero Lag Exponential MA (by John F. Ehlers and Ric Way)
Bryant Adaptive Moving Average@ChartArt got my attention to this idea.
This type of moving average was originally developed by Michael R. Bryant (Adaptrade Software newsletter, April 2014). Mr. Bryant suggested a new approach, so called Variable Efficiency Ratio (VER), to obtain adaptive behaviour for the moving average. This approach is based on Perry Kaufman' idea with Efficiency Ratio (ER) which was used by Mr. Kaufman to create KAMA.
As result Mr. Bryant got a moving average with adaptive lookback period. This moving average has 3 parameters:
Initial lookback
Trend Parameter
Maximum lookback
The 2nd parameter, Trend Parameter can take any positive or negative value and determines whether the lookback length will increase or decrease with increasing ER.
Changing Trend Parameter we can obtain KAMA' behaviour
To learn more see www.adaptrade.com
Zero Lag KAMA based CCIExperiment that uses an (optional) Zero Lag adjustment and KAMA instead of the default SMA to calculate the CCI.
Zerolag KAMA MACDExperimental Zero Lag Adjusted KAMA based MACD.
Uses Kaufman's Adaptive Moving Average (KAMA) instead of the standard EMAs to calculate the MACD with an optional application of the zero lag adjustment.
Significant differences in momentum changes (zero line crossovers), often earlier signal line crossovers and differences in divergences.
Chart displays :
Top : Zero lag adjusted KAMA based MACD
Middle : Unadjusted KAMA based MACD
Bottom : Standard MACD
Daily Volatility Arbitrage between BTC and ETHDaily Volatility Arbitrage between BTC and ETH
Tips are appreciated!
BTC: 3FzN8HipN4iXHUWgc5hkithbTQKfjjYHRW
ETH: 0x4B345f58D07Ae9608BBA3184B7FF16Ac07120e35
Market Status Moving AverageGet a quick easy view of the current market status.
Examples used above are lengths 6 and 15, but you can tweak to your liking.
Want to stop sweating the small stuff and see the bigger picture? Try increasing the length to 50, 100 etc
Green = Bullish
Orange = Consolidation / Flat
Red = Bearish
--------------------------------------------------------------------
--------------------------------------------------------------------
Check out some of our other recent releases below :
Kaufman Adaptive Moving AverageKaufman Adaptive Moving Average script.
This indicator was originally developed by Perry J. Kaufman (`Smarter Trading: Improving Performance in Changing Markets`, 1995).
colorsi just put it for for who ever want it.. it has some issue of repaint . put on 1 day frame in hlc box ,so it can solve the issue to some extent. based on Marco code with some modification
i hope someone will be able to fix the code and make it better :)
MA Study: Different Types and More [NeoButane]A study of moving averages that utilizes different tricks I've learned to optimize them. Included is Bollinger Bands, Guppy (GMMA) and Super Guppy.
The method used to make it MtF should be more precise and smoother than regular MtF methods that use the security function. For intraday timeframes, each number represents each hour, with 24 equal to 1 day. For daily, 3 is 3 day, for weekly, 4 is the 4 weekly, etc. If you're on a higher timeframe than the one selected, the length will not change.
Log-space is used to make calculations work on many cryptos. The rules for color changing Guppy is changed to make it not as choppy on MAs other than EMA. Note that length does not affect SWMA and VWAP and source does not affect VWAP.
A short summary of each moving average can be found here: medium.com
List of included MAs:
ALMA: Arnaud Legoux
Double EMA
EMA: Exponential
Hull MA
KAMA: Kaufman Adaptive
Linear Regression Curve
LSMA: Least Squares
SMA: Simple
SMMA/RMA: Smoothed/Running
SWMA: Symm. Weighted
TMA: Triangular
Triple EMA
VWMA: Volume Weighted
WMA: Weighted
ZLEMA: Zero Lag
VWAP: Vol Weighted Average
Welles Wilder MA
KAMA: Kaufman Adaptive Moving Average x2/LogCalculation begins at the beginning of the bar, eliminating incorrect moving average weighting at the very beginning of the ticker you're watching. This is important for new stocks, futures, altcoins, etc.
The inputs for the fast/slow alphas are now normal integers, with the calculation (2 / (y + 1)) for alpha added after input.
Comes with two moving averages and a setting for geometric mean/log. Source is adjustable but using the close works best, especially with how this particular MA is calculated in the first place. Besides that, this is mostly the same as other KAMAs on TradingView, but I'd like to say I put a bit more care into this one.
It is important to know that the acceptable length for KAMA is within the boundaries of the alpha lengths. For example, the default lengths are 2 and 30 for alpha, so the acceptable length for KAMA is within 2-30.
stockcharts.com
www.technicalindicators.net
Caribbean AlertsHi!
This is the alert script for the Caribbean strategy. I'm using with autoview. Use with care.
Carribean Strategy
Hi!
This is my first published strategy. This is my passport to early retirement. It is a very modified version of HCL3/Kaufman strategy. Lots of manual coding to solve repaint. Backtest/realtime differences fixed.
I'm finishing the tests but I guess it is almost done.
Using with Autovew. For now, 2 hour candles only!
Please share your results!
linear-heikenThis model is based on two things
1. Heiken-Kaufman model made by marco (seen in red green arrow)
2. the colour coding is linear regression (green-up period) and (yellow-down period)
alerts inside