Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 481

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
When opening the file for writing you specified TXT or CSV. This is a text file. Read it as a string, select StringSubstr and convert it to what you want
That's the way to write! TCT
I'm sorry I don't understand how to get exactlyB_level andR_level out now.I don't need date and time! I do want to write them down though)
That's the way to write! TCT
I'm sorry I don't understand how to get exactlyB_level andR_level out now.I don't need date and time! But I do want to write it down)
Read as string, highlight StringSubstr and convert to what you need. Read as string, allocate StringSubstr and convert to whatever you need
Read as a string, allocate a StringSubstr and convert to whatever you need. Read as a string, select StringSubstr and convert to whatever
Ah ah ah ah ah ah, got it !!! That's it !!! Thanks@STARIJ! I'll give it a try)
@STARIJ not working, can't figure out where I'm wrong yet! Help!
Why doesn't he like that?
Why doesn't it like this?
Look at what parameters you pass to the function, and how many, and what it returns.
click on f1, put your cursor on this function beforehand
@STARIJ not working, can't figure out where I'm wrong yet! Help!
Mistake here, but what have I done wrong?2018.02.26 12:49 1.24368 1.22581 Now ... Highlight StringSubstr and convert to what you need. Everything has to be done step by step. Haste is an enemy of a programmer.
Read as string, allocate StringSubstr and convert to string. Read as string, allocate StringSubstr and convert to a string
First let's read the last string
2018.02.26 12:49 1.24368 1.22581 Now ... allocate StringSubstr and convert to what you need. You have to do everything step by step. Haste is an enemy of a programmer.
Read as string, allocate StringSubstr and convert to string. Read as string, allocate StringSubstr and convert to a string
STARIJ: Thanks for the breakdown!
Reworked it! Now the numbers don't add up for some reason!
The numbers in the file are like this:
And the same Alert gives these:
Where did he get the zeros after 1.2? I've tried normalising. Nope!
The code is written like this:
STARIJ : Thanks for the breakdown!
Reworked it! Now the numbers don't add up for some reason!
The numbers in the file are:
But the same Alert gives these:
Where did it get the zeros after 1.2 ? I've tried normalising. Nope!
I wrote the code like this:
STARIJ: Thanks for the breakdown!
Reworked it! Now the numbers don't add up for some reason!
The numbers in the file are like this:
And the same Alert gives these:
Where did he get the zeros after 1.2? I've tried normalising. Nope!
I wrote the code like this:
Try this.