Alligator Indicator For MT5

Alligator Indicator For MT5

Table Of Contents:

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

El Alligator Indicator For MT5 se basa en el conocido sistema de comercio desarrollado por Bill Williams. El indicador dibuja 3 promedios móviles simples con diferentes períodos y colores. El promedio móvil azul tiene el período 13 y se llama la mandíbula del cocodrilo. La línea roja tiene el período 8 y se llama los dientes del caimán. La línea verde tiene el período 5 y se llama labios del cocodrilo. Puede usar el indicador para ingresar en las tendencias establecidas. El operador experimentado también puede ver las reversiones de tendencia en función de la posición de las líneas.

FREE Alligator Indicator

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

 

Instalar la Alligator 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 alligator.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 Alligator Indicator For MT5

Alligator Indicator For MT5 tiene parámetros 8 para configurar.

input int                InpJawsPeriod=13;               // Jaws period input int                InpJawsShift=8;                 // Jaws shift input int                InpTeethPeriod=8;               // Teeth period input int                InpTeethShift=5;                // Teeth shift input int                InpLipsPeriod=5;                // Lips period input int                InpLipsShift=3;                 // Lips shift input ENUM_MA_METHOD     InpMAMethod=MODE_SMMA;          // Moving average method input ENUM_APPLIED_PRICE InpAppliedPrice=PRICE_MEDIAN;   // Applied price 

Buffers of the Alligator Indicator For MT5

Alligator Indicator For MT5 proporciona buffers 3 .

SetIndexBuffer(0,ExtJaws,INDICATOR_DATA); SetIndexBuffer(1,ExtTeeth,INDICATOR_DATA); SetIndexBuffer(2,ExtLips,INDICATOR_DATA); 

Partes principales del código

//|  Alligator OnCalculate function                                  | //+------------------------------------------------------------------+ 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 &TickVolume[],                 const long &Volume[],                 const int &Spread[])   { //--- check for rates total    if(rates_total lt ExtBarsMinimum)       return(0); // not enough bars for calculation //--- not all data may be calculated    int calculated=BarsCalculated(ExtJawsHandle);    if(calculated lt rates_total)      {       Print("Not all data of ExtJawsHandle is calculated (",calculated,"bars ). Error",GetLastError());       return(0);      }    calculated=BarsCalculated(ExtTeethHandle);    if(calculated lt rates_total)      {       Print("Not all data of ExtTeethHandle is calculated (",calculated,"bars ). Error",GetLastError());       return(0);      }    calculated=BarsCalculated(ExtLipsHandle);    if(calculated lt rates_total)      {       Print("Not all data of ExtLipsHandle is calculated (",calculated,"bars ). Error",GetLastError());       return(0);      } //--- we can copy not all data    int to_copy;    if(prev_calculated gt rates_total || prev_calculated lt 0) to_copy=rates_total;    else      {       to_copy=rates_total-prev_calculated;       if(prev_calculated gt 0) to_copy++;      } //---- get ma buffers    if(IsStopped()) return(0); //Checking for stop flag    if(CopyBuffer(ExtJawsHandle,0,0,to_copy,ExtJaws) lt =0)      {       Print("getting ExtJawsHandle is failed! Error",GetLastError());       return(0);      }    if(IsStopped()) return(0); //Checking for stop flag    if(CopyBuffer(ExtTeethHandle,0,0,to_copy,ExtTeeth) lt =0)      {       Print("getting ExtTeethHandle is failed! Error",GetLastError());       return(0);      }    if(IsStopped()) return(0); //Checking for stop flag    if(CopyBuffer(ExtLipsHandle,0,0,to_copy,ExtLips) lt =0)      {       Print("getting ExtLipsHandle is failed! Error",GetLastError());       return(0);      } //--- return value of prev_calculated for next call    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.