Immediate Stop Loss order

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #148525 quote
    DC
    Participant
    New

    I am trying to execute a stop loss and target profit on execution of a trade.

    The stop and target profit order only seem to appear on completion of the entry bar.

    I want to have the stop / target profit in place immediately that is executed on the entry bar if the level is hit in the same bar.

    Thanks

    #148527 quote
    robertogozzi
    Moderator
    Master

    SET TARGET [p]PROFIT and SET STOP [p]LOSS both exit as soon as they are hit, not when the bar closes.

    Code snippets to replace trailing stop DO are executed when a bar closes, instead. You can only use MTF support and a very low TF to try to minimize the effect.

    #148528 quote
    DC
    Participant
    New

    Thanks so much Roberto!!

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

Immediate Stop Loss order


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
DC @dc Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by DC
5 years, 4 months ago.

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