Preferred or Most Effective Trailing Stops – Suggestions Please

Forums ProRealTime English forum ProOrder support Preferred or Most Effective Trailing Stops – Suggestions Please

  • This topic has 7 replies, 3 voices, and was last updated 3 months ago by avatarJS.
Viewing 8 posts - 1 through 8 (of 8 total)
  • #236641

    Loads of Trailing Stop codes are linked here …

    Snippet Link Library

    Would anyone like to share (could be from Library above) a Trailing Stop (TS) Code they have found to be effective (could be Gain increase or Drawdown reduction?) when added to their AutoTrading System(s)?

    A TS code that allows different settings when Long or Short should be very interesting?

    Thank You

     

    #236646

    My favorite is still:

     

    2 users thanked author for this post.
    #236801

    Whats your favorite GraHal?

    #236804

    I haven’t got a favourite (yet! 🙂 ) … apart from you kindly posting your fav TS, it doesn’t look like others have a favourite either as no more posts since yours.

    I have tried TS’s in the past, but most barely improved overall performance and several reduced performance.  I guess it depends on the strategy and exit conditions etc.

    I have an Algo working on 1 hour TF, Exit is a switch of direction, but after seeing Gain increase then fall back again, I thought .. maybe a TS might help here.

    I tried Exit when Close < MA and Close Crosses under MA etc, but that didn’t help much overall either.

    I have about 20 versions of the Algo currently on Demo Live test … some without TS, some with various TS’s and some with MA’s etc … I have these working 1 min TF, one is on 1 sec TF (main strategy is on 1 hour TF).

    I’ll let you know the outcome.

    1 user thanked author for this post.
    #236820
    JS
    #236831

    Thank you JS, forgive the daft question, but what does x represent from your code?

     

    #236834
    JS

    Hi GraHal,

    Sometimes the official instructions/commands of PRT do not work as expected, for example if you use “StrategyProfit” and your system goes directly from “Long” to “Short” or vice versa, then the “StrategyProfit” will not work properly (too late)…
    In such cases, I create my own variable by putting an “x” in front of it (xStrategyProfit) so that I know that this is my own variable…

    1 user thanked author for this post.
    #236837
    JS

    In this case, it would be something like this:

    If BuyCondition then
    Buy 1 contract at Market
    xLongOnMarket=1
    xShortOnMarket=0
    EndIf

    If ShortCondition then
    SellShort 1 contract at Market
    xLongOnMarket=0
    xShortOnMarket=1
    EndIf

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

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