Only for Martingale Expert Lovers
-
Hi Folks
I am adding a martingale expert that I was working on. It is a combination of miro1360 and roar magical tutorials. I just thought if at all you have time maybe everyone can contribute and add their advice and build here as-well?.. Good luck!
https://fxdreema.com/shared/RxqAGbGKc -
hello, it looks very nice, I would like you to add the indicator to try and evaluate it.
-
@ladydolares Lets try, share your indicator please
-
@alphaomega There is an indicator in the project you shared. I wanted you to share it
-
@alphaomega I and not well practiced on martingale and have only had a quick look but, I would remove duplicated pink blocks, and separate connected with different settings, I think this will stop the checking of other conditions, hope this helps.

-
@ladydolares there you go... I misunderstood you the first time.. I thought you had an indicator.. lol
0_1638370922611_shved_supply_and_demand_v1.2.mq5 -
@jstap Thank you for your input... Could you be more specific about repeated blocks... which ones? Thank you
-
@alphaomega On the left side of the picture.
-
@jstap I ask you for detail.. you give me a broad spectrum? That blocks are not repeated if you look closely you will find that the blocks are different group no,s.. Please be specific.
-
@alphaomega The block I disconnected on top left is identical to the one next to it, the ones beneath are different so by connecting together it relies on top to be right before the below.
-
@jstap Thank you ..that is a better answer. I am not a coder so please be specific as I am trying to walk in a totally unfamiliar land here. Thank you for understanding
Now for the repeated blocks by which I think you meant For each Buy Position:
The 2 blocks are doing 2 different jobs and so I do not think it can mess with any of the algorithm of the ea.
But you are correct .. You can use one For Each Position block doing that job. I just left it like that because I took it from an example Roar gave us.
Thank you for your input and patience -
@alphaomega The top blocks I would have left removing them just reduces the number but I wouldn't connect with the yellow dot. The lower would stop from passing so I would connect separately.
-
@jstap Please make the blocks as you suggest and then post a picture because I am confused of what you are saying... Thanks in advance
-
@alphaomega I would do it like this, not tested though.

-
@jstap Thanks so much ... I will take the indicator out and then run a few tests with it this way.. Will give you feedback
-
@jstap Ok ... on the first run the following problems occurred:
The first pink block For each trade works out the variables

2nd pink block For each trade works out the mql5 code which is the average of orders

If you remove the first pink block For each trade, like this

you mess with the variables loads and then you get this results.

-
@alphaomega This is likely because the custom block is using data from the modify block to do calculations, try moving modify above custom. It is also possible that the way you had it is how it needs to be.
-
@jstap Good Morning.. I did like you suggested but then the modification of the TP does not calculate.


@alphaomega This is likely because the custom block is using data from the modify block to do calculations, try moving modify above custom. It is also possible that the way you had it is how it needs to be
This is what I have been saying to you at the beginning of the post:: There are no repeated blocks!