and after i am using
double var=StrToDouble(word);
but still ... something there is wrong
- I didn't ask you what the problem is. If you knew that you wouldn't be posting. I asked you to describe it. "Is wrong" doesn't describe anything.
- Unmatched data error is irrelevant - your EA is not yet running. Use this
- What you thought is irrelevant. Add the print statements and find out what it's doing and why.
WHRoeder:
- I didn't ask you what the problem is. If you knew that you wouldn't be posting. I asked you to describe it. "Is wrong" doesn't describe anything.
- Unmatched data error is irrelevant - your EA is not yet running. Use this
- What you thought is irrelevant. Add the print statements and find out what it's doing and why.
I solve it partially ... because while I run this block with a print(var) it will print all the value from my .csv ... but now i have to see if it will work in my EA.
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
Hello, I would like to know if there must be a change in a line in this code (https://www.mql5.com/en/forum/117683 ). I would like to change the integer number to double, and how can I call a number from that file later in my EA, if I do not know its position, and I would like that number to be close to one I want.And this block should be on init or where should i place it?
eg: Numbers on .txt: (0.5 1.9 3.6 20.5)
Number I want: 3.5
And I would like after 3.5 to be followed by 3.6 from my txt. Is it possible?