OPEN-SOURCE SCRIPT

IKH Cloud V1.0 (nextSignals)

The IKH Cloud V1.0 (nextSignals) is an Ichomoku-type indicator that can be used for various trading strategies. It's based on a ThinkScript study from @stephenharlinmd (aka nextSignals) that uses an instantaneous moving average as the base MA, and a custom trailing stop. Both of these components form the cloud.

Indicator Components and Calculation

The indicator comprises two key components:

  • Instantaneous Moving Average (IMA): This is a type of moving average that places a greater weight on the most recent data points, and is based on Ehler's book "Rocket Science for Traders". This is slightly different from the Doc's original, but is very approximate.
  • Trailing Stop: This component helps determine the stop loss level that moves along with the price. The trailing stop is based on the highest high and the lowest low of the last 5 bars, as well as the simple moving averages of the low and high of the previous bar. The trailing stop is calculated separately for each condition: when the bar index is greater than 1 and when the previous 'a' variable is either 1 or 0.


These two components are used to create a filled area on the chart, also known as the 'cloud'. The color of the cloud and the candlesticks change based on the relative positions of the IMA and the trailing stop.

How to Use the Indicator

The following are just ideas on how to use this indicator, and is not financial advice in any form:

  • Trend Identification: When the IMA is above the trailing stop (cloud), it indicates an uptrend, and when it's below, it indicates a downtrend.
  • Entry/Exit Signals: Traders can consider going long when the candlesticks move above the cloud and short when they move below the cloud.
  • Stop Loss Level: The trailing stop line (the cloud's edge) can serve as a dynamic stop loss level.


Please don't use just this indicator on its own. Please use this in conjunction with other analysis tools, indicators, and systems you already have in place. Always consider the overall market context and use appropriate risk management strategies.
Candlestick analysiscloudIchimoku CloudIMAMoving AveragesnextsignalsstoplosstrailingstopTrend Analysis

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?


Aynı zamanda::

Feragatname