invert an open position, to the opposite direction

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

    Hi,

    I’m looking to find away to invert an open position, to the opposite direction, open, with a strategy.

    Invert position is available on the manual side of the platform, therefore must be codable on the ProOrder Side of the platform,

    Happy Coding šŸ™‚

    #154717 quote
    VonasiVonasi
    Moderator
    Master

    Just send an order for the opposite direction. It is not possible to be long and short at the same time in an auto strategy so a SELLSHORT will reverse a long position and a BUY will reverse a short position.

    UkDownUnder 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

invert an open position, to the opposite direction


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
UkDownUnder @jamescoop Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by VonasiVonasi
5 years, 9 months ago.

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