Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

XMA_Keltner_Pivot_HTF - indicateur pour MetaTrader 5

Vues:
5062
Note:
(20)
Publié:
2017.05.29 15:52
Mise à jour:
2023.03.29 13:47
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

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

Fig1. The XMA_Keltner_Pivot_HTF indicator

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/18169

XMA_KLx5_Cloud XMA_KLx5_Cloud

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 XMA_BB_Pivot_HTF

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 Move Trend line

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 RiskSpread

The indicator draws a color filled channel at a distance from the current price, which is equal to the current spread multiplied by ten.