@fbmengue As others have said this can't be done with fxDreema, but I would add that if you only have the .ex4 I don't think it can be done at all as I think you would have to have the .mq4 file and not the compiled file in order to convert it.
It's a martingale after all. Just put all required conditions before this block and then play with all parameteres untill you find the combination you are looking for (those shown here are the ones included by default). Let me tell, however, that martingales are never a win on the long run. I hope it helps.