Be careful when a block is outlined in red or blue. Red outline means that the block is added to the output code, but will be unable to run. That blue outline also means something very specific... which is also hard to explain here, but you can see this: https://fxdreema.com/demo/mt4-wait-crossovers
Posts made by fxDreema
-
RE: Conditional within loopposted in Questions & Answers
-
RE: How to make distance 500 pips from current priceposted in General Discussions
What is wrong with files? Something doesn't happen as expected? What exactly?
-
RE: EA doesn't open in MT4posted in Questions & Answers
If you were working in MT for 2 and more years, then I guess you understand it. Yes, if you only export .mq4 file, then .ex4 is not automatically created, so in this case you should see the same results every time you run the same EA. But I don't understand these words - "doesn't", "won't" - they only show that there is some problem, but there can be many problems. The first thing is of course to look at the error messages, is there something interesting?
-
RE: Stop Lossposted in Questions & Answers
And here is more for that Adjust field: https://fxdreema.com/forum/topic/4247/question-regarding-the-adjust-field/6
-
RE: Question regarding the "adjust" fieldposted in Questions & Answers
By default the symbol (Market) is set to empty in all blocks - this means the current symbol, the symbol of the chart where the EA is placed. If you write something specific, only then some other symbol is used in that particular block only
-
RE: how i can control in the spread ?posted in Questions & Answers
EA 1 cannot control EA 2 directly, if this is what you want. Each EA is separate program and works independently from other EAs. If you want to send some information between EAs, you can do that with those Global Variables that appear when you click F3 (I call them Terminal Variables). This is pool of variables that can be read (and write) from all EAs in the same MetaTrader, but of course if EA 1 is not set up to read any of these variables, they just don't work for that EA.
-
RE: Close a basket of trades when in profitposted in General Discussions
Better don't mix pink blocks with other blocks. If you use pink blocks, the best is if you use only pink blocks (and Condition with the pink-dot "(in loop)..." option).
Bucket of Trades is mostly used to select group of trades with the idea to get some information out of them later in Condition block. Not to take action over them. In theory it is possible for me to add some purple "close" button s all trades selected by this block can be closed with it, but...
Why don't you try something like this: http://prntscr.com/dn9v4c
-
RE: Working with market depthposted in Questions & Answers
Well, I'm not against indicators or market depth, the thing is that I can only do things I understand... and want to play with. Indicators... I don't know, I was never interested in them, so I never worked with them seriously. Currently I'm interested in making MQL4 to MQL5 converter and I was working on it for the past few weeks.
So, if market depth is a separate event... let's say that if someone decides to copy blocks from MQL5 to MQL4, he will intentionally skip any blocks in this event, because this is specific for MQL5. What else is needed, what kind of blocks? I literally see only 3 functions - MarketBookAdd, MarketBookRelease and MarketBookGet. I'm asking you for everything, because otherwise I feel that if it depends on me, I would never look at this thing and never make it

-
RE: new share profitable EAposted in Questions & Answers
Formula blocks do simple calculation and the result is put somewhere... in a Variable. That Variable must be defined first (in Variables). Then right click on the input field "Put the result into this Variable". And then use that Variable in other block (also with right-clicking and selecting)
-
RE: Pips away from open priceposted in Questions & Answers
Oh no, why so many connections in this project, such a mess

