Dollar Index Indicator For MT5

Dollar Index Indicator For MT5

Table Of Contents:

  1. Dollar Index Indicator For MT5
  2. Instalar la Dollar Index Indicator For MT5
  3. Parámetros de la Dollar Index Indicator For MT5
  4. Buffers of the Dollar Index Indicator For MT5
  5. Partes principales del código

El Dollar Index Indicator For MT5 calcula el índice que también se llama USDX, DXY y DX. Se calcula en función de un valor ponderado de diferentes pares de divisas. Estos pares de divisas son: EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK y USDCHF

FREE Dollar Index Indicator

Download the FREE Dollar Index Indicator for MT5.

To receive my email 100% sure: 
Put my email on your whitelist!

 

Partially Automated Trading Besides Your Day Job

Alerts In Real-Time When Divergences Occur

 

Instalar la Dollar Index Indicator For MT5

Después de descargar el indicador a través del formulario anterior, debe descomprimir el archivo zip. Luego, debe copiar el archivo Dollar index.mq5 en la carpeta MQL5Indicators de su instalación MT5 . Después de eso, reinicie MT5 y luego podrá ver el indicador en la lista de indicadores.

Parámetros de la Dollar Index Indicator For MT5

Dollar Index Indicator For MT5 tiene parámetros 3 para configurar.

input int    inpBarsToCalculate = 500; // Bars to calculate input string inpSymbolsPrefix   = "";  // Symbols prefix input string inpSymbolsSuffix   = "";  // Symbols suffix 

Buffers of the Dollar Index Indicator For MT5

Dollar Index Indicator For MT5 proporciona buffers 2 .

SetIndexBuffer(0,ic); SetIndexBuffer(1,icolor,INDICATOR_COLOR_INDEX); 

Partes principales del código

int OnCalculate (const int rates_total, const int prev_calculated, const datetime& time[],                   const double& open[],                   const double& high[],                   const double& low[],                   const double& close[],                   const long& tick_volume[],                   const long& volume[],                   const int& spread[] ) {     int _bars = (int)MathMax(inpBarsToCalculate,ChartGetInteger(0,CHART_VISIBLE_BARS));    int i=(int)MathMax(prev_calculated-_bars+1,0); for (; i lt rates_total && !_StopFlag; i++)    {       if (i lt rates_total-_bars) { ic[i] = EMPTY_VALUE; icolor[i] = 0; continue; }       double dxyClose = 50.14348112;       for (int k=0; k lt 6; k++)       {          MqlRates _rates[];                int _ratesCopied = CopyRates(symbols[k],0,time[i],1,_rates);               if (_ratesCopied == 1)                   dxyClose *= MathPow(_rates[0].close,pows[k]);       }                      ic[i] = dxyClose;       icolor[i] = (i gt 0) ? (ic[i] gt ic[i-1]) ? 1 : (ic[i] lt ic[i-1]) ? 2 : 0 : 0;    }    return(rates_total); } 

 

About Me

I'm Mike Semlitsch the owner of PerfectTrendSystem.com. My trading career started in 2007. Since 2013 I have helped thousands of traders to take their trading to the next level. Many of them are now constantly profitable traders. 

The following performance was achieved by me while trading live in front of hundreds of my clients:

Connect With Me:  

Results From 5 Months!
This service starts soon! Be the first who get's notified when it begins!

This FREE Indicator Can Transform
Your Trading!

FREE Indicator + Telegram Group


Request the Ultimate Double Top/Bottom Indicator which is used by 10,000+ traders.