How to put Trailing Stoplosses


  • Hi,

    Can you please explain how to put trailing stoploss? I also have seen some answers that we need to implement our own logic but, I can already see "stoploss" as well as "trailing stoploss" options in the documentation. It means, methods are already created for them but with no documentation.

    Kindly help me understanding trailing stoploss %wise with example.

    Example :

    Put an selling order for share with trailing stoploss of 1%. (If share price falls below 1%, share will be sold and if prices go high, trailing stoploss will increase with prices keeping difference of 1%)

    Thank you.


  • HI @mahasamrat You can write your piece of code where you can dynamically change your sell price or buy price according to your criteria.