And instead of using block 15, the formula can be written directly into the input filed where you normally see the lot size.
Posts made by fxDreema
-
RE: Open new order with new lot size depend on how far loss in pips are!posted in Questions & Answers
-
RE: can i convert file.ex4 to mq4 or edit on file.ex4 ?posted in Questions & Answers
This was possible years ago with some decompilers, when MetaTrader was at version 224. But now I have no idea who can do that.
-
RE: Setting stop loss at previous trade entry levelposted in Questions & Answers
As usual I would recommend to just forget about those hedging strategies. For me, a hedging strategy is very complicated way to do something that can be done in another way (with stops)
-
RE: Close on first profitable openposted in Questions & Answers
I don't really understand the idea here

-
RE: Cannot make Z-Orders workposted in Questions & Answers
Maybe I am wrong. I know what z-order is in the world of websites, but in MQL4 probally means something else. So let's see what they say in the documentation:
https://www.mql5.com/en/docs/constants/objectconstants/enum_object_property#enum_object_property_integerPriority of a graphical object for receiving events of clicking on a chart (CHARTEVENT_CLICK). The default zero value is set when creating an object; the priority can be increased if necessary. When objects are placed one atop another, only one of them with the highest priority will receive the CHARTEVENT_CLICK event.
And how to make one object to appear above another... I don't know really, maybe the name matters
-
RE: Creating EA to buy when price crosses below Bollinger Bandposted in Questions & Answers
I don't know if something is wrong with the project, but I see "Digits count" on the left side of that Condition block. Digits count is a number such as 4 or 5 and it can't be compared with a price value (that comes from the bollinger bands).
Here is more information about the crossover in Condition block: https://fxdreema.com/help/working-with/crossover
-
RE: partial close based on candle size of the pastposted in Questions & Answers
This is the best explanation for what variables are that I know - https://www.youtube.com/watch?v=aeoGGabJhAQ
-
RE: Put a label besides my arrowposted in Questions & Answers
There is another option for the background... if by "background" we mean the place behind the candles. The z-order is more for making some object to appear in front of another object.
-
RE: EA bridge to eToro platformposted in Questions & Answers
You know, I always reject proposals. I just can't work with people and for their projects. I'm doing my little thing the way I feel and this is what I can

-
RE: How to enable variable inputs before to attach EA to chartposted in Questions & Answers
Some of the words that I use in the EA builder do not exactly describe the real thing in the MQL code. Because this tool is primarily for people who don't understand programming anyway
So, back then I added Varibales and they were really global variables in the EA. The word "Variables" sounds good enough, means something that can vary, can be changed. But the input parameters are not supposed to be changed in the EA and in MQL5 any attempt to change them will give you an error actually. So... these are named Constants (Inputs) - there is the word "Inputs" in the name really. Yes, they are inputs and they are not supposed to be changed, so they can also be called constants. -
RE: Binary optionsposted in Questions & Answers
I don't have experience with BO even with one EA. I told you how the EA works - it places the trade by the rules of the BO broker, which means that some information is added to the Comment attrubute of the trade request. MetaTrader is not BO oriented naturally, that's why they are using the Comment as some kind of hack. What happen after that... I don't know, but all the other blocks have the same code as if the EA is made for Forex. Only Buy now/Sell now blocks have small difference (that the trade is sent with special comment)
-
RE: fibonacci price levels change when you have different fib levels on the chartposted in Questions & Answers
what if you make both objects with the same levels count?
-
RE: Bug in blocksposted in Bug Reports
@tcanuto, I am doing something every day
I'm always careful not to break something, but the whole thing is very complex and sometimes problems happen.As usual I hardly understand what you are writing. What is the problem now, is it something in "Close Positions"?
I told you this probably million times. But if you want to show me something, better show me some simple project that contains 2-3 blocks at most, so I can clearly see the problem. I'm lost in these big people's projects. You know your project, but I don't. I need time to first understand how the project works... and I am too lazy to do that unfortunately.
-
RE: My EA Zigzag did not run as I wantposted in Questions & Answers
Well, I'm not a good friend with this indicator. I always need to remind myself how everything works. But if you don't know what exactly happens in that Condition block, put those values in a Trace block, so you can actually see them in realtime and decide how to compare them.
I don't like blocks 9 and 10. Take a look at this: https://fxdreema.com/demo/mt4-wrong-closing-rule
-
RE: Help with money management formulaposted in Questions & Answers
Well, I have this row of code somewhere in the functions:
size=((value/100)*AccountBalance())/(sl*((TickValue/ticksize)*point)*PipValue(symbol))but what is what... hard to explain everything right now. Plus, the lot size would be rounded to the nearest possible, don't expect lot size such as 0.0434
-
RE: The "Adjust" button inputposted in Questions & Answers
I don't really understand the question. A variable name is just a pointer to a value in the RAM that can change. That variable name is the way to reach the actual value. Otherwise, if you just write 1 or 2 or 3, this will be another thing, not the variable itself.
But if you are asking whether or not you can use numbers into the Adjust field - yes, you can.