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

Skrip open-source

Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menerbitkannya sebagai sumber terbuka, sehingga para trader dapat memahami dan memverifikasinya. Hormat untuk penulisnya! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Inggin menggunakan skrip ini pada chart?


Juga di:

Pernyataan Penyangkalan