trailing stop step

Forums ProRealTime English forum ProOrder support trailing stop step

This topic contains 3 replies, has 2 voices, and was last updated by avatar robertogozzi 5 months, 1 week ago.

Currently, there are 0 users and 1 guest visiting this topic.
View all attachments

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • #112433

    hi guys,

    I have a simple strategy that trails the position entered into with a trailing stop. instead of activating as soon as the price moves 1 pip in favour, i want it to start once the trade is onside by 10 pips, so the step is 10. then once at breakeven I want the stop to trail the price by a step of 5 points, is this possible? I am a newbie but cant find anything that illustrates this on the forums at present.

     

    currently all i have in my code at present for my stops and targets is below:

     

    #112439

    >> For clarity of messages on ProRealCode’s forums, please use the “insert code PRT” button to separate the text of the code part! Thank you! <<

    #112440

    I suggest not to use the built-in SET STOP pTRAILING instruction, it’s not possible to set a breakeven and the step is 1 and cannot be changed.

    You’d rather resort to coded trailing stop snippet than can be found throughout this forum and mainly here https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/.

    If you have a strategy but don’t know how to add it, then post your code and ask… someone will help you asap.

    #112442

    You can also browse this file to find functions and examples that may help you when coding https://docs.google.com/spreadsheets/d/1rgboqj7sVwsP9ZRhOduOefye48QMWC07jWVXCl-KJPU/edit#gid=0.

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

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