Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Published by:
- Andrey Khatimlianskii
- Views:
- 11000
- 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

Trading system using the AnchoredMomentum indicator

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

The Expert Advisor using the UltraFatl oscillator.

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