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
Bibliothèque

CheckHistory - Check and load history function - bibliothèque pour MetaTrader 5

Publié par:
Andrey Khatimlianskii
Vues:
9937
Note:
(40)
Publié:
2012.12.19 13:06
Mise à jour:
2016.11.22 07:32
\MQL5\Include\komposter\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Function to check and load history:

This is slightly modified CheckLoadHistory function from MetaQuotes.

Title:

#include <komposter\String.mqh>

Usage:

void OnTick()
{
   static bool first = true;
   if ( first && !CheckLoadHistory( _Symbol, _Period, BarsToAnalyze ) )
      return;
   else
      first = false;

   // add your code here
}

The history of changes:

2013.02.18:

  • [+] Added the maximum time limit of downloading historical data from the server (default value is 30 seconds).

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/1251

Exp_AnchoredMomentum Exp_AnchoredMomentum

Trading system using the AnchoredMomentum indicator

Silent stochastic Silent stochastic

This stochastic considerably reduces the number of false signals by adjusting sensitivity

Exp_UltraFatl Exp_UltraFatl

The Expert Advisor using the UltraFatl oscillator.

sHistoryExport - handy script to export the historical data in the МetaТrader 4 format sHistoryExport - handy script to export the historical data in the МetaТrader 4 format

Export of all necessary instruments and time frames in one click with load and checking history