TheBacktestGuy

Zero Lag Keltner Channels

TheBacktestGuy Uppdaterad   
This is Keltner Channelz (KC) with Zero Lag Moving Average (ZLMA as base). It is smoother and has less lag than the original (EMA/SMA) variant.

It also can be used as a trend indicator and trend confirmation indicator. The upper and lower bands are green if it is an up trend, and red if a down trend. If both have the same color it is a stronger trend.
Versionsinformation:
  • dynamically colorized center line
  • dynamically colorized background: it will be green if all lines are green, red if all lines are red and gray otherwise
  • cleaned and commented code
Versionsinformation:
You can now select between Zero Lag EMA (ZLEMA) and Hull MA, which is similar low lag and smooth moving average.
Versionsinformation:
  • Added ALMA (ARNAUD LEGOUX MOVING AVERAGE) to selectable moving average types
  • It measures the width of the channel and print it with blue color
Versionsinformation:
  • Use function for MA selection
  • Different MAs for base line and range (ATR)
  • Added lagging moving averages for reference (SMA, EMA, RMA)
  • It can remove outliers by using stdev for True Range, the same idea as in my other indicator: "ATR Without Outliers" (ATRWO)
  • Fixed plotting channel width into data window only (TradingView removed the original method I used)
  • Added ATR into data window
Versionsinformation:
Fixed HMA
Versionsinformation:
Fixed range MA input name
Versionsinformation:
  • Uses my TAExt library
  • Support different sources for upper and lower bands
  • More MAs, also lagging ones, but this makes a whole lot of usage possibilities (e.g. dynamic support resistance cloud)
  • Setting look back period for trend coloring is now possible
  • Ability to turn off trend colors if you use it just for stop and take profit levels or S/R cloud
  • Parameter grouping and tooltips
Versionsinformation:
Multiple timeframe support
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?