당사 팬 페이지에 가입하십시오
- 조회수:
- 5081
- 평가:
- 게시됨:
- 2017.05.29 15:52
- 업데이트됨:
- 2023.03.29 13:47
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values of two Keltner channels on one bar of any timeframe of the XMA_KLx5_Cloud indicator.
Indicator input parameters:
//+------------------------------------------------+ //| Indicator input parameters | //+------------------------------------------------+ input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Chart period input string Symbols_Sirname="XMA_Keltner_Pivot_"; // Name for the indicator labels input Smooth_Method XMA_Method=MODE_SMA_; // Method of averaging input uint XLength=100; // Depth of averaging input int XPhase=15; // First averaging parameter, 3//---- for JJMA within the range of -100 ... +100, it influences the quality of the transition process; //---- for VIDIA it is a CMO period, for AMA it is a slow average period input double Ratio1=1.0; // Deviation 1 input double Ratio2=3.0; // Deviation 2 input Applied_price_ IPC=PRICE_CLOSE_; // Price constant input color Up_Color=clrSkyBlue; // The color of the upper band input color Middle_Color=clrGray; // The color of the middle line input color Dn_Color=clrHotPink; // The color of the lower band input uint SignalBar=0; // Bar index to get the indicator values input uint SignalLen=40; // The length of the indicator bands //---- Colors of price labels input color Middle_color=clrBlue; input color Upper_color1=clrMediumSeaGreen; input color Lower_color1=clrRed; input color Upper_color2=clrDodgerBlue; input color Lower_color2=clrMagenta;
The indicator requires XMA_KLx5_Cloud.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Fig1. The XMA_Keltner_Pivot_HTF indicator
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/18169
![XMA_KLx5_Cloud](https://c.mql5.com/i/code/indicator.png)
Two Keltner channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels.
![XMA_BB_Pivot_HTF](https://c.mql5.com/i/code/indicator.png)
Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values of two Bollinger channels on one bar of any timeframe of the XMA_BBx5_Cloud indicator.
![Move Trend line](https://c.mql5.com/i/code/script.png)
The script finds on the chart all OBJ_TREND (trendline) objects and moves the line to the specified date with the specified price shift.
![RiskSpread](https://c.mql5.com/i/code/indicator.png)
The indicator draws a color filled channel at a distance from the current price, which is equal to the current spread multiplied by ten.