Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Script

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

Visualizzazioni:
5150
Valutazioni:
(33)
Pubblicato:
2013.01.07 15:45
Aggiornato:
2016.08.08 08:11
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a 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.


Tradotto dal russo da MetaQuotes Ltd.
Codice originale 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).