SET STOP LOSS AT A PRICE

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #66648 quote
    Alberto Lucchese
    Participant
    Average

    Hi,

    Is there a way to set the stop loss at an specific price? as far as i understand the only options are relative to the price (in points or units) or at a $ loss or at a % loss.

    For example i want to set the stop loss below the previous low, do it need to calculate the points/units fromt he entry to the low to set it?

    #66649 quote
    Nicolas
    Keymaster
    Master

    For example i want to set the stop loss below the previous low, do it need to calculate the points/units fromt he entry to the low to set it?

    Yes, with

    if buycondition then 
     buy at market 
     set stop loss close-low[1]
    endif

    or use a pending order to sell a buy a condition, for instance:

    if buycondition then 
     buy at market 
     selllevel = low[1]
    endif
    
    if longonmarket then 
     sell at selllevel stop 
    endif
    Alberto Lucchese, Sébi and Nicolas56 thanked this post
    #66656 quote
    Alberto Lucchese
    Participant
    Average

    Thank you!

    #79479 quote
    joobeng
    Participant
    New

    Hi Nicolas,

    Say we have an existing BUY open position which we entered into manually, then we manage the trade using SuperTrend indicator or some methods.

    Can we apply the Strategies on the chart with an existing BUY open position, to manage or trail it ?

    selllevel = Supertrend[3,10]
    if longonmarket then
    sell at selllevel stop
    endif

    Will the above work ?

    Thanks

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

SET STOP LOSS AT A PRICE


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by joobeng
7 years, 6 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/29/2018
Status: Active
Attachments: No files
Logo Logo
Loading...