Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

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

Views:
5117
Rating:
(33)
Published:
2013.01.07 15:45
Updated:
2016.08.08 08:11
news.txt (0.23 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to 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.


Translated from Russian by MetaQuotes Ltd.
Original code: 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).