miro1360 help please
-
@miro1360 Hope you are doing well? I need your magic please.
(or any coder out there) 5 years ago Miro did this code and can be found here: https://fxdreema.com/forum/topic/4479/miro1360-help-please?loggedin=true I have changed it to mql5 but it does not work correctly as seen in the example below.
It is suppose to work like this:
Loss = 1 lot, loss =1 lot , loss =1 lot , loss =1 lot , win 1 lot, now we are still in -3 lots; then enter after 1st winning lot with 4 lots if the 4 lots wins we are in +1, if it loses we enter again with 4 lots until we get a wining trade then the following trades will be the size the previous accumulated losses +1. Then reset and start again with original starting lot sizeCan somebody pretty please check what is wrong and rectify? I would greatly appreciate it.
My project: https://fxdreema.com/shared/luSv0n1wc

Thank you in advance -
@alphaomega I'm afraid miro is not here for almost a year so far. All of us miss his wisdom!

-
@l-andorrà I think miro1360 is still around, looking at our progress... maybe he will see the SOS.
-
I think I found the problem: When I converted the mql4 to mql5 the coding part stayed mql4.
This mql5 code works correctly:
https://fxdreema.com/shared/CzVwaUHGb



-
@alphaomega It looks pretty good. Good for you!
