How to halt strategy during high volatility news

Forums ProRealTime English forum General trading discussions How to halt strategy during high volatility news

Viewing 4 posts - 1 through 4 (of 4 total)
  • #9322

    Hey chaps,

     

    Wondering if there’s a way to halt a trading strategy during high impact news, ensure trades are closed prior to it and that the system resumes after a set period of time after this news?

     

    Thanks

    #9323

    Hi,

    Another member (Andres) have posted something relevant to avoid NFP each month:

    But you can also setup yourself the date and hours of any other high impact news in variables and then test their conditions to allow trade or not.

     

    #9324

    Thanks for the incredibly swift response. You’ll have to excuse me, I’m getting to grips, how do you add the code you just produced into the current code? Can it simply be added onto the end of existing?

     

    Thanks

    #9333

    You can add the code anywhere. You then need to add the condition to each If x then y endif order.

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login