RobertoGozzi Trail – Stops trailing

Forums ProRealTime English forum ProOrder support RobertoGozzi Trail – Stops trailing

Viewing 15 posts - 1 through 15 (of 15 total)
  • #178142

    Hi.
    There are so many great snippets here.
    I use

    RobertoGozzi TS with cumulative orders

    but i need help.
    It starts trailing until in profit but then stops trailing.

    Would it be posible to follow the highest candle (bar position) with X-distance.
    Se my attached picture

    #178146

    Post the values that you used for MyConditions and PositionsSize and the date and time of those candles in your pics.

     

    #178153

    Timefrem 15
    Wallstreet
    Date of picture: Today

    Follow the highest candle with X distance

    #178168

    The last trade was closed last Tuesday and no more trades have been opened since then.

     

     

    #178170

    Se attached

    #178175

    I prefer not to show all my code.
    Do you really need all of it 🙂

    Its just about the trail-funtion?
    Is it possbile to trail with x-distance from highest canlde?

    #178178

    Explain me what your trailing stop should do, from the start to the end of a trade.

    My code was not meant to follow candlesticks. I think it’s better to code a new one.

     

    #178179

    I like a trailing stoploss function that keep a disctance X from highest candle.
    It only trail one way thats up for bulltrade. If the candles goes down it finaly hits the stolploss.

    #178202

    There you go:

    at the beginning the stoploss distance is from CLOSE (the entry price), not from HIGH obviously. From then on it starts following any higher high.

     

     

    1 user thanked author for this post.
    #178213

    Thanks robertogozzi.
    I thoght this would be a great idea för tariling, but backtest proves me wrong 🙁

    #178214

    I prefer not to show all my code.

    Do you really need all of it 🙂

    Its just about the trail-funtion?

    Is it possbile to trail with x-distance from highest canlde?

    murre87   “I prefer not to show all my code”  🙂   That’s all you ask people to do on this site!  Hahahaha   Think you should share it to e fair

    1 user thanked author for this post.
    #178217

    Shame to waste Roberto kindness, so link to above added as Log 304 here

    Snippet Link Library

    I’ll have a go using it later on a few of my Algos. Never  seen much improvement with any trailing stop.

    We could do with a dedicate topic to try and bottom out what TS’s work and with what type of strategy.

     

    2 users thanked author for this post.
    #237908

    Hello everybody,

    May I ask you something please ?

    #237911

    Below is the post above …  easier for readers …

    Hello everybody,

    May I ask you something please ?

    How to code capital protection? For example, if I have an initial capital of €5000, and after a few days I earn €1000,
    I must protect this new capital and put a stop for example at1100. If my new capital subsequently drops to800, I will leave the program.
    Thank you and have a good day.

     

    #237942

    Try this one:

     

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

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