DEFPARAM CumulateOrders = False apply for all strategies?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #120849 quote
    sulimastersulimaster
    Participant
    Average

    Hi

    If I am trading on the same instrument using different trading systems, does this code apply per trading system or will it generally check whether there is already an open position?

    E.g. I have 2 different trading systems on FTSE 100. Both trading systems have this code. Trading system 1 has already opened a long position. If trading system 2 then instructs to open a long position, will the system open another long position as per instructions from trading system 2 or will it reject the order because trading system 1 already has a long position open?

    Thanks

    Sachin

    DEFPARAM CumulateOrders = False
    #120851 quote
    nonethelessnonetheless
    Participant
    Master

    It only applies to the trading system where that command is specified. Separate systems don’t talk to each other.

    sulimaster thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

DEFPARAM CumulateOrders = False apply for all strategies?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
sulimaster @sulimaster Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by nonethelessnonetheless
6 years, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/29/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...