OPEN-SOURCE SCRIPT

Digital Kahler CCI [Loxx]

Cập nhật
Digital Kahler CCI [Loxx] is a Digital Kahler filtered CCI. This modification significantly reduces noise.

What is Digital Kahler?
From Philipp Kahler's article for traders-mag.com, August 2008. "A Classic Indicator in a New Suit: Digital Stochastic"

Digital Indicators
Whenever you study the development of trading systems in particular, you will be struck in an extremely unpleasant way by the seemingly unmotivated indentations and changes in direction of each indicator. An experienced trader can recognise many false signals of the indicator on the basis of his solid background; a stupid trading system usually falls into any trap offered by the unclear indicator course. This is what motivated me to improve even further this and other indicators with the help of a relatively simple procedure. The goal of this development is to be able to use this indicator in a trading system with as few additional conditions as possible. Discretionary traders will likewise be happy about this clear course, which is not nerve-racking and makes concentrating on the essential elements of trading possible.

How Is It Done?
The digital stochastic is a child of the original indicator. We owe a debt of gratitude to George Lane for his idea to design an indicator which describes the position of the current price within the high-low range of the historical price movement. My contribution to this indicator is the changed pattern which improves the quality of the signal without generating too long delays in giving signals. The trick used to generate this “digital” behavior of the indicator. It can be used with most oscillators like RSI or CCI .

First of all, the original is looked at. The indicator always moves between 0 and 100. The precise position of the indicator or its course relative to the trigger line are of no interest to me, I would just like to know whether the indicator is quoted below or above the value 50. This is tantamount to the question of whether the market is just trading above or below the middle of the high-low range of the past few days. If the market trades in the upper half of its high-low range, then the digital stochastic is given the value 1; if the original stochastic is below 50, then the value –1 is given. This leads to a sequence of 1/-1 values – the digital core of the new indicator. These values are subsequently smoothed by means of a short exponential moving average . This way minor false signals are eliminated and the indicator is given its typical form.

Calculation
The calculation is simple
Step1: create the CCI
Step 2: Use CCI as Fast MA and smoothed CCI as Slow MA
Step 3: Multiple the Slow and Fast MAs by their respective input ratios, and then divide by their sum. if the result is greater than 0, then the result is 1, if it's less than 0 then the result is -1, then chart the data
if ((slowr * slow_k + fastr * fast_k) / (fastr + slowr) > 50.0)
temp := 1
if ((slowr * slow_k + fastr * fast_k) / (fastr + slowr) < 50.0)
temp := -1
Step 4: Profit

Other implementations of Digital Kahler
This is to better understand the process the DK process and it's result, and furthermore, I'm linking these because for many in the Forex community, they see DK filtered indicators as the best implementations of standard indicators.

MACD
Digital Kahler MACD [Loxx]


VHF-Adaptive, Digital Kahler Variety RSI w/ Dynamic Zones
VHF-Adaptive, Digital Kahler Variety RSI w/ Dynamic Zones [Loxx]


Included:
  • Bar coloring
  • Signals
  • Alerts
  • Loxx's Expanded Source Types
  • Loxx's Moving Averages


Phát hành các Ghi chú
Updated algorithm for CCI range
Commodity Channel Index (CCI)digitalkahlernoisereductionsignalssmoothedcci

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm