Trailing Stop
Forums › ProRealTime English forum › ProOrder support › Trailing Stop
- This topic has 11 replies, 5 voices, and was last updated 8 years ago by didi.
-
-
03/15/2016 at 7:58 PM #3816
Hello, I have a question … I want to run the following sto / trailing strategy.
Initial Stop: 50 points
Steps for Trailing 2 points … target is 80 pionts
is that correct?…My goal is, if the trade goes in the right direction, the stop is raised in this direction by two points (in long)
Thanks Heinz// Stops und Targets
SET STOP ploss 50
SET STOP pTrailing 2
SET TARGET pPROFIT 8003/16/2016 at 6:56 AM #3820Hello Heinz,
I have attached a copy of the PRT manual. If you go to pp. 9-13, you will find every conceivable stop loss. I would rather you do this than take my word for it as I am not an expert programmer.
You can also go to http://www.prorealcode.com/blog/learning/kinds-trailing-stop-proorder/ on this site, where Nicolas has provided some great insights into the art of building stop losses, the real key to profits.
Let me know how you go.
Best regards,
https://www.prorealtime.com/en/pdf/probacktest.pdf
Mike
03/16/2016 at 7:52 PM #3838Thank you very much …. Mike
03/17/2016 at 11:11 AM #3839Hi Guys,
I have a quick question about trailing stop losses & back tests if anyone can help.
Does anyone happen to know if during a back test on a system that trades using the hourly charts, whether each tick is taken into account during that hour for the trailing stop? Or does the back test just look at the hourly candle itself?
Thanks
Dave
03/17/2016 at 1:41 PM #3855Hi Dave, refer to the URL’s I sent Heinz, above. The answer to your question is that it will depend on the type of trailing stop loss you set. It can be a % of average price, or a number of points or a number of pips. Nicolas’s explanations are far better than I can offer.
Good trading!
Mike
03/17/2016 at 2:24 PM #3866Thanks Mike I’ll have a look again 🙂 Just having a look deeper into the minute trades and it appears that it does indeed use tick by tick during the back tests.
Thank you!
03/17/2016 at 3:26 PM #3877Hallo Dave,
that’s for sure, it will not tick data used to backtest. After Aussag German Hotline, but will soon tick data for backtest are available. If only the question when is soon?
This is a shame, because this is the backtest data really worth nothing.
Since I currently helps only a test on the demo account. But then introduced a lot of time.
Best wishes
Heinz03/17/2016 at 4:08 PM #3889Hello everyone, you are right every conditions are only tested at each new open bar. That’s the reason why backtest and optimization are dealing so fastly when you launch them.
I know that it can introduce some errors into backtest, but be sure that this is something that PRT team are actually working on to make it more “realistic” : the backtest engine will fetch all timeframes below the tested one to see if your stop or trailing conditions were met, as far as I understand how they will do it ..
03/17/2016 at 5:03 PM #3893Ah ok! Thanks for the information Nicolas. That would explain some of frustrations I’m experiencing!
03/18/2016 at 10:38 AM #3932Hello,
Can anyone give me a hint. I’m trying to program following.
This is the target and stop.
I have the code a $ stop and $ target. But I would not put a trailing stop, but the following Stop Description:
1. Stop at erreichenvon 60% of the $ Target … then set the $ stop at 10% of the $ target.
and
2. Stop when reaching 80% of the $ Target …. then set the $ stop at 20% of the $ Target
An example:
Initial Target $ = 100 $ … $ Stop = – $ 80
1. Stop to draw upon reaching 60% of the target = $ 160 bet $ Stop to $ 110 so over cost
2. Stop tighten if reached 80% of target = $ 180 put stop to $ 120
For a code variant as a default, I am very grateful.
Best wishes
Heinz Frühling03/23/2016 at 3:32 PM #4161Hello Heinz Frühling,
Please consider post your entire strategy here to make the whole modifications you ask. It would be much easier to include modifications directly into it, because it needs to put conditions in trade launch, etc.. Thank you.
04/04/2016 at 4:09 PM #4836Hi guys I have also a question about pTailing stops. In my strategy following stop is set: SET STOP pTRAILING 5 could you please tell me if I enter DAX short at 10 000 for example where this stop would be set and how it will be moved if I am in the right direction?
Thanks
-
AuthorPosts
Find exclusive trading pro-tools on