Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Scripts

The example of the work with the CSV file as with a table - script pour MetaTrader 5

Vues:
5151
Note:
(33)
Publié:
2013.01.07 15:45
Mise à jour:
2016.08.08 08:11
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The script demonstrates the work with the table in which the only detail is necessity to know the number of columns.

news.txt should be converted to csv file with delimiter";", or any other file but in the same code.

filehandle=FileOpen("News.csv",FILE_READ|FILE_CSV|FILE_ANSI,';');

Instead of ";" set this symbol.

Such approach allows to work with each line separately, and the first column "Code" helps to know where the search value is in the table.

Output result of the script.


Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/1380

The simplified class of the CArrayRing256 ring buffer The simplified class of the CArrayRing256 ring buffer

The class is the simplified version of the CArrayRing class: it has a predetermined fixed size of 256 elements, it is faster, and allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.

Breakout Bars Trend v2 Breakout Bars Trend v2

The second (edited and added) version of the alternative indicator for trend definition based on the breakthrough bars and distance from extremums. The breakthrough levels and size of the previous trends are added.

X-bars Fractals X-bars Fractals

The X-bars Fractals indicator allows setting the number of bars on the left and the right from fractal. It is good as for local, so for global extremums

DecEMA DecEMA

The Moving Average that represents itself a linear combination of the EMA smoothing series by the Exponential Moving Average (EMA).