How to make the damn thing trade only once per hour?

Forums ProRealTime English forum ProOrder support How to make the damn thing trade only once per hour?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #140696

    Good morning,

    I want the strategy to run in 1 second time frame because I want it to trigger orders as soon as x crosses y.

    However, if x is going back and forth across y every few minutes, I don’t want it to keep trading in and out.

    So for that reason I want the strategy to only trade once per hour.

    How?

    Thanks, Phil

    #140700

    With a condition based on elapsed BARINDEX since the last order for instance:

    In this example you allow to enter the market only if 3600 bars (3600 seconds = 1 hour) have passed since the last order.

    1 user thanked author for this post.
    #140702

    Thank you Nicolas you marvellous Frenchman.

Viewing 3 posts - 1 through 3 (of 3 total)

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