MQL4 - automated forex trading   /  

Forum

2d surface?

Back to topics list  | 1 2 3 To post a new topic, please log in or register

avatar
13
bobef 2007.02.20 14:44 
Thank you, and sorry if I am too stupid or something but.... When I use exactly the same value as you it works, but if I set the Stop of start and end to 5 instead of 2 it is screwed again...

avatar
Moderator
33780
Rosh 2007.02.20 17:27 
I don't understand. What you mean on therm "it is screwed again."

Is it ?



avatar
13
bobef 2007.02.20 19:44 
By "screwed" I mean the rectangles are random, unlike your screenshot.





I use the modified script that you posted. Maybe I am doing something else wrong? And to make things even more strange there is no output in "c:progra~1MetaTrader 4expertsfiles"...

avatar
Moderator
33780
Rosh 2007.02.20 20:08 
bobef wrote:
I use the modified script that you posted. Maybe I am doing something else wrong? And to make things even more strange there is no output in "c:progra~1MetaTrader 4expertsfiles"...
No, I'v written

And open csv-formated file in folder /tester/files



avatar
Moderator
33780
Rosh 2007.02.20 20:10 
You need set X axis as X and Y axis as Start.

avatar
13
bobef 2007.02.20 21:47 
OK I probably misunderstood about the CVS file, but this is not the issue really. Of course I set X axis as X and Y axis as Start. Notice the values for X are 0. .500 (the range for x) and for Y 1.2..5 (seems this is End on Y axis in the screenshot but I tried both of them anyway)...

avatar
Moderator
33780
Rosh 2007.02.21 10:32 
May be your expert different from my own. Check csv file (compare my file and your file).
Attached files:
  Check2Dsurface.zip (6.83 KB)

avatar
74
4x4ever 2007.02.22 11:34 
Bobev nedei da zanimavash horata s gluposti - dai im istinskia si kod ako iskash da ti pomognat. Rosh toku shto ti obiasni che 2-d surface si raboti pravilno i go dokaza s primer. Iavno neshto stava v tvoia expert taka che 'x' vliae na rezultata. Zatova ti kazvam - dai im koda da go poglednat. Ako ne iskash da go postvash tuka - poiskai emaila na Rosh i mu go prati lichno. Picha e stabiliaga i sas sigurnost e vidial poveche MQL experti ot vsichki nas vzeti zaedno na toia forum taka che ne se pritesniavai.
Ot deka si by the way? :) Az sum ot Sofia ama ne jiveia v BG ot izvestno vreme, makar che si hodia ot vreme na vreme. Bih se radval da se zapoznaia s rodni BG fx-traderi taka che drasni edin mail ako iskash - moia e ilisten_to_jack at yahoo dot com ;)

...just advising bobef that it's a good idea to submit his real code if he wants to get any real help on this problem, cause obviously somehow x becomes involved in the calculations and it's impossible to figure out what the problem is without debugging the real code...

avatar
13
bobef 2007.02.22 16:50 
Maybe I should use a screen recorder or something? I see it is working for Rosh but unfortunately it is not working for me. I am not hiding any code, just experimenting with simple examples to narrow down the possible reasons... Maybe it is something in my system, who knows.

avatar
13
bobef 2007.02.22 16:54 
And by the way the output in the csv file is totally different. Mine is 6k and the one Rosh posted is 120k. I am starting to think it has something to do with the history data. I've experienced this problem - for some timeframes some periods are just not tested. I will write when I can say something more...
Back to topics list   | 1 2 3  

To add comments, please log in or register