Set Stop Trailing X

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #51754 quote
    MansoorMansoor
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 robertogozzirobertogozzi
8 years, 10 months ago.

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