% Trailing Stop

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8655 quote
    RGOD
    Participant
    New

    Hi everyone, I’m having issues when getting my system ready for automatic trading, I have selected a %trailing stop but the pro order function gives an error message and says that the trailing stop can only be applied in $ amounts or points. Is there a way to get around this and specify the trailing stop in % ???

    #8663 quote
    Nicolas
    Keymaster
    Master

    Hi RGOD, in % of what? 🙂

    The %TRAILING instruction refer to a trailing stop x percent from average position price. Is this what you want for your trailing stop?

    #8664 quote
    RGOD
    Participant
    New

    Hi Nicolas,

    Yes I wanted to set a %trailing stop of the opening position price and then maintain this trailing % as the position remains open, perhaps stepping up/down when the position moves a set amount. At the moment the error message on PRT just says that it cannot be in % but in currency or point values.

    #8671 quote
    Nicolas
    Keymaster
    Master

    I wrote an article about implementing a trailing stop by code into a trading strategy right here: http://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/

    Of course this one do not deals with percentage of retracement from the average position price. If it’s what you want, I can make a code snippet for it, just ask.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

% Trailing Stop


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
RGOD @rgod Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Nicolas
9 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/02/2016
Status: Active
Attachments: No files
Logo Logo
Loading...