Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
CheckHistory - Check and load history function - library for MetaTrader 5
- Published by:
- Andrey Khatimlianskii
- Views:
- 10420
- Rating:
- Published:
- 2012.12.19 13:06
- Updated:
- 2016.11.22 07:32
- Need a robot or indicator based on this code? Order it on Freelance Go to 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).
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1251
Exp_AnchoredMomentum
Trading system using the AnchoredMomentum indicator
Silent stochasticThis stochastic considerably reduces the number of false signals by adjusting sensitivity
Exp_UltraFatl
The Expert Advisor using the UltraFatl oscillator.
sHistoryExport - handy script to export the historical data in the МetaТrader 4 formatExport of all necessary instruments and time frames in one click with load and checking history