continues to buy after a Stopploss

Forums ProRealTime English forum ProOrder support continues to buy after a Stopploss

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

    Hello. when I’m long and mine makes a stoploss, it continues to buy after it makes a stoploss when a new bar comes. I want it not to buy until it receives a new signal that it will go short. it’s the same when I’m short and want it not to buy again until I’m long stoploss 50 pips

    #225997

    Are you using below at the beginning of your code?

    Defparam CumulateOrders = False

    When set to false, prohibits a code from reinforcing positions and setting multiple orders to enter the market in the same direction.

    1 user thanked author for this post.
    #225998

    thanks for quick reply . I’ll see if I have that code set to false, otherwise I’ll write again

    #225999

    This one will always enter alternate trades:

     

    1 user thanked author for this post.
    #226011

    thank you so much robertogozzi for great ideas as usual 😉

    1 user thanked author for this post.
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