Bug in blocks
-
Look what's happening:

I also have 2 similar versions, but using the same parameter. But the results are different.
I also discovered that the parameters in a block was changed alone, I do not know if it was because I imported a project already saved on my PC, I do not know why.
shared/YNDwt25jc
shared/ZEX1LxCnd - Add Weekday filter block -
This cross width thing is probably cosmetic defect, not something fatal. That input field is always there, even if it's not visible.
I'm more afraid of that parameters change. The thing is that fxDreema become complex years ago and since then I'm only trying to make it simpler for me, to minimize potential problems when I decide to update something. But after all my efforts, bugs are still possible. Give me more details about this parameters change problem - what exactly happens and how can I cause the problem, so I can see it and fix it?
By the way, I discovered this problem minutes ago: https://fxdreema.com/forum/topic/4449/february-2017
-
@fxDreema said in Bug in blocks:
This cross width thing is probably cosmetic defect, not something fatal. That input field is always there, even if it's not visible.
Thankfully it's only an aesthetic problem.
I'm more afraid of that parameters change. The thing is that fxDreema become complex years ago and since then I'm only trying to make it simpler for me, to minimize potential problems when I decide to update something. But after all my efforts, bugs are still possible. Give me more details about this parameters change problem - what exactly happens and how can I cause the problem, so I can see it and fix it?
By the way, I discovered this problem minutes ago: https://fxdreema.com/forum/topic/4449/february-2017
Yes ... I'm suspicious of this. Once I happened to change the constant inside the block.
Already in these last days I had a problem in the block Close Positions, which I had left in the Filter by type as Buy and Sell, but it took almost a week to find out that the problem was him, since I had changed in the project for Buy only. So the results did not beat.Now I've reviewed all the blocks, but they still have different results for the same parameter.
I think I have a problem with the second link project.
Maybe when you import a project, you should also change the blocks parameters yourself.
-
Once you're doing something, could you contact me so I can generate mql5 and ex5 from my projects?
Well with that I will do new tests, and if the result hits with the current version that is correct, I give you feedback. -
I discovered the problem that is occurring.
This is in CurrentSymbol. Replaces all
Static string Symbol = " ": //per Static string SYMBOL; SYMBOL = CurrentSymbol (); //and also Static string Market = " "; //per Static string Market; Market = CurrentSymbol (); //and also (Left and Right operands of the conditions) (String) " ", //per (String) CurrentSymbol (), //And finally I added the code String CurrentSymbol (string symbol = "") { Static string memory = " "; If (symbol! = "") {Memory = symbol;} else If (memory == "") {memory = Symbol ();} Return (memory); }Solved my problem!
Note: I compared and copied from my previous project.
-
@tcanuto, I am doing something every day
I'm always careful not to break something, but the whole thing is very complex and sometimes problems happen.As usual I hardly understand what you are writing. What is the problem now, is it something in "Close Positions"?
I told you this probably million times. But if you want to show me something, better show me some simple project that contains 2-3 blocks at most, so I can clearly see the problem. I'm lost in these big people's projects. You know your project, but I don't. I need time to first understand how the project works... and I am too lazy to do that unfortunately.
-
As I said, the problem for me was in the lines of codes quoted above. But I changed manually in the mql5 code and it was ok.
Now you need to review the blocks containing the above codes. Once you review and correct what you need, let me know and I'll be generating a new project to test...
-
@tcanuto said in Bug in blocks:
As I said, the problem for me was in the lines of codes quoted above. But I changed manually in the mql5 code and it was ok.
Now you need to review the blocks containing the above codes. Once you review and correct what you need, let me know and I'll be generating a new project to test...
Complementing what I had said earlier: These changes I made in the code were based on the best results of my EA, but I'm not sure if it's the correct way to use it here in fxDreema.
In this case you should evaluate if the blocks need correction or not.