How to code an EA to close a trade after so many hours

thread: How to code an EA to close a trade after so many hours

  1. #1
    Junior Member Paulmelio's Avatar
    26

    How to code an EA to close a trade after so many hours

    Hi. In my EA I've this code to trade between these and such an hour. I utilize a stoploss and take profit, but would like to add a timestop.I'm trying to add code to close a transaction after so many hours or days the MT4 egy tester could recognize. Is that possible? I would rather ask first if it's possible and then search a solution. If egy tester doesn't recognize it, it'd be useless to me. Thanks for any input. I've searched but can not find anything.

  2. #2
    Hello. Inside my EA I've this code to trade between such and such an hour. I utilize a stoploss and take profit, but would love to add a timestop.I'm attempting to add code to close a transaction after so many hours or days that the MT4 egy tester would recognize. Is that possible? I would rather ask first if it's possible and then search out a solution. If egy tester doesn't recognize it, it'd be worthless to me. Thanks for any input. I've searched but can not find anything.
    Hello rhhince, you'll come across some under this link please attempt may you find one.
    https://www.cliqforex.com/trading-sy...fa-member.html
    Regards,
    Moti

  •