How to place Orders with TP1..TP2.. and take Profits in Stages

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #154961 quote
    SeppT
    Participant
    New

    How to place orders with various TP- Levels in v11?

    How to take Profits at various Levels of the Trade in v11? i.e. The Trade has reached a Level and I want to take out 50% Profit with the remaining 50% caring on.

    #154965 quote
    robertogozzi
    Moderator
    Master

    There you go (sell half position after 30 pips gained):

    IF MyLongConditions AND Not OnMarket THEN
       BUY 2 contracts at Market
       SET STOP ...
       SET TARGET .....
    ENDIF
    IF LongOnMarket AND ((close - PositionPrice) > 30 * PipSize) THEN
       SELL 1 contract at Market
    ENDIF
    SeppT thanked this post
    #154969 quote
    Vonasi
    Moderator
    Master

    SeppT  – Your topic has been moved. It is an auto strategy question and not a platform issue.

    Please post your future topics in the correct forum:
    _ ProRealTime Platform Support: only platform related issues.
    _ ProOrder: only strategy topics.
    _ ProBuilder: only indicator topics.
    _ ProScreener: only screener topics
    _ General Discussion: any other topics.
    _ Welcome New Members: for new forum members to introduce themselves.

    #155127 quote
    SeppT
    Participant
    New

    Hi Roberto,

    Tank you for your response and the code. I however won’t to do this on manual trades not as an auto strategy.

    #155130 quote
    GraHal
    Participant
    Master

    Manual trade is even easier surely … Buy 2 then sell 1 ?? 🙂

    #155134 quote
    SeppT
    Participant
    New

    Thanks for your responce. I Figured that much, What Im trying to figure is how to take out 50% at TP1 a further 25% (of the remaining 50%) at TP2… and the rest can run till exit criteria is met.

    #155145 quote
    GraHal
    Participant
    Master

    So in manual trade … Buy 2, sell 1, then sell 0.25 then 0.75 runs until it meets your exit criteria?

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

How to place Orders with TP1..TP2.. and take Profits in Stages


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
SeppT @seppt Participant
Summary

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

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