Discussion of article "How to Prepare MetaTrader 5 Quotes for Other Applications"

 

New article How to Prepare MetaTrader 5 Quotes for Other Applications is published:

The article describes the examples of creating directories, copying data, filing, working with the symbols in Market Watch or the common list, as well as the examples of handling errors, etc. All these elements can eventually be gathered in a single script for filing the data in a user-defined format.

Before I started studying MQL5, I tried many other applications for development of trading systems. I can't say that I wasted my time. Some of them contain a few useful tools allowing users to save time, deal with many issues, destroy some myths and quickly select some further direction for development without the knowledge of programming languages.

These applications need historical data. Due to the absence of some certain standard data format, they often had to be edited before they could be used (for example, in Excel) to comply with the format applicable to the necessary program. Even if you are able to figure out all necessary details, many things should still be done manually. Users can find different versions of scripts designed to copy the quotes from MetaTrader 4 to the necessary format. If there is such a demand, we can also develop the version of the script for MQL5.

Копирование котировок из MetaTrader 5

Author: Anatoli Kazharski

 

Thanks for the article, it was a pleasure to read it.

Question about the script functionality: is it impossible to get a history longer than "Max bars in the window" programmatically?

And a wish for future versions: add other data formats (for different programmes). And put the code in the database and update it as you improve it.

Thanks again!

 
komposter:

Thanks for the article, it was a pleasure to read it.

Question about the script functionality: is it impossible to get a history longer than "Max bars in the window" programmatically?

And a wish for future versions: add other data formats (for different programmes). And put the code in the database and update it as you improve it.

Thanks again!

Thank you. ))

I think it is possible to get the history more than set in the limitation. It's me who has already played with it. In the original version from the help this check was there, because the example was given for displaying data on the chart. But for this script it is still unnecessary. But I'd better check it again and write about it later (I've switched to another task). It is probably not worth changing the article. I'll put it in the database later, and it will be an incentive to add some more data formats. ))

 
How about the reverse task, from finam, for example, to insert quotes (for lukoil, for example) into MT?
 
thejobber:
What about the reverse task, for example, to insert quotes from Finam (for Lukoil, for example) into MT?

In MetaTrader 5? You can, if only as an indicator. It is easier to open an account with a broker, where the required tool is available.

If the broker does not provide this platform, you should ask "when will you finally give us the opportunity to trade via MetaTrader 5". ))

 
tol64:

In MetaTrader 5? It is possible, if only as an indicator. It's easier to open an account with a broker, where the necessary tool is available.

not an option, I need it to bring everything to one platform, so that it would not be necessary to test stocks in Tradmatic or Welslab, forex in MT.

and so there is one normal (understandable and most importantly free, quality product with normal classical language), where you could put any quotes and test them..... such logic ))

and there is no need to splurge on QPILE, Lua (Quik), C#(ctrade, Tradematic, Wealth-Lab), S# (many things), java (jforex) etc...

 
Required view <DATE>,<TIME>,<BID>,<OFFER>

20170102,0,1.07139,1.07149

20170102,500,1.07139,1.07159

20170102,1000,1.07139,1.07169

20170102,1500,1.07174,1.07194

20170102,2000,1.07197,1.07217

20170102,2500,1.07174,1.07194

Can you help to implement such a thing?