Trailing step and trailing start codon

Forums ProRealTime English forum ProBuilder support Trailing step and trailing start codon

Viewing 2 posts - 1 through 2 (of 2 total)
  • #240395

    Hi can any one help me with a code for trailing  step and trailing start please, I’m struggling to make a code that works .
    thanks Andy .

    #240398

    You can use Nicolas’code from lines 17 t0 56 that you can find at https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/.

    Just append them to your code changing the two values in trailingstart and trailingstep.

    Make sure you are not using the same names for some variables in your code.

    If you search this forum for TRAILING STOP you will find many more topics and lots of code snippets that deal with trailing stops.

     

     

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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