No one reported problems with magic numbers as far as I know. I created one EA to make a pending order, then I started it again with another magic number and everything was fine. I don't know how to replicate your problem, so if you find a ways to easily do that, tell me what can I do to cause the problem and I will fix it 
Posts made by fxDreema
-
RE: Magic Numbers confusionposted in Questions & Answers
-
RE: EA only selling and one day block not workingposted in Questions & Answers
You don't want to use the yellow output of the "Once a day" block

i think you will find out how to to it properly after trying this example: https://fxdreema.com/demo/mt4-once-per-bar
-
RE: Object is visible-invisibleposted in Questions & Answers
Well, this block is not aware that certain object was made by some custom indicator, and how can it be, when those objects have weird names and they are actually very regular objects that could be created by any indicator or EA, or even manually.
I didn't tried it, but I think something like this will work: http://prntscr.com/hmn435
-
RE: Pending Order Issueposted in Questions & Answers
Here is some test EA that I made to see what is going on: https://fxdreema.com/shared/f9R4lpRS
I see no problems now, but if you can make it so it shows wrong results, I will fix it -
RE: Once per bar ...set to 0posted in Questions & Answers
I don't know to be honest. In the beginning this option was not there, but one day I added it. Of course, this option is not the best idea because of the name of the block (which has "Once" in its name), but then I think no one used that option anyway. I will check it.
-
RE: Use another indicator output as inputposted in Questions & Answers
No

(some more text here, so I can post this short answer...)
-
RE: Pending Order Issueposted in Questions & Answers
This candle is 33. The most right candle is 0, the current candle. The first already closed candle is 1 and so on. Start to count from 0

-
RE: Take Profit Using Indicator?posted in Questions & Answers
Well, it depends. In "Buy now" you can set SL to an indicator level at the moment of the creation of the trade. After that the level remains as it is. Or you can check the indicator on every tick and close the trade with "Close trades" for example.
-
RE: Double Trailing Stopposted in Questions & Answers
This block just does what it is supposed to do. When it runs, it works, and it works over any trade (there is a loop inside) that it could find. There is no connection between this block and any other block, its like a black box. So this block doesn't know anything outside its own world. And what it does is to check where is SL compared to the current price, and depending on the settings, to move it.
-
RE: Time filter on pending order?posted in Questions & Answers
Pending orders are real orders that are sent to the broker and they are executed there. Those orders don't have the option for time filters, they only have optional expiration.
-
RE: Learning processposted in Questions & Answers
Something is wrong in your calculations. What do you think is the value in this MAXMIN variable? I see it is the difference between two prices - highest and lowest. If the highest price is 1.3 and the lowest is 1.2, the difference will be 0.1. But then you compare that value with Candle High. Do you think it is correct to compare these values?

By the way here and there in the blocks you can see "price fraction". What I mean by "price fraction" is such kind of value that is a difference between two prices. I don't know how correct is my language in this case

-
RE: Question about "Impulse up/down" blockposted in Questions & Answers
But can you compile the .mq4 file with MetaEditor, is everything with the code correct?
-
RE: EA crash zero divide by money managementposted in Questions & Answers
This MM requires SL to be different than 0, because the lot size is calculated from SL. How can I fix this problem?

-
RE: Why my backtest graph shows D1 candles if I tested the EA with H1?posted in Questions & Answers
I think this is some MetaTrader bug. Try with the classic action - reinstall

-
RE: Can't access forum using iPadposted in Bug Reports
The reason for this is that I decided to show a middle finger to browsers such as IE. I prefer to simplify the process of writing code for the website, because the code itself is already pretty complex for me. So I started using some of the new features in JavaScript - arrow functions and Generators. Those are supported by browsers like Chrome, Firefox, Opera and even Edge, but not IE. I don't know about Safari, because I don't have anything made by Apple.
Techically I can make old browsers to work with some extra scripts, and I did it in the past, but I decided that it's time to move on

The forum itself should work everywhere, because it was not made by me
So, just add "/forum" to the domain name. The forum is like another website by itself. -
RE: How connect between option candle and constants ?posted in Questions & Answers
But what do you want to do? To make it possible to select between Candle Open, Candle Close and all the others from the input parameters of the EA? Technically this is not impossible, but I don't have the enumerations that are needed for this.
That drop down for "Parameter" is a string variable and each position of "Parameter" has some value, but you don't know the value, so you don't know what to write in the Constant (in the input parameter of the EA).
And there is also a reason for why I don't want most of those drop down menus to be used as input parameters for the EA. A little bit hard to explain, but there is a good reason

-
RE: Roght click mouse strange issueposted in Questions & Answers
This one was reported to me. I will fix it soon (have something to do right now).
-
RE: How to Fix Critical Runtime Error 503 in Ontick Functionposted in Questions & Answers
This function PipValue() is so old and I'm so afraid to change anything in it, so that some old commented text can be seen in it

But the function itself works and this "zero divide" thing is correct. I mean, it is a fatal error, but this error basically says that there is some problem with the symbol that should be somehow fixed. Why do you use non existing symbol?