당사 팬 페이지에 가입하십시오
- 조회수:
- 7025
- 평가:
- 게시됨:
- 2017.03.22 16:33
- 업데이트됨:
- 2023.03.29 13:47
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
This indicator colors candlesticks in different colors depending on the strength and direction of the trend, using Keltner channels.
The indicator is based on five symmetrical Keltner channels with different values of deviation in inputs. If a channel with a higher deviation is broken, a candlestick is colored in a brighter color. For a growing market shades of green and lime are used, for a falling market shades of red, pink and brown are used.
Five deviation levels and ten colors for trend display are used in the indicator. If there is no breakout of the lowest deviation level, the candlestick color will not change.
The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Fig1. The ColorKeltnerCandles indicator
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/17842

The EA uses two Moving Averages, one MACD and one CCI. OnTradeTransaction is used to receive position opening time.

The ColorXWPR_Histogram indicator with the timeframe selection option available in the input parameters.