What is ITM and OTM?
Posts made by fxDreema
-
RE: Help with condition.posted in Questions & Answers
I also write something initially, then when I rewrite it the result is always better

-
RE: Question regarding the "adjust" fieldposted in Questions & Answers
If something like "+10pips" is used, note that this "pips" keyword works because of fxDreema, it's not something from MQL4/5. This keyword is actually replaced with some MQL4/5 code that makes it possible to convert 10 to something like 0.0010. In this code the symbol parameter is used, that symbol that is used just above the Adjust field. So the end result might be 0.010, depending on the symbol that is used.
There is another keyword "%", so you can do "*10%" for example.
"+10 pips" will not work, because in this situation the word "pips" looks like a valid variable, while "+10pips" is normally wrong MQL4/5 code.
Everything else in "Adjust" can be MQL4/5 code.
-
RE: Errors in "Custom Mql4 Code" blockposted in Bug Reports
I think I fixed the first problem. I still can't find problem with Skip ticks, do you have some simple project that can show the problem?
-
RE: Server will be down at 19 Dec (not my fault)posted in Questions & Answers
Just got another message:
=======================================================================================================
Work is starting in about 20 min. Your server will be down for up to 3 hours. -
RE: One Trade Per day - my observationposted in Questions & Answers
By default if you put "Once a day" under "on Tick" on top level, it would pass every day around 00:00, because at this time the EA enters in the new day. But if there is no some time filter around and there is tick data before 06:00, I would not expect this block to pass at 06:00. But if you still believe that there is no time filter anywhere, then there is some problem that must be investigated, because I don't know what is it.
If you think that there is a problem like this, what would help is to leave that EA like that (or make a shared copy and give me the link), so I can see what is going on. I prefer as simple as possible EAs that can show the problem easily

-
RE: CREATING A TRADE ACCORDING TO TREND LINEposted in Questions & Answers
If someone scans all examples in /examples, he will understand fxDreema pretty well... I believe.
But guess what... I was thinking that there are very few examples out there until I counted them the other day. They are almost 50
Who will want to do that... -
RE: IDENTIFY MACD AND RSI DIVERGENCEposted in Questions & Answers
Well, I implemented this looooong time ago when I was thinking "I must add as many features in this builder as I can". But now I don't think that way. I would recommend to use some custom indicator. You can also work with the block, but even I forgot how the hell this block works.
-
RE: Moving Average questionposted in Questions & Answers
Then I guess I don't understand what you want to do
But if you want to compare 2 or 3 values... well, Condition block is mostly used for that. -
RE: Help with condition.posted in Questions & Answers
I think I set the history to contain 15 steps at most, because the database is now huge
But I changed it a little bit, so for example if you connect 2 blocks, this does not produce a new step, instead it writes on the current one. You can always use that check circle in front of each history step, which means that this step will remain in the list (similar to Photoshop). It's also a good idea to save .mq4 files from time to time, just in case 
-
RE: Last tick of the day?posted in Questions & Answers
In MQL4 there are holes in the history data, this is not unexpected. But if some EA works on real, at least then ticks should come. So you can just skip this situation. In fact, if the EA does not receive any ticks from the broker, this probably means that something is wrong anyway - markets are closed, network connection is broken or something else - so even if you force the trades to be closed, it will probably not happen. Because you can always put some blocks under "on Timer" and this event does not care if there are ticks or not. Well, "on Timer" don't work very well in the Tester, if it works at all. But anyway, if with "on Timer" you force the EA to close everything at 08:00 and the markets are closed at that time... then what is the point.
-
RE: Help with compilation errorsposted in Questions & Answers
I'm a little bit lazy now to investgate this problem, but I can tell you how to quicky fix it. In block 9 where the Variable is placed, revert it to the original value, clear the contents and select the Variable again
-
Server will be down at 19 Dec (not my fault)posted in Questions & Answers
I got this message from my hosting:
=======================================================================================================
You are receiving this notification because your service WILL be affected by this maintenance.
DETAILS:
A power distribution unit in the rack is failing needs to be replaced. Your server will be down for the duration of the maintenance.THE MAINTENANCE IS SCHEDULED AS FOLLOWS:
Start Time: Dec 19, 2016 - 8:00AM PST
End Time: Dec 19, 2016 - 11:00AM PST (3 hours)We do not expect the work to take 3 hours, but we are scheduling the work for this long just in case we encounter unexpected issues. I apologize in advance for any inconvenience this may cause.
-
RE: Moving Average questionposted in Questions & Answers
Somwehere in the past the picture looked like this: http://prntscr.com/dkdhqq If you were able to recognize at that time that the next candle will be green one with exactly this size and proportions, then you can become rich in no time

-
RE: Working with market depthposted in Questions & Answers
You know, I personally don't understand that market depth and I don't know how it works. Basically you can use any native MQL4/5 function pretty much in every block, in almost all input fields you can see (well, each of them has certain data type).
But better show me what you are doing, because there are many reasons for something to not work
-
RE: Last tick of the day?posted in Questions & Answers
For Candle ID use positive values. 1 instead of -1. Candle's Close time at Candle ID = 1 should be the last data available
-
RE: Help with condition.posted in Questions & Answers
What do you mean you lost the project? I'm aware that sometimes all blocks become black and I still don't know why that happens, but if such thing happens, you can click on History and move 1 step up where everything should be fine. Well, if you hit "Delete", then it's a little bit harder to restore it

-
RE: One Trade Per day - my observationposted in Questions & Answers
This block has time settings inside which are disabled by default. Maybe you set them at 06:00