How can I raise the Stop Loss over the TRADEPRICE?

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

    Could someone tell me how the Stop Loss can be raised over the TRADEPRICE?
    Let’s imagine initially that we are in a bull market, we have bought some shares and that we have placed a Stop Loss with the order:
    SET STOP LOSS D1
    being D1  the distance from the TRADEPRICE  to where you want to place the Stop Loss level. Obviously, this Stop Loss now is below the TRADEPRICE.
    Let´s suppose now an ideal situation in which the price moves up and moves up and moves up, … and we want to raise the Stop Loss OVER THE TRADEPRICE, with some kind of condition.
    How can I do it? I am not able to work properly with negative numbers in the variable D1
    Thanks in advance

    #99009 quote
    GraHal
    Participant
    Master

    we want to raise the Stop Loss OVER THE TRADEPRICE, with some kind of condition.

    Wouldn’t this then become a Take Profit and so a Limit Order??

    Just for clarification …. we are talking Manual Trading here aren’t we?

    Even if not then above still applies.

    You could try a Trailing Stop, but even this will never end up above the Trade Price.

    EDIT /PS

    If Auto Trading then you could try Vonasi code at Row 138 here

    Snippet Link Library

    #99031 quote
    Nicolas
    Keymaster
    Master

    You are talking about a trailing stop function, there are many around the website and in the link that GraHal has shared.

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

How can I raise the Stop Loss over the TRADEPRICE?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Guillermo @guillermo Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Nicolas
6 years, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/21/2019
Status: Active
Attachments: No files
Logo Logo
Loading...