Running Two Instruments at the same time

Forums ProRealTime English forum ProOrder support Running Two Instruments at the same time

Viewing 2 posts - 1 through 2 (of 2 total)
  • #220099

    I’m Running Two instruments at the same time during testing and plan on combining them into one soon. My problem is : I have set DEFPARAM CumulateOrders = False but when I run both instruments on the same pair AUD/USD it creates a buy and sell during the same period so its’ like Hedging .. but if I add the below, will this stop the existing trade as both instruments are opposed one is BUY and one is SELL ? or will it cause issues , or are all instruments treated as unique trades

    If NOT LONGONMARKET or NOT SHORTONMARKET AND c1 and C11 then
    Buy BuyPrice Contract at Market
    Set Target Profit 0.0015
    Set Stop Price Startprice
    Endif

    Thank you

    #220109

    Hedging is not allowed within the same strategy, so if you place two opposite orders at the same time, the latter will always override the other.

    You have two separate systems hedging (like it seems in your pic), as they ignore each other, provided you have set the option FORCE OPEN (with IG).

     

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

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