Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy with 2 data series

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Strategy with 2 data series

    Hey! I would be grateful if someone could give me a link to a topic that discusses writing a strategy with 2 data series. I need to write a simple script through the strategy builder when a strategy opens one position in instrument 1, if a position is opened in instrument 2. And closes the second series if the position in series 1 is closed ...

    As far as I can see at the moment, the strategy builder does not allow entering the condition "if account position" ...

    P.S. Don't want to unlock the script.

    #2
    Hello Aporshnev,

    Thanks for your post.

    The Strategy Builder can only work with the chart it is attached to regarding order submission. It is unaware of any other positions outside of any that it (the strategy) creates.

    You can add additional instruments data series in the Strategy Builder but you cannot place orders to the added data series in the Strategy Builder.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X