fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. fiftybillion
    3. Best
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 17
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by fiftybillion

    • RE: Closing trade when candle closes below MA not when it ...

      I added onceperbar filter to allow the EA to only check it at the opening of a new candle but sometimes when the opening candle is below the MA it is closes it self.

      Please take a look at picture.

      The position was opened at A and the EA should hold the position until the candle closes below the MA which is C but somehow the EA closes the position at B where the opening of the candle was below the MA.

      The exist program is written like this.
      if trade is running ---> once per bar ---->condition(when the candle is below MA) ----->close each profitable trade.

      What can I do so the EA don't exit at such location. Thanks

      posted in Questions & Answers
      F
      fiftybillion
    • 1 / 1