Setting Trailing stoploss by step of 100

Forums ProRealTime English forum ProOrder support Setting Trailing stoploss by step of 100

Viewing 3 posts - 1 through 3 (of 3 total)
  • #5235

    I am trying to create a line in the code that move the stoploss based on the certain number of points in the direction of trade, for example,
    If long at position price of 100 and the highest price is 200 (i.e. move by 100 points) then set stoploss to 100; if the highest price is 300 then set stoploss to 200. In other words I am trying to trail my stoploss by 100 instead of the default 10 points. Please help

    #5238

    What is the prorealtime code you use to make your trailing stop? Just let us know here what you are exactly using in your code to understand correctly, please 🙂

    #5278

    I am using : SET STOP pTRAILING 100,

    but I see it set to trailing the the price by 100 points with 10 points step. I would like to be able to vary the trailing step ( say trail the the price by 100 points with 100 points step)

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login