Not logged in
Viewing 5 posts - 1 through 5 (of 5 total)
  • #113322 |
    27 Posts

    Friends of the forum and Mark. I would need to implement a strategy with the following Trailing Stop:

    – Just my profit is 4 pips (the stop loss was a 20 pips) the stop loss becomes equal entry point;

    – If I go to gain a new one (1) pip the stop loss (equal entry point) moves 1 pip.
    Thanks for the help.



    27 Posts

    Someone can help me?




    484 Posts

    Its a little unclear to me:

    You want a 1 pip trailing stop loss?
    If its hard to explain, take a screenshot of a chart and use paint and draw on it what you mean.

    Also for future reference- you must be patient on this forum, it is not checked everyday. :)

    Mark Fric
    1182 Posts

    I think I understand. You want to set SL to break even (entry price) once you reach 4 pips profit, and then trail it.


    It is possible to do this using the settings in Enter at Market/Stop/Limit.


    You have to set:

    TS Activation Level to 4 – this will activate trailing stop once you are 4 pips in profit

    Trailing Stop to 4 – once TS is activated it will trail SL by 4 pips

    StrategyQuant architect

    27 Posts

    Hi Mark,

    thanks for your reply: was exactly what i meant. Was easier than i has expected.

    The code works fine.


    Thanks to Threshold, too


    Good staff.


    Many thanks.




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

You must be logged in to reply to this topic.