Please help me after my EA run there is two reason the EA reset my lot size in the MT4
-
My EA is martingale strategy, it will add lot on loses till it win, and then the EA will calculate all consecutive loses to be profit by cover all the losses to be profit by wait it go far to the moon or get in trend, but the problem is the EA don't remember my previous lot size and don't remember how many pips that the EA consecutive losses to be cover all the losses after the broker reset the sever or reset the mt4 platform in every Wednesday, or the mt4 version get old need to be download new version and so on, so my mt4 will get turn off or get close in every week and all my ea get reset, so the ea don't remember where are the previously was working, please some one help me how to let the EA remember all what was work even the MT4 get turn off, the ea still remember all what previous working, and remember the latest lot size and consecutive losses in pips, because martingale strategy can't be get reset the lot size and consecutive loses in pips, if it get reset it will losses the money, please some one help me, thank you
-
Martingales are never successful in the long run. I encourage you to find an alternative approach to tradint. Trust me, I trien countless martingales in the past and none of them worked in the long run.
-
@l'andorrà I martingales very small pips just only very small stop loss, and always buy sell at the same price with MM, the market will choose the direction soon and ea cover all the losses, it cover my all losses to be profit every time, because I have mm, the EA still work good for me, but it some time annoying make it loose some money just only because of the ea don't have remember what it was working at when if the ea get close the sever or the mt4 platform get old need to be install new platform or the broker reset the mt4 platform in every Wednesday, so the ea get reset and my lot size also get reset too, is there any way to let the ea remember at the latest work and still going on from the last work so my ea will not start at the initial lot size when if the latest works didn't done yet. thank you


-
What you need is technically possible but its implementation is not easy. You can search for the open trades lot size when the EA is running again on the chart and store that value on a variable. You should use the 'on init' tab to do it. Then create a new structure on the 'on tick' tab by using tha variables' value.
-
@l-andorrà Thank you so much
-
You're welcome.