One Buy Per Condition

Forums ProRealTime English forum ProOrder support One Buy Per Condition

Viewing 5 posts - 1 through 5 (of 5 total)
  • #44239

    Hi,

    How can I limit the number of times a trade occurs based on a set of conditions BUT have multiple orders (CumulateOrders= True)

    Example Using a basic Bollinger Band strategy:

    Enter 1 buy when close < BB low. Even if the next candle closes below the BB low it should not enter another buy. Now I only want to enter another buy, ONLY when the close > BB high and retraces to close < BB low

    This will be a total of 2 cumulative buy orders.

    I have attached a visual example to help explain where I am coming from.

     

    Thank you for the help

     

    #44242

    Here you go… 🙂

    1 user thanked author for this post.
    #44279

    Thank you so much! This is exactly what I have been after.

    #44287

    Ops, you surely saw that in the second if-loop it should be “…and close crosses over BBhigh then”. I obviously forgot BBhigh.

    #44330

    Yeah I included that, thanks once again

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

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