Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
LoongClock - expert pour MetaTrader 5
- Vues:
- 9733
- Note:
- Publié:
- 2010.02.05 10:14
- Mise à jour:
- 2016.11.22 07:32
- 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
MovingAverages
The MovingAverages library contains functions for calculation of different types of moving averages.
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
The library contains functions that returns description of runtime error codes and trade server return codes.
TimerClosingPeriodThe 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.