UltraWPR Indicator For MT5

UltraWPR Indicator For MT5

O UltraWPR Indicator For MT5 exibe uma versão personalizada do oscilador Williams Percent Range (WPR) em um formato de nuvem colorida. A cor e a largura da nuvem representam a direção e a força da tendência, respectivamente. Se o WPR detectar uma tendência de alta subjacente, a nuvem é pintada de verde limão, enquanto uma tendência de baixa gera uma nuvem de cor Magenta. 8,00 é marcado como o nível de sobrecompra, enquanto 2,00 representa o nível de sobrevenda. Um algoritmo de suavização adicional foi aplicado ao cálculo do indicador para filtrar o ruído do mercado. Os sinais básicos de negociação gerados pelo indicador UltraWPR para MT5 são explicados abaixo: 1. Passe um longo tempo quando a cor da nuvem mudar de Magenta para Verde limão. 2. Digite curto quando a cor da nuvem mudar de verde limão para magenta.

FREE UltraWPR Indicator

Download the FREE UltraWPR 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

My Recommended MT4/MT5 Broker

 

Instalando o UltraWPR Indicator For MT5

Depois de baixar o indicador através do formulário acima, você precisa descompactar o arquivo zip. Em seguida, você precisa copiar o arquivo ultrawpr.mq5 na pasta MQL5Indicators da sua instalação do MT5 . Depois disso, reinicie o MT5 e você poderá ver o indicador na lista de indicadores.

Parâmetros da UltraWPR Indicator For MT5

O UltraWPR Indicator For MT5 possui parâmetros 15 para configurar.

input int WPR_Period=13;                    // WPR indicator period
input Smooth_Method W_Method=MODE_JJMA;     // Smoothing method
input int StartLength=3;                    // Initial smoothing period
input int WPhase=100;                       // Smoothing parameter
input uint Step=5;                          // Period change step
input uint StepsTotal=10;                   // Number of period changes
input Smooth_Method SmoothMethod=MODE_JJMA; // Smoothing method
input int SmoothLength=3;                   // Smoothing depth
input int SmoothPhase=100;                  // Smoothing parameter
input uint UpLevel=80;                      // Overbought level, %
input uint DnLevel=20;                      // Oversold level, %
input color UpLevelsColor=Blue;             // Overbought level color
input color DnLevelsColor=Blue;             // Oversold level color
input STYLE Levelstyle=DASH_;               // Levels style
input WIDTH  LevelsWidth=Width_1;           // Levels width

Buffers of the UltraWPR Indicator For MT5

O UltraWPR Indicator For MT5 fornece buffers 2 .

SetIndexBuffer(0,BullsBuffer,INDICATOR_DATA);
SetIndexBuffer(1,BearsBuffer,INDICATOR_DATA);

Principais partes do código

int OnCalculate(const int rates_total,    // number of bars in history at the current tick
                const int prev_calculated,// number of bars calculated at previous call
                const datetime &time[],
                const double &open[],
                const double& high[],     // price array of maximums of price for the indicator calculation
                const double& low[],      // price array of minimums of price for the indicator calculation
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
//---- checking the number of bars to be enough for the calculation
   if(BarsCalculated(WPR_Handle) lt rates_total
      || rates_total lt min_rates_total)
      return(RESET);

//---- declaration of local variables 
   int to_copy,limit,bar,maxbar1,maxbar2;
   double WPR[],upsch,dnsch;

//---- calculation of maxbar initial index for the XMASeries() function
   maxbar1=rates_total-1-min_rates_wpr;
   maxbar2=rates_total-1-min_rates_xma;

//---- calculation of the  limit  starting index for the bars recalculation loop
   if(prev_calculated gt rates_total || prev_calculated lt =0)// checking for the first start of the indicator calculation
      limit=maxbar1;                       // starting index for calculation of all bars
   else limit=rates_total-prev_calculated; // starting index for calculation of new bars
//----   
   to_copy=limit+2;
//--- copy newly appeared data in the arrays
   if(CopyBuffer(WPR_Handle,0,0,to_copy,WPR) lt =0) return(RESET);

//---- indexing elements in arrays as time series  
   ArraySetAsSeries(WPR,true);

//---- main indicator calculation loop
   for(bar=limit; bar gt =0 && !IsStopped(); bar--)
     {
      for(int sm=int(StepsTotal); sm gt =0 && !IsStopped(); sm--)
         xwpr0[sm]=XMA[sm].XMASeries(maxbar1,prev_calculated,rates_total,W_Method,WPhase,period[sm],WPR[bar],bar,true);

      if(bar gt maxbar2)
        {
         if(bar) ArrayCopy(xwpr1,xwpr0,0,0,WHOLE_ARRAY);
         continue;
        }

      upsch=0;
      dnsch=0;
      for(int sm=int(StepsTotal); sm gt =0 && !IsStopped(); sm--)
         if(xwpr0[sm] gt xwpr1[sm]) upsch++;
      else                    dnsch++;

      BullsBuffer[bar]=XMA[StTot1].XMASeries(maxbar2,prev_calculated,rates_total,SmoothMethod,SmoothPhase,SmoothLength,upsch,bar,true);
      BearsBuffer[bar]=XMA[StTot2].XMASeries(maxbar2,prev_calculated,rates_total,SmoothMethod,SmoothPhase,SmoothLength,dnsch,bar,true);

      if(bar) ArrayCopy(xwpr1,xwpr0,0,0,WHOLE_ARRAY);
     }
//----     
   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:  

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.

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