Is it possible to open a trade manually and then have it close automatically?

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

    Basically as per the title.

    I would prefer to open a trade manually, but then keep that trade monitored using prorealtime that would close it automatically based on my parameters. Is this possible at all?

    thanks.

    #226215 quote
    Jean FX
    Moderator
    New

    You can create alerts based on your conditions (indicators, for instance) and link an order to to the alerts when it is triggered.

    #226216 quote
    GraHal
    Participant
    Master

    close it automatically based on my parameters

    You could start an Algo at, for example, 8am and have a Buy Condition as below and also have your exit conditions coded into the Algo.

    If Time > 080000 Then
    Buy at Market
    Endif
    
    ExitCond = a AND b AND c 
    If LongonMarket AND ExitCond Then
    Sell at Market
    Endif

    As soon as the Algo executes the code, a Buy would execute … in the example above, if Algo started running at 8am.

    #226218 quote
    robertogozzi
    Moderator
    Master

    Autotrading is not aware of trades opened manually, so they can’t be dealt with.

    On the contrary, trades opened in autotrading can be modified and closed manually, but in this case the strategy will be stopped immediately, so you will have to take care of those trades yourself (closing, setting a trailing stop etc…), then restart your strategy when needed.

    #226219 quote
    GraHal
    Participant
    Master

    exit conditions coded into the Algo.

    After Exit use QUIT and then repeat the process by starting the Algo again as Roberto says above.

    QUIT

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

Is it possible to open a trade manually and then have it close automatically?


General Trading: Market Analysis & Manual Trading

New Reply
Author
author-avatar
idunnomuch @idunnomuch Participant
Summary

This topic contains 4 replies,
has 4 voices, and was last updated by GraHal
2 years, 1 month ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 01/10/2024
Status: Active
Attachments: No files
Logo Logo
Loading...