self updating/refreshing grid, compare two groups of trades
-
It seems I need to convert one of my EA's from mql4 to mql5. What would you suggest to do that. Have I to build the EA block after block from the very beginning?
-
It's possible to do Copy-Paste of blocks, but then you must that everything is fine in them. Some blocks are exactly the same in both MT4 and MT5, but some of them have small differenced.
Also some blocks will appear as abandoned, because their low level names is different, so these must be deleted and then added. This is actually my fault, because I have to align those names... who knows when.
The code behind the blocks is created when building the output EA, it does not come with their plysical appearance. So to copy one block means to copy some data such as position (x and y), it's name from the library, it's parameters and few other stuff. That's why it's possible to copy blocks from MT4 to MT5.
But if you are not forced to use MT5, I will recommend to stick with MT4. MT5 sucks

-
thanks. I better stay with mt4 as long as possible.
Your last (today) changings to the builder made my EA not working (Grid-EA SF full-auto v1.6). My imported backup from my HD is also not working after downloaded again.
-
Not working because of compile error or logically? Because I was updating some stuff and some compile errors appeared, but these are also easy to spot and fix. If there is something else, I must investigate
-
It seems that everything is working again. Thanks.
-
I have a question regarding "On Trade". The blocks which are placed there are executed right after a buy/sell was executed or after all variables are filled with new values and all calculations are done on "On Tick"? I need an execution of blocks after a new trade was placed AND the new avarage price was recalculated.
-
On the next tick
-
It seems the AND blocks in the framed area in my EA "Grid-EA full-auto v1.4" are not working. I have verified that. The other two AND blocks on other location are working correctly. The backup form my HD is working correctly but not if i upload and dowload EA. Could you look over please.
The relevant blocks are: 2238, 2326, 2327. These blocks do not pass when condition is met.
-
You are right, there is a problem. I will try to solve it and until then you can try some workaround - change the numbers of "Set flag..." blocks on the left with something bigger than 2238, 2326, 2327. What happens is that AND blocks now think that these Flag blocks are their parents, only because they run first. Obviously I was not thinking about such scenario at all the lasti time I did some code optimizations, sorry about that
-
Thanks. EA is working correctly again. Copy and paste of the relevant Flags was leading to higher block ID's and solved the problem. I hope you will find a general solution for that issue.
-
If you control blocks by their number, I will suggest to give them names. Their numbers can be names

-
I can do that but what about the parent thing?
-
I reverted some update, I think it's ok now
-
Regarding the Zig Zag Indicator: Could you explain what you do understand about high buy ID and higher high buy ID. What are the differences in context of ID 0 and ID 1. Maybe a screenshot (If I dare to demand that
).What I am looking for is (screenshot): yellow 1 is support in case red 0 was crossed upwards and yellow 2 is support in case red 1 was crossed upwards and so on (the same for a downtrend)
......
GBPUSDH4.png -
I don't really remember
I made this for someone back then. I personally hate this indicator and I don't know why people are using it. But everywhere, when you see ID = 0, this means the current point of something. If it's 1, then this is the previous one on the left side. Just like candles. If you are confised about the word "ID", then think of it as Index or Number or Offset of Shift. -
I know that but what is higher high and lower low?
What about my screenshot and what I am looking for. Do you have a suggestion how the realize that?
-
https://fxdreema.com/shared/hsDOwmgNc
http://prntscr.com/akfomc
http://i.imgur.com/IdrHrCB.pngIf the ID is 0, both are the same. On the picture the ID is 1. And it looks that High (H) is the previous high that is found, while Higher High (HH) appears to be the previous High that is above the current value.
This is moments later - you can see that when the current value reached the yellow line (HH1), a new HH is found that is higher than the current value

http://prntscr.com/akfpyt
http://i.imgur.com/Yfuvwdw.png -
Ok, what I see is that HH = market > H(2), right?
Another issue: I need something like an anchor from witch I would like to count the bars: What I need is the time distance in bars to a specific bar, maybe when macd has got a new high.
-
Only for My Indicators (in Condition) there are extra options to get various values - http://prntscr.com/aktb2i
http://i.imgur.com/Ei8KQel.png
... if this helps.You can also store value in some variable and then use it later. Or put object on the chart and then get it's Time or Price. It depends.
-
Thanks.
The wingdings table from the information about the "draw arrow" block is not visible, error 404 is shown. Could you look over, please.