Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
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

Wavy Dash Indicator - indicateur pour MetaTrader 4

Vues:
26632
Note:
(3)
Publié:
2010.05.16 14:24
Mise à jour:
2016.11.22 07:32
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Author:

http://pipswanted.com

Green lines mean - buy, red signalize sell. Indicator is based on Gann method.



Here is the code:

for(int i=Bars-Back;i>=0;i--)
{
      if(Close[i]>iMA(Symbol(),0,Back,0,MODE_SMA,PRICE_HIGH,i))
      {
         one=1;
      }   
      else
      {
         if(Close[i]<iMA(Symbol(),0,Back,0,MODE_SMA,PRICE_LOW,i))
            one=-1;
         else
            one=0;
      }
      if(one!=0)
      {
         two=one;
      }   
      if(two==-1)
      {
         double a = iMA(Symbol(),0,Back,0,MODE_EMA,PRICE_HIGH,i+1) - iClose(Symbol(), 0 ,i+2);
         red[i] = (iClose(Symbol(), 0 ,i) - a); 
      }
      else
      {
         double b = iClose(Symbol(), 0 ,i+2) - iMA(Symbol(),0,Back,0,MODE_EMA,PRICE_LOW,i+1);
         green[i] = (iClose(Symbol(), 0 ,i) + b);
      }
}

For more ideas and informations visit:

Load Server History Load Server History

Load history form server Set the option at 1.

Wave Power Wave Power

Wave Power

Script opening orders Script opening orders

Script opening orders with specified Magic Number

Variations of the Hurst Exponent over time Variations of the Hurst Exponent over time

This indicator displays the variations of the Hurst Exponent which are seen as a predictor of the variations of volatility, therefore giving an indication on when to enter the market.