Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

downloadhistory.mq5 - script for MetaTrader 5

Views:
9455
Rating:
(32)
Published:
2011.02.28 12:54
Updated:
2016.11.22 07:32
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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

The download progress is plotted using the CProgressBar class, proposed in The Price Histogram (Market Profile) and its implementation in MQL5 article.

downloadhistory script demo

In "Experts" tab of Toolbox window it prints the first date of the server history.

downloadhistory script log

If error it prints error code (see CheckLoadHistory in Organizing Data Access)


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/302

MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + RSI MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + RSI

Trade signals based on "Dark Cloud Cover/Piercing Line" candlestick pattern, confirmed by Relative Strength Index (RSI) 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 Dark Cloud Cover/Piercing Line + MFI MQL5 Wizard - Trade Signals Based on Dark Cloud Cover/Piercing Line + MFI

Trade signals based on "Dark Cloud Cover/Piercing Line" candlestick pattern, confirmed by Market Facilitation Index (MFI) indicator is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.

sToken sToken

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

CDownLoadHistory class CDownLoadHistory class

The CDownLoadHistory class provides the methods of historical data downloading.