Here is something: https://fxdreema.com/shared/vgsFzPPMb
Also it should be able to print this info once per trade in "on Trade", but I found that I didn't added some options there - http://prntscr.com/iphgat
Posts made by fxDreema
-
RE: Any block to show pips after close?posted in Questions & Answers
-
RE: Check trades count not working properly, allows too many trades with multiple charts openposted in Questions & Answers
Those are the default values. Each block was made by 1 class in the output code and some parameters are set in the constructor, but the values might be changed from the instance of the class - this is somewhere else in the code.
So the problem might be something else.
-
RE: How to close all open orders at 5:00 PM, for example?posted in Questions & Answers
There is also a block "Once a day" that has an option to select certain hour (minute) and since this block is called Once a day, it would pass only one time. But if you never open trades between 17:00 and 17:05, the example above would also work.
-
RE: how i can know orders buy or sell created by people ?posted in Questions & Answers
Who are those people?
-
RE: HTTP request problemposted in Questions & Answers
You must add the domain name somewhere in the options of MetaTrader
-
RE: MT4 to MT5 converterposted in Questions & Answers
I'm not sure if you are talking about this - https://fxdreema.com/converter I made this for other EAs, I don't think there is a need to convert EAs generated with fxDreema and who knows what the results would be. This is something that I made for maybe 2 months, but I don't know how many people are using it and what are their results, because I got probably 1-2 questions about this tool at all. So I think of it as a bata tool, because I never really changed it since I uploaded it, but I also don't see many complains.
MT5 is weird one. Now there is a "hedge" mode, which makes is very similar to MT5. I started a process of rewriting all blocks, so that the code of each block for MQL4 will be exactly the same as the code for MQL5. And not only the code, but also the results that the block would give. This is only for "hedge" mode of course. So I will probably change the word "position" to "trade" in the names of all blocks. Then when you copy blocks from MQL4 to MQL5, the EA should do the same job. Now there are some random differences in the input parameters of the blocks, which means that if you copy blocks from 4 to 5, you better check them all.
If in MT5 you work on the "netting" mode, so only 1 position per symbol is allowed, then there are bigger differences and even the layout of the blocks should probably be different.
-
RE: Off Quotes Errorposted in Questions & Answers
Connect the gray output back to the input of the block. But I don't know how good idea this is

-
RE: how to set up a buy followed by a sell on that buyposted in Questions & Answers
In block 6 you ask "Is there a Buy trade at the moment" and the answer is Yes let's say 25 times... or until that Buy trade gets closed. I don't think I understand what you are trying to do. Normally above "Buy now" or "Sell now" there is "No trade", not "If trade".
-
RE: Partial Closeposted in Questions & Answers
You know, the desktop version is very old. I think I even added some code in that "close (partially)" block. But also I revised the code of many blocks, because I decided to make the code of each block in MQL4 and MQL5 exactly the same. So I think of 2 scenarios - the desktop version is wrong and the web version does it right, or I introduced some bug in the web version with my latest updates.
If you know which block is wrong, can you make a simpler example that shows that the particular block is not working as expected?
-
RE: How to add a custom optimization criteria to the fxDreema code?posted in Questions & Answers
I have no idea, honestly. I never touched this event before and I have no idea how it works.
-
RE: Select Object by Name & Modify Propertiesposted in Bug Reports
I will check this block. I made some updates on many blocks lately, maybe I added some bug... or it was there for a long time

-
RE: How to add a custom optimization criteria to the fxDreema code?posted in Questions & Answers
I never checked what this OnTrade() event does
If the code that is added to is is that simple, you can event paste it in the source code of your EA. -
RE: Partial Closeposted in Questions & Answers
So you say that block 107 runs when it doesn't have to run? Above it block 103 always passes and we can skip it. So, is block 105 right?
-
RE: Condition with comparing with price at the time of running EAposted in Questions & Answers
In "Condition" block you can select Candle ID for most of the stuff, just click on that "More settings".
The price when the EA is attached is not logged, but you can for example define a Variable and set it to the current price in "on Init".
-
RE: Time optimizationposted in Questions & Answers
That Timer event is like a clock, it works independently of the ticks. But it only works in real time. You can try to backtest it, but the results will probably be the same as when you do it in Tick.
-
RE: Source Code Fxdreemaposted in Questions & Answers
Oh, I am doing something only when I'm in mood, I don't know

-
RE: FXDreema Expert Advisors not working since latest updates to code were made.posted in Bug Reports
In that newest project I found out that in the "Once per bar" block you have empty value for "Max. times to pass", which means 0. I don't know how it got to empty value, but it is. I think I updated this block lately, so maybe I removed some check that should turn 0 into 1... but I think that working that way is the good way, because 0 means 0 and this value can be optionally use to disable the block via Variable.
-
RE: optimisation does not appear in MT5posted in Bug Reports
Oh no, this field should never have this checkbox anyway. The bug is that the option somehow appeared there. Don't use it!