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

CDownLoadHistory class - bibliothèque pour MetaTrader 5

Vues:
6121
Note:
(27)
Publié:
2011.03.03 14:01
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

The CDownLoadHistory class provides the methods of historical data downloading in two modes: "visual" and "silent".

1. Visual mode

The example of use of this mode is downloadhistoryvisualmode.mq5.

The "history download mode" input parameter can be one of two modes: "current symbol" or "all symbols from Market Watch window":

CDownLoadHistory class

For the "All symbols from Market Watch window" mode, it will show two progress bars:

 CDownLoadHistory class

For the case if the "current symbol" mode is selected, the single progress bar will be shown:

CDownLoadHistory class
 

It prints the results in "Experts" tab of "Toolbox" window:

CDownLoadHistory class
 

2. Silent mode

The result of downloading is availiable as a return code. The silent mode can be useful in programs, where visualization is not needed. See example in downloadhistorysilentmode.mq5 script.

It uses the CProgressBar class, described in The Price Histogram (Market Profile) and its implementation in MQL5.

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

sToken sToken

The script contains a class, that can be used to solve mathematical and logical expressions, defined as string.

downloadhistory.mq5 downloadhistory.mq5

The script downloads historical data (for the current symbol), available at trade server.

MQL5 Wizard - Trade Signals Based on Bullish Engulfing/Bearish Engulfing + Stochastic MQL5 Wizard - Trade Signals Based on Bullish Engulfing/Bearish Engulfing + Stochastic

Trade signals based on "Bullish Engulfing/Bearish Engulfing" candlestick pattern, confirmed by Stochastic indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

MQL5 Wizard - Trade Signals Based on Bullish Engulfing/Bearish Engulfing + CCI MQL5 Wizard - Trade Signals Based on Bullish Engulfing/Bearish Engulfing + CCI

Trade signals based on "Bullish Engulfing/Bearish Engulfing" candlestick pattern, confirmed by Commodity Channel Index (CCI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.