Set Stop Trailing X

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

    Basic question:

    If you have Set Stop Trailing in your code, do you also use Set Stop loss? The reason I ask this question is in ig platform when you define a trailing stop, you have to define both Stop Distance and Step. In Set Stop Trailing X, is X equivalent to Step?

    #51757 quote
    robertogozzi
    Moderator
    Master

    Yes, it is, but there is no delayed start. It starts immediately to trail.

    You cannot set both Stop Loss and Trailing Stop (despite what documentation says), once PRT detects one of them the previous one is replaced.

    Thar’s why I only use Nicolas’code to trail stops. Its only drawback is that it is executed when the candle closes and by then, in higher TFs, many pips may have passed your settings!

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

Set Stop Trailing X


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Mansoor @mansoor Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
8 years, 4 months ago.

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