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
Vues:
9364
Note:
(44)
Publié:
2010.02.05 10:14
Mise à jour:
2016.11.22 07:32
\MQL5\Experts\LoongClock\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

A very simple sample of clock. You can select GMT, SERVER, or LOCAL time.

input ENUM_TIME_FUNC  inp_tf = TIME_FUNC_LOCAL;
CLoongClock c1;
int OnInit()
  {
   EventSetTimer(1); // 1 second
   c1.SetTimeFunc(inp_tf);
   return(0);
  }
void OnDeinit(const int reason)
  {
   EventKillTimer();
  }
void OnTimer()
  {
   c1.Timer();
   ChartRedraw();
  }

Loong Clock

Loong Clock

MovingAverages MovingAverages

The MovingAverages library contains functions for calculation of different types of moving averages.

Triple Exponential Average (TRIX) Triple Exponential Average (TRIX)

It's an oscillator of the overbought/oversold market conditions. It can also be used as the Momentum indicator. Triple smoothing is used for removing the cyclic components in price movements with the period less than that of TRIX.

ErrorDescription ErrorDescription

The library contains functions that returns description of runtime error codes and trade server return codes.

TimerClosingPeriod TimerClosingPeriod

The indicator prints the time to close of the current timeframe, if it less than H1, it also prints the time to close of the current hourly bar.