How to code 1 trade per system at a time, multiple independent systems

Forums ProRealTime English forum ProOrder support How to code 1 trade per system at a time, multiple independent systems

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

    At the moment I use “IF NOT LongOnMarket” to ensure only one trade per set-up, but I’d like to operate numerous systems on the same market, and would like them all to be able to execute trades independently of each other. The set-ups would only ever be in the same direction.

    What is the best way to go about coding to achieve this please? Many thanks in advance.

    #169847

    Each System / Algo operates independent of each other.

    So when coding in Algo A you have no need to worry / think about how Algo A affects Algo B or Algo C.

    Hope that helps?

    #169849

    So if System 1 has a trade running, this won’t be detected by the “IF NOT LongOnMarket” bit of code/algo for System 2, and System 2 would still execute a trade?

    Btw, many thanks for the speedy reply.

    #169875

    Correct … System 2 would still execute a trade?

    1 user thanked author for this post.
    #169886

    OK, great, I’ll give it a try, I kinda assumed (and you know what they say about assume) that if a trade was running on a market the “NOT LongOnMarket” would prevent another trade, even from a different system, from executing. Many thanks.

    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