I want to martingale last closed loss trade
-
Hello Everyone,
Do anybody have a sample of how to martingale lotsize if last trade hits SL, this gonna continue till a take profit got hit. Then start the cycle from initial lot.
So martingale with only one trade at a time -
@forexbob-0 You can try this:

-
@l-andorrà said in I want to martingale last closed loss trade:
@forexbob-0 You can try this:

Hello
First of all I have to say my question is about another subject.
actually is about variable
In a strategy that we have 2 conditions and actually condition no 2 is sort of confirmation to entry the position,after condition 1 if condition 2 is ok we entry the position but sometimes we need to wait until the condition 2 will be ok and then entry the position.
now my EA just run for those positions that have condition 1& 2 at thee same time not another one.
so what should I do & where should I use exactly my variable?
thanks alot -
Then you should use a bool variable (true/false) to confirm the 1st condition is true. Then you need to combine the second condition to be also true if and only if the first one is true. That they d not need to be checked at the exact same time.
-
@l-andorrà said in I want to martingale last closed loss trade:
Then you should use a bool variable (true/false) to confirm the 1st condition is true. Then you need to combine the second condition to be also true if and only if the first one is true. That they d not need to be checked at the exact same time.
thank you
-
You're welcome.