if we use this code to draw HLINE what else we need?
any suggestion?
ObjectDelete("VERTECALLINE"); ObjectCreate( "VERTECALLINE","VERTECALLINE", OBJ_HLINE,0,D'2018.06.29 20:00',----); ObjectSet( "VERTECALLINE", OBJPROP_STYLE, STYLE_SOLID); ObjectSet( "VERTECALLINE", OBJPROP_COLOR, Red); ObjectSet("VERTECALLINE", OBJPROP_BACK, false); ObjectSet("VERTECALLINE", OBJPROP_WIDTH,1); }
Save the file as a CSV. Read the CSV file. Perhaps you should read the manual.
whroeder1:
Save the file as a CSV. Read the CSV file. Perhaps you should read the manual.
Save the file as a CSV. Read the CSV file. Perhaps you should read the manual.
thanks for your comment whroeder1
sorry but am not a programmer..am learning some codes..
you mean by READ CSV ..like this?
int iFile = FileOpen(m_strFilename, FILE_CSV | FILE_READ | FILE_SHARE_READ | FILE_ANSI);
we have here a FILE_READ
this thing is in the first code of the script
i want now the opposit thing ...to read from the excel file and use it in my code as integer ....that i can use in my coding ....
for making HLINE and TREND ...and like this ...
what the name of this function?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
was looking for a code that allow me to import data from an excel (CSV) file to mt4 platform ..
.and use this data( it's a price data) to Draw a horizontal line ..i found one article here that talk about the same idea
https://www.mql5.com/en/forum/6816
and the code is attached from the original article
but the code in the article is used only to disply the integer on the screen ...
how to use the integer in the CSV file to draw OBJ_HLINE?
any help is appreciated