Initial commit: MQL5 Scripts Collection (MetaTrader 5)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
Ñêðèïò äëÿ çàãðóçêè èñòîðè÷åñêèõ äàííûõ ïî òåêóùåìó ñèìâîëó
|
||||
*/
|
||||
#property copyright "Copyright 2014, Fleder"
|
||||
#property link "https://login.mql5.com/ru/users/fleder"
|
||||
#property version "1.00"
|
||||
#property description "Ñêðèïò äëÿ çàãðóçêè èñòîðè÷åñêèõ äàííûõ ïî òåêóùåìó ñèìâîëó"
|
||||
#property script_show_inputs
|
||||
#include "Library\CAggregator.mqh"
|
||||
|
||||
input datetime date=D'01.01.2007'; //äàòà
|
||||
//---------------------------------------------------------------------
|
||||
// Script program start function
|
||||
//---------------------------------------------------------------------
|
||||
void OnStart()
|
||||
{
|
||||
Print("=======================================");
|
||||
CAggregator a;
|
||||
a.Download(date);
|
||||
}
|
||||
Reference in New Issue
Block a user