Yer, there is something wrong for Sells, but I will look at this tomorrow, because it's such a weird stuff in MT5...
Posts made by fxDreema
-
RE: bug on buy/sell order MT5posted in Bug Reports
-
RE: Partial closeposted in Questions & Answers
Closes an opened order** by another opposite opened order**.
This is some way of combining 2 orders into 1. You can do this manually and you can combine few orders into 1. But in the EA only 2 can be turned to 1. I was thinking where can I use this functionality, but I don't know. In what situation you want to do that partial close?
-
RE: WHAT IS IMPORT FOR? BEER?posted in Questions & Answers
Every time when you export .mq4/.mq5 file, compressed copy of the project is appended at the end of the file. Then this file can be imported back into fxDreema. So, .mq4/.mq5 files are some sotr of backup files or they are used to transfer projects.
-
RE: What am I doing wrong?posted in Questions & Answers
It looks normal on the left side. At some point RSI must be under 45. Note that it's different id "Once a day" is before or after the Condition!
Make sure that these blocks are under "on Tick". If you want to know when/if some block passes, connect "Draw Arrow" or something similar to it (I normally use this block)
-
RE: Save Formula Result As Variableposted in Questions & Answers
So you are on the desktop version... Well, this one is old and I'm not even sure if I am gonna make update of it. But for this it's a little bit easier - just write some name for the result. Global variable will be created out of it. Then in other blocks you can write it's name, as is.
-
RE: Too much Warning!posted in Bug Reports
Bool vs Int - this should work fine, even without warnings. 0 is false and 1 is true. Only when you start to mix floating numbers, strings or some exotics you can expect issues

-
RE: Newbie with a very simple question, please help?posted in Questions & Answers
Try something like this - http://prntscr.com/aegavf But this value of 45... what kind of symbol is this. If you mean pips, then do +45pips or +0.0045
-
RE: Save Formula Result As Variableposted in Questions & Answers
What "Formula" does is to make very simple calculation and save the result of that calculation in a Variable (that you must put there in the block)
-
RE: NOTHING working on .EX5posted in Questions & Answers
Fixed. It was some while loop that never ends.
But now tell me something:
http://prntscr.com/ae4p85
http://i.imgur.com/P8zWbMI.pngBetween these two bars there are few days. I am searching for the Candle ID at 00:00 and it doesn't exists. So which one of these two is more correct? Candle 0 or Candle 1?
If Candle 0, then this is the current candle and it's Candle Close value changes. So we want to get Close at 00:00, but instead we are getting Close of the current candle, which also changes all the time...What is more sad is that candles from this black hole doesn't exists in lower or higher timeframes, so from where can we get the value we want?
-
RE: Trade depending the last candleposted in Questions & Answers
I don't know what you want to get, but this is the Group number if I am not wrong, and this number should be always 0, unless you want to be something different
-
RE: NOTHING working on .EX5posted in Questions & Answers
There was a problem in Break Even, I fixed it.
I checked "Set market for next blocks" before in a simpler project and it worked for me. I will have to test your EA more, I still don't get what is it's problem...
-
RE: Stop Loss - Dynamic Level (Price Input)posted in Questions & Answers
Maybe there is slippage and the open price is changed on the server? Or minimum limit where SL can be put. Are there other messages in the log?
-
RE: How to work with Variablesposted in Questions & Answers
Here in these blocks few of the ways are shown - https://fxdreema.com/demo/mt4-variables I personally prefer the way in block 2 "Pass".
Also this block "Formula" does simple math, but remember - do not use the option "Terminal Variables", use Value -> Numeric in "Condition" -
RE: Turing Off EA after set $/Pips madeposted in Questions & Answers
Instead of "Terminal Variables", go to "Value -> Numeric" and put variables there. Very similar to "Label 1" in block 4 here - https://fxdreema.com/demo/mt4-variables
-
RE: Trade depending the last candleposted in Questions & Answers
https://fxdreema.com/shared/4b7FgPh3c
In block 6 keep "Not more than N trades" to 1. Play with "Skip N trades" for example and you will get the idea. "Condition" is on the right and it can be used as well, but for the example I prefer to use "Comment", because it can actually show the values on the chart.
-
RE: Trailing Stop at Only Order.posted in Questions & Answers
I feel that this description is not enough

1 buy and 1 sell is ok, but are these 2 random trades out of all 6, or specific ones. And then TS is working for which trades - for these 2, for other 4 or for all 6