double lot size, only if profitable
-
Hello, this is what im trying to do:
1: If initial trade won by X pips, double lot size on next trade.
2: If next trade win/loss revert to initial lot of first trade.
This is what I have, but no success
https://fxdreema.com/shared/qWEswGMFb
Problem is, it doubles even on a positive break even trade.
Any help will be greatly appreciated
-
Hi friend, attached a possible solution: 0_1522868980868_Test_Help.mq4
And the view:
https://fxdreema.com/builder/shared/ijTRYao2c
When creating an EA with customized money management i would always recommend the use of your own variables and switches instead of the built-in processes (at least it is easier to understand for me).
Also beware of the "cross" function of the builder, i would rather use a double condition: if past < and present > ... This works better for crosses in most cases. Hope this works

-
Also be careful with the execution order for the blocks (note that in my example the "if trade" condition has a lower number than the "no trade" condition, it was made this way so they execute in that order).
Also, try to not use convoluted conections for multiple columns (may glitch), always try to use "dead ends" or "two column-one end" as maximum

-
Thank you.