Limit consecutive losses on 1 bar

 

Hello,

 

I would like to ask, is it possible to implement some code to my EA source code, which in human language would sound like this:

if trade losses count > X (5, 10 etc)

then trade on next bar (do not open more trades on current bar)

 

I am using EA creating software to create expert advisors, so my knowledge in mql language is mininal...

 

Thanks in advance, 

 
ForbiSK: I am using EA creating software to create expert advisors, so my knowledge in mql language is mininal...
  1. Your knowledge is not minimal it is non-existent because you couldn't be bothered to learn. Therefor there is no common language for us to communicate.
  2. You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  3. Why aren't you asking your software's forum?
  4. WE HATE EA BUILDER

    even if it created good code, the next problem you have you will have to ask here again. We're not going to code it FOR you - even in pieces.
 
ForbiSK:

Hello,

 

I would like to ask, is it possible to implement some code to my EA source code, which in human language would sound like this:

if trade losses count > X (5, 10 etc)

then trade on next bar (do not open more trades on current bar)

Yes, it is possible.
Reason: