Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 404 1...397398399400401402403404405406407408409410411...1965 New comment Konstantin Erin 2017.12.28 16:21 #4031 max020780: you only need to get a few values, namely a red or blue square and an up or down arrow, nothing else is needed.Which square (there are many, I think 6) and which arrow (there are more, I think 27) max020780 2017.12.28 16:27 #4032 STARIJ: Which square (there are many) and which arrow (there are even more)you need to get it exactly like this MN square (red ) , up , up , down , upW1 square (blue ) , up , up , down , downand so on up to and including M1 Konstantin Erin 2017.12.28 17:51 #4033 max020780: you need to get it exactly like this MN square (red ) , up , up , down , upW1 square (blue ) , up , up , down , downand so on up to and including M1MN red , up , up , down , up -1 1 1 -1 1W1 blue, up , up , down , down 1 1 -1 -1 -1and so on up to and including M1Total 36 positions: Position 0: Square MN colour: Blue=1, Cross=0, Red=-1 Position 1: Up=1, Down=-1, Asterisk=0 etc. Correct!!! max020780 2017.12.28 17:56 #4034 STARIJ: Total 36 positions: Position 0: MN square colour: Blue=1, Cross=0, Red=-1 Position 1: Up=1, Down=-1, Asterisk=0 etc. Correct!!! Yes, that's basically correct. Konstantin Erin 2017.12.28 18:01 #4035 max020780: Yeah, that's pretty much it.Let's be more specific, without principle. max020780 2017.12.28 18:07 #4036 STARIJ: Let's be more specific, without the principle Yes, that's right. Andrey Alehin 2017.12.29 03:00 #4037 Who can tell me how to write text from a TXT file into a MQL4 string variable, with all lines and blank lines? Roman Sharanov 2017.12.29 03:46 #4038 Still not fast enough for testing, and it's only tests, no optimisation.I read that you can use cloud computing for this, who knows how to do it? I know about MT5 Cloud Network, but I have MT4 Cloud agents only allowing Strategy tester Save Files When Running Artyom Trishkin 2017.12.29 04:03 #4039 RomanRott: It's not fast enough anyway, and it's only tests, no optimisation.I read that you can use cloud computing for this, who knows how to do it? I know about MT5 Cloud Network, but I have MT4Write multiplatform code and test in Five.Or optimise your code for fours - believe me - there's a lot you can do there.Or switch to Five. Which doesn't mean write unoptimized code.By the way, there's also a profiler in fours that allows you to identify code bottlenecks. Any rookie question, so Simple code needed for Tell me the release Konstantin Erin 2017.12.29 05:51 #4040 Andrey Alehin: Who can tell me how to write text from a TXT file into a MQL4 string variable, with all lines and blank lines?You can use an array of strings like string ar[100] - here 100 is the maximum number of strings in the file 1...397398399400401402403404405406407408409410411...1965 New comment
Which square (there are many, I think 6) and which arrow (there are more, I think 27)
Which square (there are many) and which arrow (there are even more)
you need to get it exactly like this
MN square (red ) , up , up , down , up
W1 square (blue ) , up , up , down , down
and so on up to and including M1
you need to get it exactly like this
MN square (red ) , up , up , down , up
W1 square (blue ) , up , up , down , down
and so on up to and including M1
MN red , up , up , down , up -1 1 1 -1 1
W1 blue, up , up , down , down 1 1 -1 -1 -1
and so on up to and including M1
Total 36 positions: Position 0: Square MN colour: Blue=1, Cross=0, Red=-1 Position 1: Up=1, Down=-1, Asterisk=0 etc. Correct!!!
Total 36 positions: Position 0: MN square colour: Blue=1, Cross=0, Red=-1 Position 1: Up=1, Down=-1, Asterisk=0 etc. Correct!!!
Let's be more specific, without principle.
Let's be more specific, without the principle
Who can tell me how to write text from a TXT file into a MQL4 string variable, with all lines and blank lines?
Still not fast enough for testing, and it's only tests, no optimisation.
I read that you can use cloud computing for this, who knows how to do it?
I know about MT5 Cloud Network, but I have MT4
It's not fast enough anyway, and it's only tests, no optimisation.
I read that you can use cloud computing for this, who knows how to do it?
I know about MT5 Cloud Network, but I have MT4
Write multiplatform code and test in Five.
Or optimise your code for fours - believe me - there's a lot you can do there.
Or switch to Five. Which doesn't mean write unoptimized code.
By the way, there's also a profiler in fours that allows you to identify code bottlenecks.
Who can tell me how to write text from a TXT file into a MQL4 string variable, with all lines and blank lines?
You can use an array of strings like string ar[100] - here 100 is the maximum number of strings in the file