I found the problem, fixed.
Posts made by fxDreema
-
RE: Check last 100 barsposted in Questions & Answers
Actually you can test indicator's buffers with "Levels tester" block directly and realtime. So, are you sure that this indicator actually returns something to it's buffers?
-
RE: version 046 problem - local versionposted in Questions & Answers
Then I don't really understand the project with installation folder. Or maybe you wait for the projects to appear... well, in fact fxdreema.exe writes them into "Data/" subfolder, the local database is files located where the program is installed.
I just tested to load project, but it loads the correct project here, even after I upload external project. So maybe I need even more details - what should I do step-by-step to replicate this problem. Or you can find and delete a file named "list.ini", somewhere in "Data/Username/experts/"... it will be created again.
-
RE: version 046 problem - local versionposted in Questions & Answers
I just reuploaded 046 so this "update #3" is gone, also I fixed little Formula problem... and I will probably upload another build later.
I don't really understand the "c:\fxdreema_046" problem, I use WinRar to create the installer (and yes, you can open the installer exe with WinRar and see what's inside), so when it started it should choose the default 32 bit Program Files folder, for example "C:\Program Files (x86)\fxDreema". I don't recognize this "fxdreema_046", so I need more details here

About the "Load project" list - it was wrong in the previous builds actually, because "Date modified" was not able to update... so projects were always listed in the way that the newly created one is on the top. So I fixed that now and on the top it should be the one that is recently modifies. Is this the problem? I used to think that this is the way it should be
But you can actually sort that list by clicking on the top row - the green cells. -
RE: Feature Requestposted in Questions & Answers
"Projects -> Export as project file" does this, but actually project information is stored in every .mq4/.mq5 file, so you can always import .mq4/.mq5 file with "Projects -> Load project from file".
-
RE: Find out Candle ID of drawn rectanglesposted in Questions & Answers
Zero divide is what it says - something is divided by 0. It can be from your calculation (Formula, Variables...) or something in the code that is created by me... but unfortunately I don't have an idea where it can be wrong. I hoped that MT4 can say the exact row of the code where the error is (and it does that with other types of error messages), but as I can see Zero divide error lacks of additional data. So now what can be done is to turn off some block - try - turn off another block - try - and so on... until it starts to work.
I can also suggest TeamViewer - I can see it right in your PC and I can probably detect the problem faster. Also I have to go somewhere after minutes

-
RE: Find out Candle ID of drawn rectanglesposted in Questions & Answers
Zero Divide happens if the EA works with different symbol, not the current. Or at least I don't know other situation or exact block that can can cause it... but as we know that some of the things are updated, it's possible. If you can understand which block causes that...?

Those things about the size of ex4 file - I get different file size every time I click on "Compile" in MetaEditor. I think it's because every time it uses different encoding rules in order to stop people who are trying to decompile .ex4 files.
fxDreema uses the same compiler (metalang.exe), so the result is the same. I got file sizes between 81kb and 94kb of one EA that I just tested. -
RE: MT5: the steps in the tester can not selected for timeframesposted in Bug Reports
Well, you can always ask mql5.com forums or the support of MetaQuotes why didn't they added such an option right there. But even without it, the optimizer will jump from one timeframe to another if Start and Stop are different, and the step is... depending on timeframes, it's different. The same situation here: http://www.mql5.com/en/forum/1726
This is because the datatype of this parameter is ENUM_TIMEFRAMES, but if you change it to int (somewhere on the top ot .mq5 file) it will become a plain number and it will enable Step. Then, you also need to know what is the number representation of these: http://www.mql5.com/en/docs/constants/c ... timeframes ...
M5 is 5, M15 is 15... and you can check here (on the top) what is the number representation of all timeframes: http://www.mql5.com/en/articles/81 -
RE: Find out Candle ID of drawn rectanglesposted in Questions & Answers
I changed the way information is recorded for Condition block. And all the things I've done in the last month was about this block and all the tools inside it. And by the way, I think there will be more database-structure-modifications in the future
This is because when I started this project, I was not so experienced as a programmer, and then I reached the point where I was lost in my own messy spaghetti code... so I started to rewrite things, and I'm not finished 
046 is out... I hope it will do it.
-
RE: Find out Candle ID of drawn rectanglesposted in Questions & Answers
Damn, those .xml files are database files after all, and I forgot to work with them...
-
RE: MT5: the steps in the tester can not selected for timeframesposted in Bug Reports
As I can see, there is no need to define this parameter, because timeframes are already there in their list (and they have specific step). If you choose 1 Minute for Start and 1 Month for Stop, it will iterate 21 times with all timeframes in between. Scroll down on the Inputs list and on the last row just under the column Steps you will see how many times the optimizer will do the job.
-
RE: Find out Candle ID of drawn rectanglesposted in Questions & Answers
Ready (http://fxdreema.com/desktop). You will find "Candle ID 1", "Candle ID 2" and "Candle ID 3" attributes right after Price 1, 2 and 3 attributes.
-
RE: Find out Candle ID of drawn rectanglesposted in Questions & Answers
I found problem with Time 1 attribute, so don't try it, I will upload a new local build later...(have to do something now).
-
RE: Need help with money managementposted in Questions & Answers
Formula block creates a variable actually, so it can be used as well. Otherwise try to name the variable and the result the same way... and if there is no some problem, it should work

-
RE: Need help with money managementposted in Questions & Answers
Check out "Fixed Ratio by Ryan Jones" MM. It is a bit confusing even for me, but it does something like this actually. Try it with 100 for Delta.
-
RE: Check last 100 barsposted in Questions & Answers
Now this explains things. Notice "Indicator is visible" block. What this block does now is to check if the indicator is different than 0 and different than EMPTY_VALUE (in the present moment only). I can add something like "For how many candles" option in it, does this count?
-
RE: Script to Show Open Orders Countposted in Questions & Answers
Navigator -> Custom Indicators -> iExposure
http://forum.mql4.com/56035
http://forum.mql4.com/c/forum/2013/06/iexposure.png -
RE: Indicator riseposted in Questions & Answers
This is the simplest way - to detect if at least X pips are rised for Y candles. The most intuitive is to think about the angle of the line, but this is not right, because that angle depends on the chart settings (candles width, zoom), not on the price. But it's also not very correct to compare something relative (like Moving Average for example) with something fixed (pips, distance in price). Maybe because of that MA crossover exists.
Well, in the same time I don't know how useful will be to detect rise/fall of % of the price for Y candles, because in this case you have to write very small % value... after all what are say 20 pips (0.0020) of the current price (1.2345 for example). So, 20 pips rise for 5 candles sounds a little bit better.
So, thinking abount that I reached to the point where we probably need to calculate the acceleration of the line itself, in other words - how the distance traveled in a single candle period compares to the distance traveled for the previous candle... and how this compares to the previous candle... and so on.
And this leads me to the conclusion - maybe there are indicators that measures exactly that? I know that there is an indicator called "Accelerator indicator" or something like that, but to be honest I don't know how it works