Close a position after certain time if takeprofit not met

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24134 quote
    robdav
    Participant
    Veteran

    I would like to know if it’s possible to close a position if it’s been open for a certain time and not met the takeprofit target.

    I would also like to know if it’s possible to know if the position is in profit prior to closing it.

    Many thanks

    Robert

    #24139 quote
    Joachim Nilsson
    Participant
    Average

    First question:

    Close a position after 3 hours

     

    Second question:

    Take a look in the pathfinder code. It closes after a certain time if the position is a winner or a looser.

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

Close a position after certain time if takeprofit not met


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
robdav @robdav Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Joachim Nilsson
9 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/06/2017
Status: Active
Attachments: No files
Logo Logo
Loading...