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

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #169846 quote
    CrocogotterCrocogotter
    Participant
    New

    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 quote
    GraHalGraHal
    Participant
    Master

    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 quote
    CrocogotterCrocogotter
    Participant
    New

    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 quote
    GraHalGraHal
    Participant
    Master

    Correct … System 2 would still execute a trade?

    Crocogotter thanked this post
    #169886 quote
    CrocogotterCrocogotter
    Participant
    New

    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.

    GraHal thanked this post
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by CrocogotterCrocogotter
5 years, 4 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/16/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...