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

HistoryLoader - bibliothèque pour MetaTrader 5

Publié par:
Nikolay Kositsin
Vues:
4625
Note:
(27)
Publié:
2011.12.08 11:09
Mise à jour:
2016.11.22 07:32
\MQL5\Include\
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Real author:

MetaQuotes

https://www.mql5.com/en/docs/series/timeseries_access 

This functional module allows to upload historical data according to a request from a multi-currency Expert Advisor.

If only one chart is open in a client terminal with a functioning multi-currency Expert Advisor, the data for this chart only will be available for this Expert Advisor. The module is designed to solve this issue.

Place the HistoryLoader.mqh file to the terminal_data_folder\MQL5\Include. Then the command for inclusion of this file into the Expert Advisor's code must be added at the global level:

//+------------------------------------------------------------------+
//| Functions description for uploading history                      | 
//+------------------------------------------------------------------+
#include <HistoryLoader.mqh>

And now necessary LoadHistory() function calls must be made before the Expert Advisor code in the OnTick() function body:

int LoadHistory(datetime StartDate,            // starting date for uploading history
                  string LoadedSymbol,         // requested historical data symbol
                  ENUM_TIMEFRAMES LoadedPeriod) // requested historical data timeframe

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

Positive Volume Index Positive Volume Index

Positive Volume Index (PVI) draws a connection between the volume rise and financial instrument price change.

BBands Stop v1 BBands Stop v1

Modification of Bollinger Bands ® trend indicator.

Negative Volume Index Negative Volume Index

Negative Volume Index (NVI) draws a connection between the volume downfall and financial instrument price change.

ZigZag NK FiboFan ZigZag NK FiboFan

ZigZag allowing to build Fibo fans on the last two ZigZags.