-
RE: Draw Custom Indicator automaticallyposted in Questions & Answers
Custom indicators are separate programs, they cannot be embed into the EA (as I know). But they are used by the EA, as you know. And also as you know, the indicator communicate with the EA via special arrays called buffers. Indicators can also print objects on the chart, which is also true for EAs and Scripts. Normally indicators print different kind of complex lines that does not appear in the list of Objects.
If the product of this indicator is Trendline chart object, I guess that this is all you have. One trendline object is made out of only 2 points. It's not that the program (the indicator) can't get all possible values of the line once it's printed on the chart, but I can't imagine someone doing that. -
RE: WORKING WITH PIVOT LINESposted in Questions & Answers
Obviously S and R levels are up to 3, there is no R4 and S4 and there is no need to try tricks to get something that is not defined. There is certain MQL code behind this option in Condition and at the moment R4 and S4 are not part of it. I guess that back in the day when I was making this option I found information for calculations only up to 3 level, as it is here for example: http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:pivot_points I added this option because people asked for pivot points over and over, but this is not native MQL option. Normally such calculations are done in indicators, especially when you only need to draw the lines. If you only want lines, better find some indicator to do that, because it will do it in much better way. The option in Condition should be used to quickly get those values without using indicator and without printing lines
-
RE: Undefined model fatal errorposted in Questions & Answers
Go to History and then go 1 step back. Each project is made out of multiple separated history points, so you can do that. This problem is ugly, but easily recoverable.
Unfortunately I don't know why this particular problem happens, so I don't know how to fix it yes. One day it will happen to me and I hope that I will catch it, but for now... I don't know

-
RE: Moving Average as Trend lineposted in Questions & Answers
I think I wrote about this in an email. It depends, "trend" means many things and is detected in many ways. The simplest, you can compare Candle Close with MA or one MA with another MA and this can be done in "Condition". There are other blocks such as "Indicator fall" that can be used as well. It depends (which always sounds terrible)

-
RE: I am having problems with renko indicator, help?posted in Questions & Answers
I didn't tried it, but it looks that this indicator is not one of these who produce offline renko charts. In this case it remains just regular custom indicator. The reads the output buffers of the indicator... whatever they contain. I always recommend to try Trace to see what is in the buffers: https://fxdreema.com/demo/mt4-trace-multiple
-
RE: No expiry time according the timeframeposted in Questions & Answers
And what expiry is that? You have 1 project in the web fxdreema, is this the one that fails?
-
RE: Take Profit price gets Modifiedposted in Bug Reports
Because this does not happen in Strategy Tester, is there a chance that there is other EA working in background that you forgot about and probably contains blocks that modify SL or TP?
Especially in this project, the only block capable of modifying SL or TP is that Trailing stop one. But it is set to move SL only and the opposite stop (TP in this case) is set to No change. If the problem happened in Strategy Tester, then maybe the problem would be somewhere in this block.
By the way "For each Trade" is not needed there. You can place "Pass" instead or even connect block 16 to the yellow output of 1
-
RE: Working with market depthposted in Questions & Answers
So this is basically like inside information about how many people are sell and how many are buy? I wonder what is the chance for this information to be real.
I also wonder what kind of value or block can I put in fxDreema. Because I will not make something to draw indicator lines for sure.
There is one problem by the way. MqlBookInfo doesn't exist in MQL4 and I prefer to make blocks and function that can be used in both, MQL4 and MQL5. You know, people tend to copy blocks between projects and it's ugly when something is missing. Which is actually true right now, there are some blocks and their parts that are not the same in MQL4 and MQL5, but I wish to make everything equal and I'm planning to do that. Currently I'm working on a MQL4 to MQL5 converter, so at the end I will know the differences in both languages very well.
Volumes per second. Now to be honest again (and to show that I don't understand markets even more), I have no idea what is the difference between both volume modes in MQL4. There is tick volume and real volume. I can also say that I don't really understand what volumes are and from where they come from
I guess that more volumes means more trading was happening, but in MQL5 are those values even real -
RE: adding to volume 2+posted in Questions & Answers
For totally custom lot sizes I would suggest to try that Betting: Custom Sequence option. It is located below Martingale and other betting systems.
But your sequence looks like part of Grand Martingale. You know, when you double the lot size and then add more amount. The Martingale settings are very flexible, so you can set it to not double the lot size, but only to add fixed amout every time. On loss, on profit, you choose. No need of Variables.
-
RE: is there any support sound here ?posted in Questions & Answers
No one
I am the support team, but I can only write in english. Here in Bulgaria no one speaks in english, including me, so I would sound very very bad. And to be honest, I don't even want to talk to people live, I'm not very communicative 