거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
7529
평가:
(15)
게시됨:
2011.09.05 16:14
업데이트됨:
2023.03.29 13:43
kri.mq5 (5.93 KB) 조회
\MQL5\Include\
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Kairi method (KRI) is similar to Momentum according to its application mode.

The oscillator fluctuates around 0 but the fluctuation range is wider. Recommended smoothing period - 13. KRI can be used for any time frame. It is one of the simplest oscillators. When creating the indicator, deviation of a price from its simple moving average is calculated and the reult is shown in percentage of the average.

Indicator calculation formula:

KRI = 100 * (PRICE[bar] - SMA(PRICE[bar],period)) / SMA(PRICE[bar],period)

where:

  • PRICE[bar] - price;
  • SMA() - smoothing algorithm;
  • period - SMA() smoothing period;
  • bar - bar index.

In case the moving of prices has no clearly defined trend, considerable positive value of the KRI indicator means an overcharge and marks a moment for opening a short position. Considerable negative value is a buy signal.

In case of a clearly defined trend, KRI will generate stable positive values during a downward trend because of the time lag between the moving average and the current price. KRI will generate stable negative values during an upward trend. Therefore, if the method values do not change from positive to negative or vice versa for quite a long time, it can be used as a trend indicator.

The signals are generated when the indicator values pass above +1 (overbought area) and below -1 (oversold area) and then turn back to the middle. Additional signal is a bullish divergence or a bearish convergence of the indicator and a price.

The indicator uses the СMoving_Average class of the SmoothAlgorithms.mqh library for its compilation. The use of the class was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

KRI Oscillator

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/439

LRMA LRMA

Moving average indicator with the linear regression smoothing algorithm.

JJRSX JJRSX

RSI oscillator with ultralinear and JMA smoothing algorithms.

RSTL RSTL

Reference Slow Trend Line (RSTL).

PriceChannel_Stop PriceChannel_Stop

The indicator generates market entry signals and draws the line of Stop Loss orders positioning.